Skip to content
Snippets Groups Projects
Commit b44437b1 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Prevent users from running with star formation when running the MPI version

parent 9cf92b55
No related branches found
No related tags found
2 merge requests!688Star formation (non-MPI),!684Add star particles on-the-fly
...@@ -513,10 +513,9 @@ int main(int argc, char *argv[]) { ...@@ -513,10 +513,9 @@ int main(int argc, char *argv[]) {
#ifdef WITH_MPI #ifdef WITH_MPI
if (with_mpole_reconstruction && nr_nodes > 1) if (with_mpole_reconstruction && nr_nodes > 1)
error("Cannot reconstruct m-poles every step over MPI (yet)."); error("Cannot reconstruct m-poles every step over MPI (yet).");
#endif
#ifdef WITH_MPI
if (with_feedback) error("Can't run with feedback over MPI (yet)."); if (with_feedback) error("Can't run with feedback over MPI (yet).");
if (with_star_formation)
error("Can't run with star formation over MPI (yet)");
#endif #endif
#if defined(WITH_MPI) && defined(HAVE_VELOCIRAPTOR) #if defined(WITH_MPI) && defined(HAVE_VELOCIRAPTOR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment