From b37d25a9b3de8adef281833082274470f05bd733 Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 10 Dec 2021 12:11:35 +0100 Subject: [PATCH] =?utf8?q?logs=20au=20format=20normalis=C3=A9=20pour=20pet?= =?utf8?q?sc=203.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- products/compil_scripts/petsc-3.16.0.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/products/compil_scripts/petsc-3.16.0.sh b/products/compil_scripts/petsc-3.16.0.sh index 8d2eccf..26e9556 100755 --- a/products/compil_scripts/petsc-3.16.0.sh +++ b/products/compil_scripts/petsc-3.16.0.sh @@ -17,21 +17,20 @@ CONFIGURE_FLAGS+=" --download-slepc-configure-arguments=--with-slepc4py=yes " echo if [ -n "${MPI_ROOT_DIR}" ] then - echo "*** configure with mpi" CONFIGURE_FLAGS+=" --download-hypre=ext/hypre-2.20.0.tar.gz" CONFIGURE_FLAGS+=" --download-parms=ext/parms-3.2-p5.tar.gz" CONFIGURE_FLAGS+=" --download-parmetis=ext/parmetis-4.0.3-p6.tar.gz" CONFIGURE_FLAGS+=" --download-ptscotch=ext/scotch_6.1.0.tar.gz" if [ -n "${MPI4PY_ROOT_DIR}" ] then - echo "*** mpi4py external dependency detected..." CONFIGURE_FLAGS+=" --with-mpi4py-dir=${MPI4PY_ROOT_DIR}" else CONFIGURE_FLAGS+=" --download-mpi4py=ext/mpi4py-3.0.3.tar.gz" fi + echo "*** configure --prefix=${PRODUCT_INSTALL} --with-mpi-dir=${MPI_ROOT_DIR} ${CONFIGURE_FLAGS}" ./configure --prefix=${PRODUCT_INSTALL} --with-mpi-dir=${MPI_ROOT_DIR} ${CONFIGURE_FLAGS} else - echo "*** configure without mpi" + echo "*** configure --prefix=${PRODUCT_INSTALL} --with-mpi=0 ${CONFIGURE_FLAGS}" ./configure --prefix=${PRODUCT_INSTALL} --with-mpi=0 ${CONFIGURE_FLAGS} fi -- 2.39.2