From 67521ed2fa6e5a18701c627f560a4243cca88890 Mon Sep 17 00:00:00 2001 From: Guytri KASTANE Date: Thu, 28 Sep 2023 12:30:42 +0200 Subject: [PATCH] Fix conditions in petsc compil script --- products/compil_scripts/petsc-3.17.0.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/compil_scripts/petsc-3.17.0.sh b/products/compil_scripts/petsc-3.17.0.sh index 03f8596..605f727 100755 --- a/products/compil_scripts/petsc-3.17.0.sh +++ b/products/compil_scripts/petsc-3.17.0.sh @@ -16,7 +16,7 @@ CONFIGURE_FLAGS+=" --download-slepc=ext/slepc-3.19.2.tar.gz" if [ -f "${NATIVE_PATH}/liblapack.a" ] && [ "${SAT_lapack_IS_NATIVE}" == "1" ]; then CONFIGURE_FLAGS+=" --with-blaslapack-dir=${NATIVE_PATH}" elif [ -n "${LAPACK_ROOT_DIR}" ] && [ "${SAT_lapack_IS_NATIVE}" != "1" ]; then - CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}" + CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}" else CONFIGURE_FLAGS+=" --download-f2cblaslapack=ext/f2cblaslapack-3.8.0.q2.tar.gz" fi -- 2.39.2