Skip to content
Snippets Groups Projects
Commit 63d5b995 authored by David Schwörer's avatar David Schwörer
Browse files

load mpi in CI

parent 63aa1a96
No related branches found
No related tags found
No related merge requests found
Pipeline #95061 failed
......@@ -3,4 +3,7 @@ image: quay.io/pypa/manylinux2014_x86_64
manylinux2014:
script:
- bash --login tools/pylib/_boutcore_build/build-wheels.sh
artifacts:
paths:
- /io/wheelhouse/
yum -y install mpich-devel fftw-devel netcdf-*-devel
set -ex
yum -y install mpich-devel fftw-devel netcdf-cxx-devel
if ! module load mpi ; then
. /etc/profile
module load mpi
fi
./configure --enable-shared
make -j 4
cd tools/pylib/_boutcore_build/
......@@ -18,7 +23,7 @@ function repair_wheel {
for PYBIN in /opt/python/*/bin;
do
make clean
$PYBIN/pip install -r numpy cython
$PYBIN/pip install numpy cython
PY=$PYBIN/python make
"${PYBIN}/pip" wheel . --no-deps -w wheelhouse/
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment