Cannot restart isolated galaxy example
Something seems to be broken when trying to restart SWIFT for running the isolated galaxy example.
As a minimal (hopefully reproducible) example, I use the IsolatedGalaxy/IsolatedGalaxy_feedback
example and add the following lines to the isolated_galaxy.yml
file:
Restarts:
delta_hours: 0.03
max_run_time: 0.08
onexit: 1
resubmit_on_exit: 0
When I then run ./run.sh
, the simulation times out after the ~56th snapshot, produces the restart file and seems to finish everything properly. Trying to restart the simulations by adding the --restart
flag to the swift call in run.sh
crashes immediately without any information on what was going wrong.
The (larger) runs that I had submitted to the queue gave the following error message:
/var/slurm/slurmd/job5243086/slurm_script: line 14: 33991 Segmentation fault ./swift --threads=28 --external-gravity --self-gravity --stars --star-formation --cooling --temperature --hydro --feedback --limiter --sync --restart isolated_galaxy.yml
which is also not telling me much. Anyone knows what is going on?