Open hannyin opened 1 year ago
Hi, I wonder if your issue with BFS has a common cause with the one I'm having in #408. Could you try BFS on a small test graph as well as use the Serial implementation from the lonestar/analytics/cpu
folder? Maybe there's a critical bug in the parallel processing or we are both doing some setup wrong...
(By the way, I also had the same void type issue in my case, but it didn't matter for connected components if I used int32.)
hello, I use the graph-convert tool to convert a mtx file to gr, the graph is unwighted and undirected. So I executed this command:
I don't know why. if i set the
./graph-convert --mtx2gr --edgeType=void ~/ywh/data/AGATHA_2015/AGATHA_2015.mtx ~/ywh/data/AGATHA_2015/AGATHA_2015.gr
but I got an error like this:ERROR: /home/share/CGCL/home/guoyl/ywh/Galois/tools/graph-convert/graph-convert.cpp:238: conversion undefined for void graphs
there is the full output:edgeType=int32
, it will work. But i don't know whether it will work in bfs or sssp correctly.Actually, I also got an unexpected result when executed bfs. I executed bfs with above data but set
edgeType=int32
. And because the graph is symmetric so I used this command:GALOIS_DO_NOT_BIND_THREADS=1 mpirun --bind-to none -n 4 ./bfs-push-dist ~/ywh/data/AGATHA_2015/AGATHA_2015.gr -t=1 -num_nodes=1 -pset="gggg" -partition=oec --output=true --outputLocation="." --startNode=1 --symmetricGraph=true
I don't know whether--symmetricGraph
is needed to set true, but I got the same result when just set--symmetricGraph
without=true
. there is part of the whole result:and this is part of the graph data:
I know the node index 1 is mapped to index 0, so the
--startNode=1
is begin with node 2 of the graph data. But if I set--startNode=0
, all result will be 1073741823 excepted node 0. Obviously the result is incorrect, maybe the--symmetricGraph
is useless or I did something wrong? Or because I set--edgeType=void
?thanks