Skip to content

Commit 572a6c8

Browse files
committed
CI/CD: fix oshmpi_fedora
1 parent 2be9416 commit 572a6c8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/oshmpi_fedora/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ RUN mkdir /home/shmem
55

66
RUN dnf update -y && \
77
dnf install -y git vim wget pkg-config make automake gcc gcc-c++ kernel-devel libtool lbzip2 hwloc hwloc-devel \
8-
pmix pmix-devel libevent libevent-devel python3 python3-devel python3-pip && \
8+
pmix pmix-devel libevent libevent-devel python3 python3-devel python3-pip mpich mpich-devel && \
99
dnf clean all
1010

11-
RUN cd $INSTALL_DIR && \
12-
git clone https://github.com/dalcinl/oshmpi -b fix-api-1.5 --recurse-submodules && \
13-
cd oshmpi && \
14-
./autogen.sh && \
15-
./configure CC=/usr/bin/mpicc CXX=/usr/bin/mpicxx --prefix=$INSTALL_DIR/oshmpi/install && \
11+
RUN cd $INSTALL_DIR && \
12+
git clone https://github.com/dalcinl/oshmpi -b fix-api-1.5 --recurse-submodules && \
13+
cd oshmpi && \
14+
./autogen.sh && \
15+
./configure CC=/usr/lib64/mpich/bin/mpicc CXX=/usr/lib64/mpich/bin/mpicxx --prefix=$INSTALL_DIR/oshmpi/install && \
1616
make -j && make install
1717

18-
ENV PATH="/home/shmem/oshmpi/install/bin/:${PATH}"
18+
ENV PATH="/home/shmem/oshmpi/install/bin/:/usr/lib64/mpich/bin/:${PATH}"
1919
RUN ln -s /usr/bin/python3 /usr/bin/python
2020
RUN python -m pip install numpy cffi

0 commit comments

Comments
 (0)