_isAppliSalomeDefined = (getenv("APPLI") != 0);
#ifdef HAVE_MPI2
+#ifdef WITHOPENMPI
if( getenv("OMPI_URI_FILE") != NULL ){
system("killall ompi-server");
string command;
if(status!=0)
throw SALOME_Exception("Error when launching ompi-server");
}
+#endif
#endif
MESSAGE("constructor end");
{
MESSAGE("destructor");
#ifdef HAVE_MPI2
+#ifdef WITHOPENMPI
if( getenv("OMPI_URI_FILE") != NULL )
system("killall ompi-server");
#endif
+#endif
}
//=============================================================================