Salome HOME
Fix path to mpicc and mpicxx
[tools/sat_salome.git] / products / compil_scripts / petsc-3.16.0.sh
index 26e955606adab30aa7ba1ea9068e4116c861ad0a..6d066cbe20a7b11aab0ea7840acbf8343a61070e 100755 (executable)
@@ -15,7 +15,7 @@ CONFIGURE_FLAGS+=" --with-debugging=0" # by default Petsc is build in debug mode
 CONFIGURE_FLAGS+=" --with-petsc4py=yes"
 CONFIGURE_FLAGS+=" --download-slepc-configure-arguments=--with-slepc4py=yes "
 echo
-if [ -n "${MPI_ROOT_DIR}" ]
+if [ -n "${SAT_HPC}" ]
 then
   CONFIGURE_FLAGS+=" --download-hypre=ext/hypre-2.20.0.tar.gz"
   CONFIGURE_FLAGS+=" --download-parms=ext/parms-3.2-p5.tar.gz"