]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
nouvelle option de compilation pour SOLVERLAB
authorNicolas CROUZET - SFME/LGLS <crouzet@is228840.intra.cea.fr>
Tue, 15 Dec 2020 08:31:18 +0000 (09:31 +0100)
committerNicolas CROUZET - SFME/LGLS <crouzet@is228840.intra.cea.fr>
Tue, 15 Dec 2020 08:31:18 +0000 (09:31 +0100)
products/compil_scripts/SOLVERLAB.sh

index 798809997520d089d11cc305c6beeaedb22ee85c..d305c4f0ddd644b22811a6dd19bca2732df02842 100755 (executable)
@@ -20,6 +20,7 @@ CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}"
 
 if [ -n "$SAT_HPC" ]
 then
+    CMAKE_OPTIONS="${CMAKE_OPTIONS} -DMPI_HOME=${MPI_ROOT_DIR}"
     CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpic++"
     CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_C_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpicc"
 fi