BFS seems to have an error.Please help!
I use the several datasets downloaded at https://code.google.com/p/medusa-gpu/. The total steps of BFS algorithm is 1 no matter what kind of datasets I use.There is seems wrong . And I use the command "./test 1 1 ../dataset/random.1mv.16me text.txt" to run BFS alogrithm in MedusaTemplate/MBFS. My cuda version is 5.5,and cudpp is 2.0. Am I missing something?Please help.
Medusa is not tested under 5.5 and is not guaranteed to work under 5.5. However, I currently do not have time to upgrade it. Regarding your error, the datasets you downloaded is tested and manually verified when I did the experiments. I suggest you do some debugging to see (1) if the kernel is really called; (2) if the data loading has any problem. Thanks.
Your iteration step of pagerank is set as 100,and you do not use the tolerance of PR to make the execution done. Am I right?
The current PG implementation uses a fixed number of iterations. You can easily change to use the maximum difference as termination condition.