Closed sbailey closed 2 years ago
Please see #57 for a solution to this (except for why the fit is failing in the first place, which others may be in a better position to investigate than I am). It turns out that #54 did not actually fix this problem when it came up last time, because the test I did failed to include the catching of the "fatal error" exception (in fit_psf
) the prevented it from being caught . See #53 for more details in the full context.
fixed in #57 (still writes per-bundle output files, but provides the hooks to not do the merge to the final file)
This command generates two "FATAL ERROR" messages and writes bundles 00 and 03 with 3x3 PSFs instead of 8x5 PSFs, before failing upon merging:
in the logfile:
Several problems / mysteries:
desispec.scripts.specex.main
had raised an exception (see https://github.com/desihub/desispec/blob/master/py/desispec/scripts/specex.py#L320-L327)desi_compute_psf_mpi
on Haswell or KNL at various OMP_NUM_THREADS settings; I have not tried rerunning the full PSF from the beginning with the desi_proc wrapper.@marcelo-alvarez