Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN apt-get update && \

# Install for basic base not containing it
RUN apt-get install -y wget flex libnuma-dev hwloc curl cmake git \
autoconf libtool build-essential procps software-properties-common
autoconf libtool build-essential procps software-properties-common \
pkgconf gfortran libopenblas-serial-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why serial? The generic one enforce parallel?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not 100% sure on this but I went for the simpler/safer option for now based on various statements made here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the default (non-serial) will respect $OMP_NUM_THREADS


# Install gcc
RUN if [ -n "$gcc" ]; then \
Expand All @@ -43,7 +44,6 @@ RUN cd /tmp && mkdir openmpi && \
cd openmpi && ./autogen.pl && \
mkdir build && cd build && \
../configure --prefix=/opt/openmpi/ \
--disable-mpi-fortran \
--enable-mca-no-build=btl-uct --enable-mpi1-compatibility && \
make -j ${nproc} && \
make install && \
Expand Down
Loading