Skip to content

Commit

Permalink
Change Open MPI configure options
Browse files Browse the repository at this point in the history
  • Loading branch information
mrogowski committed Nov 15, 2023
1 parent a088bc3 commit 2a3d185
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
8 changes: 5 additions & 3 deletions docker/oshmem_fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ RUN cd $INSTALL_DIR
wget -c https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2 && \
tar xf openmpi-4.1.6.tar.bz2 && \
cd openmpi-4.1.6 && \
./configure --enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install \
--with-ucx=/home/shmem/ucx/install && \
make -j && make install
./configure --disable-dependency-tracking --enable-debug --enable-mem-debug \
--disable-sphinx --disable-man-pages --disable-mpi-fortran \
--with-ucx=/home/shmem/ucx/install \
--enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install && \
make -j 2 install

ENV PATH=/home/shmem/openmpi-4.1.6/install/bin:"${PATH}" \
OMPI_ALLOW_RUN_AS_ROOT=1 \
Expand Down
10 changes: 6 additions & 4 deletions docker/oshmem_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ RUN cd $INSTALL_DIR
tar xf v1.15.0.tar.gz && \
cd ucx-1.15.0 && ./autogen.sh && \
./configure CFLAGS=-Wno-error --prefix=$INSTALL_DIR/ucx/install --disable-debug --disable-assertions --disable-params-check && \
make -j && make install
make -j 2 && make install

RUN cd $INSTALL_DIR && \
wget -c https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2 && \
tar xf openmpi-4.1.6.tar.bz2 && \
cd openmpi-4.1.6 && \
./configure --enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install \
--with-ucx=/home/shmem/ucx/install && \
make -j && make install
./configure --disable-dependency-tracking --enable-debug --enable-mem-debug \
--disable-sphinx --disable-man-pages --disable-mpi-fortran \
--with-ucx=/home/shmem/ucx/install \
--enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install && \
make -j 2 install

ENV PATH=/home/shmem/openmpi-4.1.6/install/bin:"${PATH}" \
OMPI_ALLOW_RUN_AS_ROOT=1 \
Expand Down
8 changes: 5 additions & 3 deletions docker/osss_fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ RUN cd $INSTALL_DIR
wget -c https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2 && \
tar xf openmpi-4.1.6.tar.bz2 && \
cd openmpi-4.1.6 && \
./configure --enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install \
--with-ucx=/home/shmem/ucx/install && \
make -j && make install
./configure --disable-dependency-tracking --enable-debug --enable-mem-debug \
--disable-sphinx --disable-man-pages --disable-mpi-fortran \
--with-ucx=/home/shmem/ucx/install \
--enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install && \
make -j 2 install

RUN cd $INSTALL_DIR && \
git clone https://github.com/openshmem-org/osss-ucx osss-ucx && \
Expand Down
8 changes: 5 additions & 3 deletions docker/osss_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ RUN cd $INSTALL_DIR
wget -c https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.6.tar.bz2 && \
tar xf openmpi-4.1.6.tar.bz2 && \
cd openmpi-4.1.6 && \
./configure --enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install \
--with-ucx=/home/shmem/ucx/install && \
make -j && make install
./configure --disable-dependency-tracking --enable-debug --enable-mem-debug \
--disable-sphinx --disable-man-pages --disable-mpi-fortran \
--with-ucx=/home/shmem/ucx/install \
--enable-oshmem --prefix=$INSTALL_DIR/openmpi-4.1.6/install && \
make -j 2 install

RUN cd $INSTALL_DIR && \
git clone https://github.com/openshmem-org/osss-ucx osss-ucx && \
Expand Down

0 comments on commit 2a3d185

Please sign in to comment.