Closed jchelly closed 4 years ago
I will update this by having the check later in the code.
@jchelly, I have a branch https://github.com/pelahi/VELOCIraptor-STF/tree/update/nomasscheck, which has a check when compiled with NOMASS that occurs after data is loaded (from swift or from hd5/gadget inputs). Please let me know if you are happy with this update. If so, I will merge with development (and then master).
That has fixed the problem on the Eagle HDF5 snapshot I was trying to run on.
If the velociraptor development branch is compiled with -DNO_MASS it insists on having the Mass_value parameter in the config file even when it should be getting the mass value from elsewhere (e.g. read from a HDF5 snapshot or passed in from Swift).
Runs which previously worked with master now abort with
Maybe this could be fixed by doing the opt.MassValue<=0 test later, once the particle mass is known.