[PATCH] Warn about MPI not supporting cross-context particles
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Sun Jan 18 14:07:27 UTC 2004
Hi!
This patch aborts on use of cross-context particles with MPI, which is not
supported.
Ok?
Richard.
2004Jan18 Richard Guenther <richard.guenther at uni-tuebingen.de>
* src/Particles/PatchSwapLayout.cpp: abort on cross-context
particles with MPI.
Index: src/Particles/PatchSwapLayout.cpp
===================================================================
RCS file: /home/pooma/Repository/r2/src/Particles/PatchSwapLayout.cpp,v
retrieving revision 1.15
diff -u -u -r1.15 PatchSwapLayout.cpp
--- src/Particles/PatchSwapLayout.cpp 8 Jun 2000 22:16:23 -0000 1.15
+++ src/Particles/PatchSwapLayout.cpp 18 Jan 2004 13:38:28 -0000
@@ -545,6 +545,8 @@
Pooma::particleSwapHandler()->send(toContext, tag, buf);
}
+#elif POOMA_MPI
+ PInsist(false, "Cross-context particles not supported for MPI");
#endif // POOMA_CHEETAH
}
@@ -621,6 +623,8 @@
while (layout_m.patchInfo(lid).msgReceived() < remotePatches)
Pooma::poll();
+#elif POOMA_MPI
+ PInsist(false, "Cross-context particles not supported for MPI");
#endif // POOMA_CHEETAH
}
More information about the pooma-dev
mailing list