From f2a1648b64b484c84f4a59ed77d4e52472fac691 Mon Sep 17 00:00:00 2001 From: secher Date: Wed, 7 Sep 2011 09:40:55 +0000 Subject: [PATCH] add check on mpi implementation --- src/MPIContainer/testMPI2.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MPIContainer/testMPI2.cxx b/src/MPIContainer/testMPI2.cxx index 0c863c6c9..749fc64d9 100644 --- a/src/MPIContainer/testMPI2.cxx +++ b/src/MPIContainer/testMPI2.cxx @@ -20,6 +20,11 @@ int main(int argc, char**argv) std::string service = "SERVICE"; bool debug=false; +#ifndef WITHOPENMPI + std::cout << "This test work only with openmpi implementation" << std::endl; + exit(1); +#endif + for(i=1;i