aboutsummaryrefslogtreecommitdiff
blob: daa51bbbf0975704c6d2b9b96b806ef19fc9411e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src5.1.4.orig/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4	2008-12-10 10:14:34.000000000 +0100
+++ src5.1.4/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4	2009-09-29 10:14:56.821299268 +0200
@@ -76,7 +76,7 @@
 
   if test "$WITHMPI" = "yes";then
     mpi_ok=yes
-    MPI_LIBS="$MPI_LIBS -lmpi -lmpio -lmpiCC"
+    MPI_LIBS="$MPI_LIBS -lmpi -lmpi_cxx"
   else
     mpi_ok=no
   fi
--- src5.1.4.orig/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx	2008-12-10 10:14:33.000000000 +0100
+++ src5.1.4/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx	2009-09-29 11:10:13.227293648 +0200
@@ -25,6 +25,7 @@
 #include <SALOME_Communication.hxx>
 
 #ifdef HAVE_MPI2
+#define OMPI_IGNORE_CXX_SEEK 1
 #include "mpi.h"
 #endif
 #include <string>