diff --git a/examples/main.c b/examples/main.c index b2b6edc1f80632eda9961001b31cbcabafe8879a..d4d3d41f0a19c10d355623aefcbb59bac61e6dfe 100644 --- a/examples/main.c +++ b/examples/main.c @@ -689,6 +689,11 @@ int main(int argc, char *argv[]) { fflush(stdout); } +#ifdef WITH_MPI + if(periodic && with_self_gravity) + error("Periodic self-gravity over MPI temporarily disabled."); +#endif + #ifdef SWIFT_DEBUG_CHECKS /* Check once and for all that we don't have unwanted links */ if (!with_stars && !dry_run) { @@ -724,6 +729,7 @@ int main(int argc, char *argv[]) { "ICs.", N_total[0], N_total[2], N_total[1]); + /* Verify that the fields to dump actually exist */ if (myrank == 0) io_check_output_fields(params, N_total);