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

Prevent the use of the multipole reconstruction mode over MPI.

parent cb509b51
No related branches found
No related tags found
1 merge request!589Mpi periodic gravity
......@@ -486,6 +486,17 @@ int main(int argc, char *argv[]) {
MPI_Bcast(params, sizeof(struct swift_params), MPI_BYTE, 0, MPI_COMM_WORLD);
#endif
/* Temporary early aborts for modes not supported over MPI. */
#ifdef WITH_MPI
if(with_mpole_reconstruction && nr_nodes > 1)
error("Cannot reconstruct m-poles every step over MPI (yet).");
#endif
#if defined(WITH_MPI) && defined(HAVE_VELOCIRAPTOR)
if (with_structure_finding && nr_nodes > 1)
error("VEOCIraptor not yet enabled over MPI.");
#endif
/* Check that we can write the snapshots by testing if the output
* directory exists and is searchable and writable. */
char basename[PARSER_MAX_LINE_SIZE];
......@@ -729,10 +740,6 @@ int main(int argc, char *argv[]) {
fflush(stdout);
}
#if defined(WITH_MPI) && defined(HAVE_VELOCIRAPTOR)
if (with_structure_finding) error("VEOCIraptor not yet enabled over MPI.");
#endif
#ifdef SWIFT_DEBUG_CHECKS
/* Check once and for all that we don't have unwanted links */
if (!with_stars && !dry_run) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment