[PowerGraph] How to choose different ingress method and verify the chosen method is used?

User 2150 | 9/27/2015, 9:16:57 AM

I think using --graph_opts="ingress=[partition_method]" should choose ingress method such as random, oblivious. However, I noticed that the ingress method in the output is alway grid.

For example, if I use command ./MyProgram --graphopts="ingress=oblivious", I get the output like this "INFO: distributedgraph.hpp(setingressmethod:3201): Automatically determine ingress method: grid". I don't think the oblivious method is used.

It would be appreciated if anyone can give some hint on how to choose different ingress method and verify the chosen method is used. Thanks in advance!

Comments

User 1592 | 9/28/2015, 10:55:40 AM

Hi My only suspicion is that you are not calling the command line option parsing correctly at your program... Can you try one of our programs, for example pagerank with the graph_opts command line flag and let us know if it works for you.


User 2150 | 9/28/2015, 8:23:12 PM

Thanks, I followed the example and parsed the command line option, then it worked.