pelahi / VELOCIraptor-STF

Galaxy/(sub)Halo finder for N-body simulations
MIT License
19 stars 26 forks source link

Bug when Write_group_array_file=1? #90

Open stuartmcalpine opened 4 years ago

stuartmcalpine commented 4 years ago

When Write_group_array_file=1 the function MPICollectFOF is called, which uses mpi_indexlist in the file mpiroutines.cxx which I think has become redundant? (it's no longer initialised in tipsyio.cxx).

I get a segfault trying to access mpi_indexlist

pelahi commented 4 years ago

Ah, left over from storing the input index in a file. I can trivial fix this to just collect all group ids into an array that is in id order (at not as it was previously was in input file index order). I will update this, unless input file index order of the array is really desired.