From: Nabil Ghodbane Date: Wed, 2 Feb 2022 08:38:27 +0000 (+0100) Subject: spns #24419: petsc in sequential/parallel mode should be triggered with SAT_HPC envir... X-Git-Tag: V9_9_0~203 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=daa9e1b824a72e95a0a13ee9a0d836dc0d395e63;p=tools%2Fsat_salome.git spns #24419: petsc in sequential/parallel mode should be triggered with SAT_HPC environment variable instead of MPI_ROOT_DIR --- diff --git a/products/compil_scripts/petsc-3.16.0.sh b/products/compil_scripts/petsc-3.16.0.sh index 26e9556..6d066cb 100755 --- a/products/compil_scripts/petsc-3.16.0.sh +++ b/products/compil_scripts/petsc-3.16.0.sh @@ -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"