Correctly activate the feedback task over the network.
Fixes #561 (closed).
@lhausammann and @aborissov can you confirm that this works?
Merge request reports
Activity
Unfortunately it doesn't seem to work for me. I tried merging this into my branch and now I don't get the correct evolution even without mpi. Also, non-mpi and mpi evolution are not the same.
The mpi was run with the same setup, only changing the batch script to run with two ranks.
Edited by Alexei Borissov./configure --with-stars=EAGLE --with-chemistry=EAGLE -disable-doxygen-doc --disable-hand-vec --enable-debug=yes --enable-debugging-checks --enable-debug-interactions-stars --enable-optimization=no
I ran the stellar evolution example with ../swift --threads=16 --feedback --external-gravity --stars --hydro stellar_evolution.yml
(for mpi run used swift_mpi and 2 ranks)
I've pushed what I had in my branch to gitlab, there were some changes to the IACT_STARS function calls I had to make in runner_doiact_stars.h because I added more parameters to the eagle feedback functions. I don't think this would impact the changes you made in any way though.
added 1 commit
- d705ed96 - Do not forget to activate the self-feedback task in the unskipping MPI case.
@aborissov could you try this updated version?
Ok, now I do get the same result between mpi and non-mpi runs. However in both cases it looks like the non-mpi plot above (i.e. the swift result doesn't agree with what we expect based on the standalone test). I'll double check if I'm running something different from what I thought I was running, or if something changed within the feedback functions
Ok. Looks like the issue is in the sorted interactions. @aborissov reports that when using
--enable-naive-interactions-stars
everything is fine. That would mean the issue is not MPI related but rather internal to the PAIR task.I'll merge this and open another issue to discuss the sorting problem.
mentioned in commit 177e1231
mentioned in issue #563 (closed)