Subtask speedup
Merge request reports
Activity
added enhancement performance scaling labels
@jkeger I have made some more changes to the branch attempting to speed up large gradients. Could you remind me what was going wrong in your case with the last version we tried so it can be addressed?
- Resolved by Matthieu Schaller
./autogen.sh
then./configure --blabla
- Resolved by Matthieu Schaller
Right, running the
Planetary/EarthImpact/
example with./configure --with-hydro=planetary --with-equation-of-state=planetary --with-gravity=basic --with-tbbmalloc --with-parmetis --enable-ipo --enable-hydro-density-checks=100
after a few minutes crashes at ~5.2 ks (shortly after the impact debris starts getting sprayed out), withhydro.c:hydro_exact_density_check():423: N_ngb difference larger than the allowed tolerance for 1 gas particles! (out of 1168 particles)
added 1 commit
- 1de1dc9e - Enable hydro density checks for the planetary scheme
added 1 commit
- 5e6d921a - Escape checking whether N_ngb is correct when the particle's h is too close to h_max
I have fixed a bug that must have been in the hydro calculation forever, not just in this branch. When a particle needs to redo iterations to fix its h, we were escaping particles at a distance of 0.
Now, for well-behaved hydro schemes that should never happen. Turns out, it does relatively often in this planetary scenario.
I am now able to run the EarthImpact case with checks switched on to completion.
mentioned in issue #687 (closed)
added 1 commit
- 479b944e - Also stop checking whether N_ngb is correct for particles that have reached...
added 1 commit
- e60ffcbc - Report on startup that the code is compiled with exact stars density checks