]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
changes for mpi compilation bsr/medmpi
authorBernard Sécher <bernard.secher@cea.fr>
Mon, 9 Feb 2015 10:07:54 +0000 (11:07 +0100)
committerBernard Sécher <bernard.secher@cea.fr>
Mon, 9 Feb 2015 10:10:27 +0000 (11:10 +0100)
CMakeLists.txt
src/MEDWrapper/Factory/MED_Factory.cxx
src/MEDWrapper/V2_2/MED_V2_2_Wrapper.cxx
src/Tools/MeshCut/MeshCut_Utils.hxx

index 15d1c70c6d493583595f0d2b1a32aafc710aea45..7470957cd8e7430b2008a07ebdc8707ab939c29c 100755 (executable)
@@ -101,9 +101,6 @@ FIND_PACKAGE(SalomeLibXml2 REQUIRED)
 FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C)
 
 # Other KERNEL optionals:
-IF(SALOME_USE_MPI)
-  FIND_PACKAGE(SalomeMPI) # needed for doc generation by Sphinx
-ENDIF()
 IF(SALOME_BUILD_TESTS)
   ENABLE_TESTING()
   FIND_PACKAGE(SalomeCppUnit)
index 06ebdd00fe22e0cd5c385c2cec8a79cf25ce5a14..853b37f7c7e327665e1419f03fb246f5a1862560 100644 (file)
@@ -27,9 +27,9 @@
 #include <stdio.h>
 #include <sstream>
 
+#include <med.h>
 extern "C"
 {
-#include <med.h>
 #ifndef WIN32
   #include <unistd.h>
 #endif
index 1b097b9b19c4a5967ebcc762c0fff55e2bcd284f..7222232044f7141f99f79907c79d7c8302c37696 100644 (file)
 #include "MED_Algorithm.hxx"
 #include "MED_Utilities.hxx"
 
-extern "C"
-{
 #include <med.h>
 #include <med_err.h>
-}
 
 #ifdef _DEBUG_
 static int MYDEBUG = 0;
index 63658e5a8409fe5cad1d9b7280b2c3fe44cd5b4e..ee26efbb7ad624527b9f6af75febf1de569dfaaf 100644 (file)
 #ifndef __MESHCUT_UTILS_HXX__
 #define __MESHCUT_UTILS_HXX__
 
-extern "C"
-  {
 #include <med.h>
-  }
 
 #include <string>
 #include <vector>