]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
set WITHMPI value when using OpenMPI
authortajchman <tajchman>
Tue, 23 Mar 2010 10:26:20 +0000 (10:26 +0000)
committertajchman <tajchman>
Tue, 23 Mar 2010 10:26:20 +0000 (10:26 +0000)
salome_adm/unix/config_files/check_openmpi.m4

index a954190d79ccb9fb536115f94010dbfc1df2029f..efdefc48d15aa9925f7897eec24b95f4d0826a9a 100644 (file)
@@ -54,10 +54,12 @@ if test "$WITHOPENMPI" = yes; then
   AC_MSG_CHECKING(for openmpi)
   if test "$WITHOPENMPI" = "yes";then
      mpi_ok=yes
+     WITHMPI=yes
      CPPFLAGS="-DOMPI_IGNORE_CXX_SEEK -DWITHOPENMPI $CPPFLAGS"
      AC_MSG_RESULT(yes)
   else
      mpi_ok=no
+     WITHMPI=no
      AC_MSG_RESULT(no)
   fi
 fi