From daa9e1b824a72e95a0a13ee9a0d836dc0d395e63 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 2 Feb 2022 09:38:27 +0100 Subject: [PATCH] spns #24419: petsc in sequential/parallel mode should be triggered with SAT_HPC environment variable instead of MPI_ROOT_DIR --- products/compil_scripts/petsc-3.16.0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2