imagesize : '1.0.0'
ispc : '1.15.0'
Jinja2 : '2.7.3'
- kiwisolver : '1.0.1'
+ kiwisolver : '1.3.1'
lapack : '3.8.0'
- libxml2 : '2.9.1'
+ libxml2 : '2.9.12'
llvm : '8.0.1-clang'
markupsafe : '0.23'
matplotlib : '3.3.4'
netcdf : '4.6.2'
nlopt : '2.5.0'
nose: '1.3.7'
- numpy : '1.16.4'
+ numpy : '1.21.1'
numpydoc : '0.9.0'
omniORB : '4.2.5'
omniORBpy : '4.2.5'
ospray : '2.4.0'
packaging : '17.1'
packagespy : '74152cd'
- pandas : '0.25.2'
+ pandas : '1.1.5'
patsy : '0.5.2'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS: 'v14.1'
pyparsing : '2.0.3'
PyQt : '5.15.3'
pyreadline : '2.0'
- Python : '3.6.5'
+ Python : '3.9.14'
pytz : '2017.2'
qt : '5.12.10'
qwt : '6.1.2'
rkCommon : '1.5.1'
root: '6.22.02'
salome_system : 'native'
- scipy : '1.4.1'
+ scipy : '1.6.2'
scotch : {tag: '6.1.2', section: 'version_6_1_2_MPI', hpc: 'yes', base: 'no'}
setuptools : '38.4.0'
sip : '5.5.0'
{
__condition__ : "VARS.dist in ['CO7']"
'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr']
+ 'APPLICATION.products.boost' : {tag: '1.71.0', base: 'no', section: 'version_1_71_0_CO7' }
+ 'APPLICATION.products.pandas' : {tag: '1.1.5', base: 'no', section: 'version_1_1_5_no_pip'}
+ 'APPLICATION.products.statsmodels': {tag: '0.6.1', base: 'no', section: 'version_0_6_1_no_pip' }
+ 'APPLICATION.products.matplotlib' : {tag: '3.3.4', base: 'no', section : 'version_3_3_5_no_pip'}
+ 'APPLICATION.products.mpi4py' : {tag: '3.0.3', base: 'no', section : 'version_3_0_3_no_pip'}
'APPLICATION.products.openturns' : {tag: '1.21', base: 'no', section: 'version_1_21_CO7' }
}
{
patches : ['boost-1.71-pthread-gcc-11.patch']
}
+version_1_71_0_CO7 :
+{
+ compil_script : "boost-1.71.0.sh"
+ patches : ['boost-1.71-pthread-gcc-11.patch']
+}
+
version_1_58_0_DB10 :
{
patches : ['boost-1.58.0-python-3.7.patch']
echo "*** build in SOURCE directory"
-cd $SOURCE_DIR
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
# we don't install in python directory -> modify environment as described in INSTALL file
-mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+#mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
export PATH=$(pwd)/bin:$PATH
export PYTHONPATH=$(pwd):$PYTHONPATH
export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
echo
echo "*** build and install with $PYTHONBIN"
-$PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+#$PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+$PYTHONBIN -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL
if [ $? -ne 0 ]
then
echo "ERROR on build/install"
--- /dev/null
+
+#!/bin/bash
+
+echo "##########################################################################"
+echo "mpi4py" $VERSION
+echo "##########################################################################"
+
+
+
+echo "*** build in SOURCE directory"
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+# we don't install in python directory -> modify environment as described in INSTALL file
+#mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+export PATH=$(pwd)/bin:$PATH
+export PYTHONPATH=$(pwd):$PYTHONPATH
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+
+echo
+echo "*** build and install with $PYTHONBIN"
+#$PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+$PYTHONBIN -m pip install --ignore-installed --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL
+if [ $? -ne 0 ]
+then
+ echo "ERROR on build/install"
+ exit 3
+fi
+
+echo
+echo "########## END"
echo "FATAL: could not install decorator-5.1.0"
exit 6
fi
- echo "INFO: install scikit-learn-0.24.2"
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps
+ #echo "INFO: install scikit-learn-0.24.2"
+ #${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps
+ echo "INFO: install scikit-learn-1.2.2"
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-1.2.2/scikit-learn-1.2.2.tar.gz --no-deps --prefix=$PRODUCT_INSTAL
if [ $? -ne 0 ]
then
- echo "FATAL: could not install scikit-0.24.2"
+ echo "FATAL: could not install scikit-1.2.2"
exit 6
fi
fi
#
# O P E N T U R N S
#
- if [ -f ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages/site.py ]; then
+ if [ -f ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages/site.py ] ||
+ [ -f ${PYTHON_ROOT_DIR}/lib/python${PYTHON_VERSION}/site.py ]; then
echo "INFO: site.py already installed"
elif [ "$SAT_Python_IS_NATIVE" == "1" ]; then
# check first whether the init.py file is installed
cp -r $SOURCE_DIR/sip-5.5.0 $BUILD_DIR/sip-5.5.0
cd $BUILD_DIR/sip-5.5.0
-USE_SETUP=true
+USE_SETUP=false
case $LINUX_DISTRIBUTION in
CO9)
USE_SETUP=false
;;
esac
+$PYTHONBIN -m pip install --upgrade pip
+$PYTHONBIN -m pip install --upgrade setuptools
+
# we don't install in python directory -> modify environment as described in INSTALL file
export PATH=$(pwd)/bin:$PATH
export PYTHONPATH=$(pwd):$PYTHONPATH
;;
esac
+$PYTHONBIN -m
+
echo
echo "########## END"
else :
versionPython = env.get('PYTHON_VERSION')
env.set("MPI4PY_ROOT_DIR",os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
def set_nativ_env(env):
pass
}
}
+version_3_3_5_no_pip :
+{
+ compil_script : "matplotlib.sh"
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
version_2_2_2 :
{
properties:
pip : "yes"
}
}
+
+version_3_0_3_no_pip :
+{
+ compil_script : "mpi4py.sh"
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
version_3_2_0 :
{
- patches : ["opencv-3.2.0-ccache.patch", "SPNS-29988-opencv-3.2.0-persistence.patch", "opencv-3.2.0-python2-cmake.patch"]
+ patches : ["opencv-3.2.0-ccache.patch",
+ "SPNS-29988-opencv-3.2.0-persistence.patch",
+ "opencv-3.2.0-python2-cmake.patch",
+ "SPNS-29988-opencv-3.2.0-cv2.patch"]
}
version_3_2_0_FD38 :