From 2e10728c138d70686a6a17279a1c2e25e4af25d8 Mon Sep 17 00:00:00 2001 From: tajchman Date: Tue, 23 Mar 2010 10:26:20 +0000 Subject: [PATCH] set WITHMPI value when using OpenMPI --- salome_adm/unix/config_files/check_openmpi.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salome_adm/unix/config_files/check_openmpi.m4 b/salome_adm/unix/config_files/check_openmpi.m4 index a954190d7..efdefc48d 100644 --- a/salome_adm/unix/config_files/check_openmpi.m4 +++ b/salome_adm/unix/config_files/check_openmpi.m4 @@ -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 -- 2.39.2