]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
add check on mpi implementation
authorsecher <secher>
Wed, 7 Sep 2011 09:40:55 +0000 (09:40 +0000)
committersecher <secher>
Wed, 7 Sep 2011 09:40:55 +0000 (09:40 +0000)
src/MPIContainer/testMPI2.cxx

index 0c863c6c986b7a91bcff2165a65eccac8c6f875c..749fc64d925b3afe076b5550e1c8e03591c0d87a 100644 (file)
@@ -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<argc;i++){
     std::string sargv = argv[i];
     if(sargv.find("-debug")!=std::string::npos)