alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.71.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : '2018.8.24'
cgns : {tag : '4.1.1', hpc : 'yes'}
chardet : '3.0.4'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : {tag : '5.9.0', hpc : 'yes', section: 'version_5_9_0_MPI'}
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
psutil : '5.7.2'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.71.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : '2018.8.24'
cgns : '4.1.1'
chardet : '3.0.4'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : '5.9.0'
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
psutil : '5.7.2'
alabaster : 'native'
Babel : 'native'
boost : 'native'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : 'native'
# Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
# Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
packaging : 'native'
pandas : 'native'
ParaView : '5.9.0'
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : 'native'
# 'native' not exists : freeCAD part but not delivered with it from package handler
planegcs : '0.18-3cb6890'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.67.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1_win'}
+ CAS : 'V7_5_3p1'
certifi : '2019.6.16'
cgns : '4.1.1'
chardet : '3.0.4'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.71.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : '2018.8.24'
cgns : '4.1.1'
chardet : '3.0.4'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : '5.9.0'
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
psutil : '5.7.2'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.71.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : '2018.8.24'
cgns : '4.1.1'
chardet : '3.0.4'
pandas : '0.25.2'
patsy : '0.5.2'
ParaView : '5.9.0'
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
psutil : '5.7.2'
alabaster : 'native'
Babel : 'native'
boost : 'native'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : 'native'
# Standalone native cgns works well. Unfortunately, it's directly linked to native hdf which uses a higher version than us.
# Rollback to embedded version to avoid versions mismatch between both of them (see imp_1538_cgns_export_import.py)
packaging : 'native'
pandas : 'native'
ParaView : '5.9.0'
- petsc : {tag : '3.15.0', section: 'version_3_15_0'}
+ petsc : {tag : '3.16.0', section: 'version_3_16_0'}
Pillow : 'native'
# 'native' not exists : freeCAD part but not delivered with it from package handler
planegcs : '0.18-3cb6890'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.67.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1_win'}
+ CAS : 'V7_5_3p1'
certifi : '2019.6.16'
cgns : '4.1.1'
chardet : '3.0.4'
alabaster : '0.7.6'
Babel : '2.7.0'
boost : '1.71.0'
- CAS : {tag: 'b08cd044f9', section: 'version_7_5_3p1'}
+ CAS : 'V7_5_3p1'
certifi : '2018.8.24'
cgns : '4.1.1'
chardet : '3.0.4'
CONFIGURE_FLAGS+=" --download-metis=ext/metis-5.1.0-p10.tar.gz"
CONFIGURE_FLAGS+=" --with-debugging=0" # by default Petsc is build in debug mode
CONFIGURE_FLAGS+=" --with-petsc4py=yes"
-CONFIGURE_FLAGS+=" --download-slepc-configure-arguments=\" --with-slepc4py=yes\" "
+CONFIGURE_FLAGS+=" --download-slepc-configure-arguments=--with-slepc4py=yes "
echo
if [ -n "${MPI_ROOT_DIR}" ]
then
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"
+# CONFIGURE_FLAGS+=" --download-mpi4py=ext/mpi4py-3.0.3.tar.gz"
CONFIGURE_FLAGS+=" --with-mpi4py-dir=${MPI4PY_ROOT_DIR}"
./configure --prefix=${PRODUCT_INSTALL} --with-mpi-dir=${MPI_ROOT_DIR} ${CONFIGURE_FLAGS}
else
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ if platform.system() == "Windows" :
+ pass
+ else :
+ versionPython = env.get('PYTHON_VERSION')
+ env.set("MPI4PY_ROOT_DIR",os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+
+def set_nativ_env(env):
+ pass
+
}
environ :
{
- MPI4PY_ROOT_DIR : $install_dir
+ env_script : $name + ".py"
}
depend : ["Python", 'openmpi']
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
--- /dev/null
+diff -Naur petsc_ref/config/BuildSystem/config/packages/mpi4py.py petsc/config/BuildSystem/config/packages/mpi4py.py
+--- petsc_ref/config/BuildSystem/config/packages/mpi4py.py 2021-11-18 23:17:43.058783475 +0100
++++ petsc/config/BuildSystem/config/packages/mpi4py.py 2021-11-18 23:58:42.759826515 +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:
+@@ -73,7 +73,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)
{
compil_script : "petsc-3.16.0.sh"
depend : ["hdf5", "Python"]
+ patches: ['petsc-3.16-mpi4py.patch']
}
version_3_15_0 :