Salome HOME
spns #23875 : URANIE Windows build
[tools/sat_salome.git] / products / compil_scripts / petsc.sh
old mode 100644 (file)
new mode 100755 (executable)
index b1b37ec..a89500b
@@ -11,11 +11,12 @@ cp -r $SOURCE_DIR/* .
 CONFIGURE_FLAGS=''
 CONFIGURE_FLAGS=$CONFIGURE_FLAGS" --download-f2cblaslapack=ext/f2cblaslapack-3.4.2.q4"
 CONFIGURE_FLAGS=$CONFIGURE_FLAGS" --download-slepc=ext/slepc-3.14.0"
-
+CONFIGURE_FLAGS=$CONFIGURE_FLAGS" --with-debugging=0" # by default Petsc is build in debug mode
 echo
 if [ -n "${MPI_ROOT_DIR}" ]
 then
   echo "*** configure with mpi"
+  CONFIGURE_FLAGS=$CONFIGURE_FLAGS" --download-hypre=ext/hypre-2.20.0"
   ./configure --prefix=${PRODUCT_INSTALL} --with-mpi-dir=${MPI_ROOT_DIR} ${CONFIGURE_FLAGS}
 else
   echo "*** configure without mpi"