Medusa icon indicating copy to clipboard operation
Medusa copied to clipboard

BFS seems to have an error.Please help!

Open CinderaLuo opened this issue 11 years ago • 3 comments

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.

CinderaLuo avatar Sep 24 '15 07:09 CinderaLuo

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.

kongfujianlong avatar Sep 24 '15 14:09 kongfujianlong

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?

CinderaLuo avatar Oct 29 '15 12:10 CinderaLuo

The current PG implementation uses a fixed number of iterations. You can easily change to use the maximum difference as termination condition.

kongfujianlong avatar Oct 29 '15 19:10 kongfujianlong