Floating Point Exception on a Small Toy Graph
aishwaryanr opened this issue · 1 comments
aishwaryanr commented
I'm trying to test ParMETIS on a small toy graph that looks like this:
graph_nodes.txt:
0 1 0 0
0 1 0 1
0 1 0 2
1 0 1 0
1 0 1 1
1 0 1 2
1 0 1 3
graph_edges.txt:
0 1 0 0
1 2 1 0
0 2 2 0
0 3 3 0
graph_stats.txt:
7 4 2
I then run parmetis using:
pm_dglpart graph 1
I keep getting a floating point exception error
Signal: Floating point exception (8) Signal code: Integer divide-by-zero (1)
Am I doing something wrong?
renaultJB commented
In your toy graph you have isolated vertices, maybe it has something to do with that?