Skip to content

Commit d646054

Browse files
committed
Lassen: No MPI4 Support
`mpi4py>=4.0` were released and support MPI 4 features. But Lassen does not support MPI 4 in the IBM Spectrum rolling releases. Thus, limit the upper versions of `mpi4py` for now. Also making the compilers for `h5py` a bit more robust, using the Lassen-specific wrapper name (hey, thanks for being special). https://hpc.llnl.gov/documentation/tutorials/using-lc-s-sierra-systems#Compilers
1 parent 9266aa7 commit d646054

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Tools/machines/lassen-llnl/install_v100_dependencies_toss3.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,14 @@ python3 -m pip install --upgrade build
119119
python3 -m pip install --upgrade packaging
120120
python3 -m pip install --upgrade wheel
121121
python3 -m pip install --upgrade setuptools[core]
122-
python3 -m pip install --upgrade cython
122+
python3 -m pip install --upgrade scikit-build-core
123+
python3 -m pip install --upgrade "cython>=3"
123124
python3 -m pip install --upgrade numpy
124125
python3 -m pip install --upgrade pandas
125126
CMAKE_PREFIX_PATH=/usr/lib64:${CMAKE_PREFIX_PATH} python3 -m pip install --upgrade -Ccompile-args="-j10" -Csetup-args=-Dblas=BLAS -Csetup-args=-Dlapack=BLAS scipy
126-
python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
127+
MPI4PY_BUILD_BACKEND="scikit-build-core" python3 -m pip install --upgrade mpi4py --no-cache-dir --no-build-isolation --no-binary mpi4py
127128
python3 -m pip install --upgrade openpmd-api
128-
CC=mpicc H5PY_SETUP_REQUIRES=0 HDF5_DIR=${SW_DIR}/hdf5-1.14.1.2 HDF5_MPI=ON python3 -m pip install --upgrade h5py --no-cache-dir --no-build-isolation --no-binary h5py
129+
CC=mpigcc H5PY_SETUP_REQUIRES=0 HDF5_DIR=${SW_DIR}/hdf5-1.14.1.2 HDF5_MPI=ON python3 -m pip install --upgrade h5py --no-cache-dir --no-build-isolation --no-binary h5py
129130
MPLLOCALFREETYPE=1 python3 -m pip install --upgrade matplotlib==3.2.2 # does not try to build freetype itself
130131
echo "matplotlib==3.2.2" > ${build_dir}/constraints.txt
131132
python3 -m pip install --upgrade -c ${build_dir}/constraints.txt yt

0 commit comments

Comments
 (0)