Salome HOME
SALOME 9.9.0-MPI final fixes
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 16 May 2022 18:35:57 +0000 (20:35 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 16 May 2022 18:35:57 +0000 (20:35 +0200)
applications/SALOME-9.9.0-MPI.pyconf
applications/SALOME-master-MPI.pyconf
products/HOMARD.pyconf
products/compil_scripts/gdal-2.4.0.sh
products/compil_scripts/med-4.1.1.sh
products/medfile.pyconf

index 8e76a465e65d7222b610b5d163c5fce6a5e192cc..d8a987219adef43ae09db56010aa39555e94dc2f 100644 (file)
@@ -155,10 +155,10 @@ APPLICATION :
         'GMSHPLUGIN'
         'HEXABLOCK' : {tag:'V9_9_BR', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'}
         'HEXABLOCKPLUGIN'
-        'HOMARD'
-        'FIELDS' : {tag:'V9_9_0b1', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'} # FIXME
+        'HOMARD' : {tag:'V9_9_BR', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'}
+        'FIELDS' : {tag:'V9_9_BR', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'}
         'OPENTURNS_SALOME': 'master' # FIXME
-        'PARAVIS' : {tag:'V9_9_0b1', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'} # FIXME
+        'PARAVIS' : {tag:'V9_9_BR', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'} # FIXME
         'JOBMANAGER' : {tag:'V9_9_BR', base: 'no', section: 'version_V9_9_0_MPI', hpc: 'yes'} # FIXME
         'YACS'
         'YACSGEN'
index 46ad9147945e41f1f60a9866500f1ee2cdb0067e..d9f045020e2aaaa6a9716f44e8994f182158a3d4 100644 (file)
@@ -141,8 +141,8 @@ APPLICATION :
         'SHAPERSTUDY'
         'RESTRICTED'
         'LIBBATCH' : {tag : 'V2_4_5'}
-        'KERNEL' : {section : 'default_MPI', verbose : 'yes'}
-        'MEDCOUPLING' : {section : 'default_MPI', verbose : 'yes'}
+        'KERNEL'      : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes', verbose: 'yes'}
+        'MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes', verbose: 'yes'}
         'GUI' : {verbose : 'yes'}
         'GEOM'
         'SMESH'
@@ -153,15 +153,15 @@ APPLICATION :
         'HYBRIDPLUGIN'
         'HexoticPLUGIN'
         'GMSHPLUGIN'
-        'HEXABLOCK' : {section : "default_MPI", verbose: 'yes'}
+        'HEXABLOCK' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes', verbose: 'yes'}
         'HEXABLOCKPLUGIN'
-        'HOMARD'
-        'FIELDS' : {section : "default_MPI", verbose: 'yes'}
-        'PARAVIS' : {section : "default_MPI", verbose: 'yes'}
-        'JOBMANAGER' : {section : "default_MPI", verbose: 'yes'}
+        'HOMARD'    : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
+        'FIELDS'    : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
+        'PARAVIS'   : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
+        'JOBMANAGER': {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
         'YACS'
         'YACSGEN'
-        'SOLVERLAB' : {section : "default_MPI", hpc: 'yes'}
+        'SOLVERLAB': {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
         'DOCUMENTATION'
         'SAMPLES'
         'COMPONENT'
index 62505adaaa36dba7941f58176e6267ace1472f9c..b5e48e2243f8cf11829269652bedf99b98692c9d 100644 (file)
@@ -34,6 +34,18 @@ default_win:
     depend : [ "SMESH", "boost", "hdf5", "medfile", "pthreads"]
 }
 
+default_MPI :
+{
+  cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DCMAKE_CXX_COMPILER:STRING=${MPI_CXX_COMPILER} -DCMAKE_C_COMPILER:STRING=${MPI_C_COMPILER} -DSALOME_USE_MPI=ON "
+  opt_depend : ['openmpi']
+}
+
+version_V9_9_0_MPI :
+{
+  cmake_options : "-DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DCMAKE_CXX_COMPILER:STRING=${MPI_CXX_COMPILER} -DCMAKE_C_COMPILER:STRING=${MPI_C_COMPILER} -DSALOME_USE_MPI=ON "
+  opt_depend : ['openmpi']
+}
+
 version_gn_evol_01 :
 {
     patches : ['HOMARD_SMESH_SSL_support.patch']
index 3a1cd6d571c8abf95654da2f13c946203fa2dba7..1c2fd54d0e120d8c88e732f568b89bf46af1ec1c 100755 (executable)
@@ -7,7 +7,7 @@ echo "##########################################################################
 if [ -n "$SAT_HPC" ]  && [ -n "$MPI_ROOT_DIR" ]; then
    echo "WARNING: setting CC and CXX environment variables and target MPI wrapper"
    export CXX=${MPI_CXX_COMPILER}
-   export C=${MPI_C_COMPILER}
+   export CC=${MPI_C_COMPILER}
 fi
 
 CONFIGURE_FLAGS=
index c91dfeffb19bf689ec67a00868ba9a9e72115aac..80e4f96d2c9a81915d2becea0eb8b56ba3f7ba16 100755 (executable)
@@ -10,6 +10,9 @@ CONFIGURE_FLAGS+=' --enable-python=yes'
 CONFIGURE_FLAGS+=' --enable-mesgerr'
 if [ -n "$SAT_HPC" ]
 then
+    export CXX=${MPI_CXX_COMPILER}
+    export CC=${MPI_C_COMPILER}
+    CONFIGURE_FLAGS+=' --with-swig=yes'
     CONFIGURE_FLAGS+=' --enable-parallel'
 else
     export F77=gfortran
index a4e321beff189a2a2ab3dd00e2dec26a34e5e6de..ed7a18e540811211920e6eaa1b616e11e71e5202 100644 (file)
@@ -36,7 +36,7 @@ version_4_1_1 :
 {
     compil_script : 'med-4.1.1.sh'
     test_build : "make check"
-    build_depend : []
+    build_depend : ['swig']
 }
 
 version_4_1_1_win :