@@ -4,17 +4,32 @@ ENV INSTALL_DIR=/home/shmem
44RUN mkdir /home/shmem
55
66RUN dnf update -y && \
7- dnf install -y git vim wget pkg-config make automake gcc gcc-c++ kernel-devel libtool lbzip2 hwloc hwloc-devel pmix pmix-devel ucx ucx-devel libevent libevent-devel python3 python3-devel python3-pip openmpi && \
7+ 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 valgrind valgrind-devel && \
89 dnf clean all
910
1011RUN cd $INSTALL_DIR && \
11- git clone https://github.com/openshmem-org/osss-ucx osss-ucx && \
12- cd osss-ucx/ && \
13- ./autogen.sh && \
14- ./configure --prefix=$INSTALL_DIR/osss-ucx/install --enable-debug --enable-logging --with-pmix --with-ucx && \
12+ git clone https://github.com/openucx/ucx && \
13+ cd ucx && ./autogen.sh && \
14+ ./contrib/configure-devel --prefix=$INSTALL_DIR/ucx-master/install && \
1515 make -j && make install
1616
17- ENV PATH=$INSTALL_DIR/osss-ucx/install/bin:/usr/lib64/openmpi/bin:"${PATH}" \
17+ RUN cd $INSTALL_DIR && \
18+ wget -c https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.bz2 && \
19+ tar xf openmpi-4.1.4.tar.bz2 && \
20+ cd openmpi-4.1.4 && \
21+ ./configure --enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.4/install \
22+ --with-ucx=/home/shmem/ucx-master/install && \
23+ make -j && make install
24+
25+ RUN cd $INSTALL_DIR && \
26+ git clone https://github.com/openshmem-org/osss-ucx osss-ucx && \
27+ cd osss-ucx/ && \
28+ ./autogen.sh && \
29+ ./configure --prefix=$INSTALL_DIR/osss-ucx/install --enable-debug --enable-logging --with-pmix --with-ucx=/home/shmem/ucx-master/install && \
30+ make -j && make install
31+
32+ ENV PATH=$INSTALL_DIR/osss-ucx/install/bin:/home/shmem/openmpi-4.1.4/install/bin:"${PATH}" \
1833 OMPI_ALLOW_RUN_AS_ROOT=1 \
1934 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
2035
0 commit comments