]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #24419: petsc in sequential/parallel mode should be triggered with SAT_HPC envir...
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Feb 2022 08:38:27 +0000 (09:38 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Feb 2022 08:38:27 +0000 (09:38 +0100)
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"