patsy : 'native'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS : 'v16.0.1'
- petsc : {tag : '3.16.0', base: 'no', section: 'version_3_16_0', hpc: 'yes'}
+ petsc : {tag : '3.20.5', base: 'no', section: 'version_3_20_5', hpc: 'yes'}
Pillow : 'native'
planegcs : '0.18-3cb6890'
psutil : 'native'
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.FMILibrary' : '2.4.1'
'APPLICATION.products.PyFMI' : '2.13.1'
- 'APPLICATION.products.petsc' : '3.20.5'
+ 'APPLICATION.products.petsc' : {tag : '3.20.5', base: 'no', section: 'version_3_20_5', hpc: 'yes'}
'APPLICATION.products.swig' : '4.0.2'
'APPLICATION.products.cmake' : 'native'
'APPLICATION.products.cftime' : 'native'
'APPLICATION.products.swig' : '4.0.2'
'APPLICATION.products.meshio' : {tag: '5.3.5' , base: 'no', section: 'version_5_3_5_no_pip' }
'APPLICATION.products.opencv' : {tag: '3.2.0', base: 'no', section: 'version_3_2_0_FD38' }
- 'APPLICATION.products.petsc' : {tag: '3.16.0', base: 'no', section: 'version_3_16_0_FD38', hpc: 'yes' }
+ 'APPLICATION.products.petsc' : {tag :'3.20.5', base: 'no', section: 'version_3_20_5', hpc: 'yes' }
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_FD38' }
'APPLICATION.products.medfile' : {tag: '4.1.1', base: 'no', section: 'version_4_1_1_FD38' }
'APPLICATION.products.catalyst' : {tag: '2.0', base: 'no', section: 'version_2_0_FD38' }
patsy : '0.5.4'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS: 'v16.0.1'
- petsc : {tag : '3.16.0', base: 'no', section: 'version_3_16_0', hpc: 'yes'}
+ 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' }
fi
CONFIGURE_FLAGS+=" --with-mpi-dir=${MPI_ROOT_DIR}"
-
+ if [ "$SAT_openmpi_IS_NATIVE" == "1" ] && [[ "DB UB" =~ "$DIST_NAME" ]]; then
+ CONFIGURE_FLAGS+=" --with-cc=${MPI_C_COMPILER}"
+ CONFIGURE_FLAGS+=" --with-cxx=${MPI_CXX_COMPILER}"
+ CONFIGURE_FLAGS+=" --with-fc=${MPI_FC_COMPILER}"
+ fi
else
CONFIGURE_FLAGS+=" --with-mpi=0"
fi
system_info :
{
rpm : ["fftw"]
- rpm_dev : ["fftw-devel"]
+ rpm_dev : ["fftw-devel", "fftw-openmpi-devel"]
apt : ["fftw"]
- apt_dev : ["fftw-dev"]
+ apt_dev : ["fftw-dev", "libfftw3-mpi-dev"]
}
archive_info:
{
--- /dev/null
+diff -Naur petsc/config/BuildSystem/config/packages/mpi4py.py petsc_dev/config/BuildSystem/config/packages/mpi4py.py
+--- petsc/config/BuildSystem/config/packages/mpi4py.py 2024-02-27 04:09:17.000000000 +0100
++++ petsc_dev/config/BuildSystem/config/packages/mpi4py.py 2024-10-29 09:30:23.435270110 +0100
+@@ -22,7 +22,7 @@
+ return
+
+ def Install(self):
+- installLibPath = os.path.join(self.installDir, 'lib')
++ installLibPath = os.path.join(self.installDir)
+ if self.setCompilers.isDarwin(self.log):
+ apple = 'You may need to\n (csh/tcsh) setenv MACOSX_DEPLOYMENT_TARGET 10.X\n (sh/bash) MACOSX_DEPLOYMENT_TARGET=10.X; export MACOSX_DEPLOYMENT_TARGET\nbefore running make on PETSc'
+ else:
+@@ -74,7 +74,7 @@
+ raise RuntimeError('mpi4py unreconginzed mode of building mpi4py! Suggest using --download-mpi4py!')
+
+ if self.directory:
+- installLibPath = os.path.join(self.directory, 'lib')
++ installLibPath = os.path.join(self.directory)
+ if not os.path.isfile(os.path.join(installLibPath,'mpi4py','__init__.py')):
+ raise RuntimeError('mpi4py not found at %s' % installLibPath)
+ self.addMakeMacro('PETSC_MPI4PY_PYTHONPATH',installLibPath)
env_script : $name + ".py"
}
depend : ["hdf5"]
- opt_depend : ["openmpi", "mpi4py"]
+ opt_depend : ["openmpi", "mpi4py", "fftw"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
install_dir : 'base'
{
compil_script : "petsc-3.20.5.sh"
depend : ["hdf5", "Python", "lapack","fftw", "llvm", "metis", "medfile", "mpi4py", "scotch" ]
+ patches: ['petsc-3.20.5-mpi4py.patch']
}
version_3_19_4 :