SWIFTSIM / swiftsimio

Python library for reading SWIFT data. Uses unyt and h5py.
GNU Lesser General Public License v3.0
15 stars 12 forks source link

`RuntimeError: Unexpected state, please report this error on github.` #149

Open mladenivkovic opened 1 year ago

mladenivkovic commented 1 year ago
$ ./rt_sanity_checks-GEAR.py 
checking essentials
Traceback (most recent call last):
  File "./rt_sanity_checks-GEAR.py", line 376, in <module>
    main()
  File "./rt_sanity_checks-GEAR.py", line 369, in main
    check_essentials(snapdata, rundata)
  File "./rt_sanity_checks-GEAR.py", line 146, in check_essentials
    fishy = groupfluxnorm > max_fluxes
  File "/home/mivkov/local/swiftsimio/swiftsimio/objects.py", line 1037, in __array_ufunc__
    ret_cf = self._cosmo_factor_ufunc_registry[ufunc](*cfs, inputs=inputs)
  File "/home/mivkov/local/swiftsimio/swiftsimio/objects.py", line 356, in _comparison_cosmo_factor
    return _return_without_cosmo_factor(
  File "/home/mivkov/local/swiftsimio/swiftsimio/objects.py", line 297, in _return_without_cosmo_factor
    raise RuntimeError("Unexpected state, please report this error on github.")
RuntimeError: Unexpected state, please report this error on github.

Problem is reproducible for the examples/RadiativeTransferTests/UniformBox_3D test example when running rt_sanity_checks-GEAR.py (this script is not automatically called by run.sh)

To run that example, you'd need to configure with --with-rt=GEAR_3 --with-rt-riemann-solver=GLF --with-hydro-dimension=3 --with-hydro=gizmo-mfv --with-riemann-solver=hllc --with-stars=basic --with-feedback=none

MatthieuSchaller commented 1 year ago

Is that still an issue?

MatthieuSchaller commented 10 months ago

@mladenivkovic is that still a problem?