From 4d7818fa989ea0c627ac582b4002c82c0ea2861a Mon Sep 17 00:00:00 2001 From: Marcin Rogowski Date: Wed, 15 Nov 2023 16:30:44 +0300 Subject: [PATCH] Change Open MPI configure options --- docker/oshmem_ubuntu/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/oshmem_ubuntu/Dockerfile b/docker/oshmem_ubuntu/Dockerfile index 72ec4f3..69661d4 100644 --- a/docker/oshmem_ubuntu/Dockerfile +++ b/docker/oshmem_ubuntu/Dockerfile @@ -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 && make install ENV PATH=/home/shmem/openmpi-4.1.6/install/bin:"${PATH}" \ OMPI_ALLOW_RUN_AS_ROOT=1 \