Merge topic 'fix-opensuse-build'

ca30daa90 ci,docker:  use ch3:sock backend in Opensuse MPICH

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3153
This commit is contained in:
Vicente Bolea 2023-11-21 22:22:04 +00:00 committed by Kitware Robot
commit bdf8732c49
2 changed files with 12 additions and 6 deletions

@ -75,7 +75,7 @@
- .docker_image
.opensuse: &opensuse
image: "kitware/vtkm:ci-opensuse-20231117"
image: "kitware/vtkm:ci-opensuse-20231121"
extends:
- .docker_image

@ -24,17 +24,23 @@ RUN zypper refresh && \
git-lfs \
hdf5-devel \
libgomp1 \
libucp-devel \
mpich-ofi \
mpich-ofi-devel \
make \
ninja \
openucx-tools \
python311 \
python311-scipy \
tbb-devel && \
zypper clean --all
ENV fI_PROVIDER=sockets
ARG MPICH_VERSION=4.1.1
RUN curl -s -L https://www.mpich.org/static/downloads/${MPICH_VERSION}/mpich-${MPICH_VERSION}.tar.gz | tar xzf - && \
cd mpich-${MPICH_VERSION} && \
./configure \
--disable-fortran \
--prefix=/usr/local \
--with-device=ch3:sock:tcp && \
make -j $(nproc) && \
make install && \
rm -rf mpich-${MPICH_VERSION}
# Need to run git-lfs install manually on system packaged version
RUN git-lfs install