METIS-input file format error

第一种报错:
n the first line of the file, you specified that the graph contained
63 edges. However, I only found 51 edges in the file.
Please specify the correct number of edges in the first line of the file.
原因分析:
The numbering of the vertices starts from 1 and not from 0.
参考:
http://glaros.dtc.umn.edu/gkhome/node/760
一些有用信息:
http://glaros.dtc.umn.edu/gkhome/node/422
METIS-input file format error

http://glaros.dtc.umn.edu/gkhome/node/567
METIS-input file format error

第二种报错:
Premature end of input file while reading vertex 1.
原因分析:换行问题
参考:
http://glaros.dtc.umn.edu/gkhome/node/825

第三种报错:
Edge 6 for vertex 4 is out of bounds
原因分析:
中间不允许越点,即点数应该是连续的。
参考:
https://blog.****.net/cloudeagle_bupt/article/details/48542557