Commit 21d1dd6a authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Allow the code to run with stars over MPI but prevent the usage of feedback.

parent 3559b7e5
......@@ -3596,7 +3596,8 @@ void engine_maketasks(struct engine *e) {
clocks_from_ticks(getticks() - tic2), clocks_getunit());
#ifdef WITH_MPI
if (e->policy & engine_policy_stars) error("Cannot run stars with MPI");
if (e->policy & engine_policy_feedback)
error("Cannot run stellar feedback with MPI (yet).");
/* Add the communication tasks if MPI is being used. */
if (e->policy & engine_policy_mpi) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment