KarlsruheGraphGeneration / KaGen

KaGen: Communication-free Massively Distributed Graph Generators
Other
35 stars 12 forks source link

csr fix for loading metis files #23

Closed gzeit closed 1 year ago

gzeit commented 1 year ago

This fixes a bug that occured when using kagen as a library and reading metis files (GenerateFromOptionString) with CSR representation. The resulting graphs xadj and adjncy were empty.

Example: KaGen gen(MPI_COMM_WORLD); gen.UseCSRRepresentation(); KaGenResult graph = gen.GenerateFromOptionString("static;filename=\<filepath>;input_format=metis;distribution=balance-vertices");

DanielSeemaier commented 1 year ago

Thanks!