distributed_graph.num_vertices() returns 0

User 374 | 6/18/2014, 2:33:56 PM

Hi, I'm new to the GraphLab, and I'm trying to run the "webpage" graph example given in the tutorial. (http://docs.graphlab.org/usinggraphlabdistributedgraphloaddata.html) The example is running in a single machine of ubuntu. I used the provided "lineparser" in the example to add vertex and edges into the distributedgraph object, and after loading, I called the "finalize()" method. Afterwards, I called the "graph.numvertices()" and "graph.numedges()", and these two methods always return 0. I'm pretty sure there are nodes and edges added into the graph, so could anyone here please give me some hints about this issue.

Many thanks.

No Comments