gunrock / graphblast

High-Performance Linear Algebra-based Graph Primitives on GPUs
Apache License 2.0
209 stars 27 forks source link

Segmentation fault (core dumped) & Could not process Matrix Market banner. #7

Closed Pogozhelskaya closed 3 years ago

Pogozhelskaya commented 4 years ago

Is it okay that all examples fail on graphs small/test_spgemm.mtx and small/test_sgm.mtx?

ctcyang commented 4 years ago

It's fine for it to fail on small/test_spgemm.mtx, because it's not a correctly formatted .mtx file.

For small/test_sgm.mtx which is a correctly formatted .mtx file, the interaction between GRB_UTIL_REMOVE_SELFLOOP=1, which removes all edges e(i,j) i=j and the .mtx file only having such edges results in reading in 3 arrays row_indices, col_indices and values with size 0. This is then handled poorly by the Matrix::build method. Will be fixed.

ctcyang commented 4 years ago

This issue was fixed with 1a05255.