From: SALOME Support Premier Niveau Date: Thu, 31 Oct 2024 10:50:49 +0000 (+0100) Subject: Revert "spns #43007: compile petsc and SOLVERLAB without mpi" X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c101b1b328f49f4accb54a52df00d4273bd8354c;p=tools%2Fsat_salome.git Revert "spns #43007: compile petsc and SOLVERLAB without mpi" This reverts commit a96979ab94afa90c32d6716f50703da649009d4f. --- diff --git a/applications/SALOME-master-native.pyconf b/applications/SALOME-master-native.pyconf index d38412c..e6de32c 100644 --- a/applications/SALOME-master-native.pyconf +++ b/applications/SALOME-master-native.pyconf @@ -115,7 +115,7 @@ APPLICATION : patsy : 'native' ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'} PERSALYS : 'v16.0.1' - petsc : '3.20.5' + petsc : {tag : '3.20.5', base: 'no', section: 'version_3_20_5', hpc: 'yes'} Pillow : 'native' planegcs : '0.18-3cb6890' psutil : 'native' @@ -203,7 +203,7 @@ APPLICATION : 'YDEFX' 'pmml' 'SALOMEBOOTSTRAP' - 'SOLVERLAB' + 'SOLVERLAB' : {tag: 'master', base: 'no', section: 'default_MPI', hpc: 'yes'} 'TopIIVolMesh' #'TESTBASE' 'CEATESTBASE' : 'SalomeV9' diff --git a/applications/SALOME-master.pyconf b/applications/SALOME-master.pyconf index 20c6407..e1f6783 100644 --- a/applications/SALOME-master.pyconf +++ b/applications/SALOME-master.pyconf @@ -118,7 +118,7 @@ APPLICATION : patsy : '0.5.4' ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'} PERSALYS: 'v16.0.1' - petsc : '3.20.5' + petsc : {tag : '3.20.5', base: 'no', section: 'version_3_20_5', hpc: 'yes'} Pillow : '8.4.0' planegcs : '0.18-3cb6890' poetry : {tag: '1.8.3', base: 'no', section: 'version_1_8_3_x86_64' } @@ -216,7 +216,7 @@ APPLICATION : 'YDEFX' 'pmml' 'SALOMEBOOTSTRAP' - 'SOLVERLAB' + 'SOLVERLAB' : {tag: 'master', base: 'no', section: 'default_MPI', hpc: 'yes'} 'TopIIVolMesh' #'TESTBASE' 'CEATESTBASE' : 'SalomeV9' diff --git a/products/compil_scripts/petsc-3.20.5.sh b/products/compil_scripts/petsc-3.20.5.sh index 042f67b..1c3fd78 100755 --- a/products/compil_scripts/petsc-3.20.5.sh +++ b/products/compil_scripts/petsc-3.20.5.sh @@ -29,18 +29,8 @@ else CONFIGURE_FLAGS+=" --download-f2cblaslapack=ext/f2cblaslapack-3.8.0.q2.tar.gz" fi -if [ "${SAT_python_IS_NATIVE}" == "1" ]; then - CONFIGURE_FLAGS+=" --with-python=1" -elif [ -n "${PYTHON_ROOT_DIR}" ]; then - CONFIGURE_FLAGS+=" --with-python-dir=${PYTHON_ROOT_DIR}" -fi - -if [ "$SAT_hdf5_IS_NATIVE" == "1" ]; then - CONFIGURE_FLAGS+=" --with-hdf5=1" - CONFIGURE_FLAGS+=" --with-hdf5-dir=$NATIVE_PATH/hdf5/serial/" -elif [ -n "${HDF5_ROOT_DIR}" ]; then - CONFIGURE_FLAGS+=" --with-hdf5-dir=${HDF5_ROOT_DIR}" -fi +CONFIGURE_FLAGS+=" --with-python-dir=${PYTHON_ROOT_DIR}" +CONFIGURE_FLAGS+=" --with-hdf5-dir=${HDF5_ROOT_DIR}" if [ -f "${NATIVE_PATH}/libfftw3.a" ] && [ "${SAT_fftw_IS_NATIVE}" == "1" ]; then CONFIGURE_FLAGS+=" --with-fftw=1"