-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gasoline and Anarchy-PU crashing with additional physics #23
Comments
Hi Filip, That is the ultimate symptom of a run where some particle got an invalid position; probably after receiving an invalid acceleration. I don't know where the problem originates exactly, but I would think that some of the subgrid schemes may not be coupled properly to these hydro schemes. You could try configuring with Sorry I don't have a direct solution but hopefully more diagnostics will help. |
Hi Matthieu, Thanks for the reply! Earlier I tried restarting with some of the physics turned off (external gravity, self-gravity, no boundary particles), the issue still popped up. I'll run with |
Any news on this? Is it still an issue? |
I ended up having problems running with debugging all the way to 100 Myr (where the error happens). When I start with debugging from the beginning, I get unrelated error messages during the launching of the jets. This happens with sphenix too. I recently changed the setup slightly for unrelated reasons. I'm running with gasoline/anarchy_pu in the updated setup. This is now hydrodynamics with temperature (no cooling) and external gravity (nfw), no other physics. I'll post the errors if I get them. Edit: anarchy_pu now runs up until 500 Myr, at which point a single particle starts demanding successively smaller time steps (down to the smallest, 1e-14 Gyr). Not sure what's up with that. I noticed that happening earlier as well, but choosing a smaller grid in the scheduler portion of the parameter file seemed to help. This now happens with 12x12x12 top-level cells. Gasoline runs until 150 Myr and fails then with a segmentation fault. Running with debugging, sanitizer and -e from the beginning ends with a floating point exception right from the beginning:
This makes me think it's to do with the initial conditions, perhaps a particle too close to the centre of the potential. However, I made sure that the one exactly at (0,0,0) is not present. |
Made some changes to setup again. Gasoline now complains during the jet launching phase, so this may be more related to issues with the physics I added. The specific error I get is |
That would indicate an issue with the time-step limiter not working properly on the particle you added. Which, if true, would likely lead to issues down the line. Now.. that should not depend on the hydro flavour as the limiter is the same in all hydro schemes. |
Okay, that must mean I am doing something else in Gasoline in terms of the limiter, because anarchy_pu, sphenix and (to be checked) minimal sph all run fine. Will check that out. Edit: Oddly enough, the code is identical for gasoline and other ones. In particular, I call |
Hi SWIFT team,
I have been attempting some simulations using the Gasoline and Anarchy-PU hydro schemes. The setup is a spherically symmetric gas halo initially in hydrostatic equilibrium, using an external NFW potential. I have tested the setup with SPHENIX very well at this point across different resolution levels, up to 3 Gyr. Gasoline/Anarchy-PU both crash at around 100 Myr. I don't remember the exact error I got with Anarchy-PU, but this is what I get with gasoline:
The run command is
mpirun -np 8 /cosma/home/durham/dc-husk1/SWIFT_SPH/swiftsim/examples/swift_mpi --external-gravity --self-gravity --hydro --temperature --threads=14 --limiter --sync --pin params.yml
This is with 4 nodes of cosma7, I have attempted both non-MPI and cosma6, I get errors regardless. The configure option is
--with-cooling=COLIBRE --with-chemistry=EAGLE --enable-boundary-particles=10000000 --with-hydro=gasoline --with-gravity=with-multi-softening --with-tracers=EAGLE --with-ext-potential=nfw
The paramater file contains the following:
I have tried using debug, debugging checks and sanitizer, these didn't yield any additional error-related info that I could see. I am running with these again and will share the new code outputs if you think that will help.
Thanks for the help in advance!
Edit: Here's the output with debugging turned on.
The text was updated successfully, but these errors were encountered: