From 21d1dd6ab7666e4de865f6ae4ca80dc069fca968 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Wed, 26 Sep 2018 10:41:26 +0100 Subject: [PATCH] Allow the code to run with stars over MPI but prevent the usage of feedback. --- src/engine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine.c b/src/engine.c index 43047761ba..18818d05fb 100644 --- a/src/engine.c +++ b/src/engine.c @@ -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) { -- GitLab