Skip to content

Commit

Permalink
DOCKER: Explicitly allow core oversubscription
Browse files Browse the repository at this point in the history
Core oversubscription should be switched on for tests through
testharness (see issue #182) but doesn't appear to be working,
so explicitly turning it on in the base images.
  • Loading branch information
tmbgreaves committed Apr 7, 2021
1 parent 3af336e commit b44dc99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ENV LD_LIBRARY_PATH /usr/lib/petscdir/3.8.3/linux-gnu-c-opt/lib
ENV LDFLAGS -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
ENV CPPFLAGS -I/usr/include/hdf5/openmpi
ENV OMPI_MCA_btl_vader_single_copy_mechanism none
ENV OMPI_MCA_rmaps_base_oversubscribe 1

# Add a Fluidity user who will be the default user for this container
# Make sure the user has a userid matching the host system
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ENV PETSC_DIR /usr/lib/petscdir/3.12
ENV LDFLAGS -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
ENV CPPFLAGS -I/usr/include/hdf5/openmpi
ENV OMPI_MCA_btl_vader_single_copy_mechanism none
ENV OMPI_MCA_rmaps_base_oversubscribe 1

# Add a Fluidity user who will be the default user for this container
# Make sure the user has a userid matching the host system
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ENV PETSC_DIR /usr/lib/petscdir/3.13
ENV LDFLAGS -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
ENV CPPFLAGS -I/usr/include/hdf5/openmpi
ENV OMPI_MCA_btl_vader_single_copy_mechanism none
ENV OMPI_MCA_rmaps_base_oversubscribe 1
# Add a Fluidity user who will be the default user for this container
# Make sure the user has a userid matching the host system
Expand Down

0 comments on commit b44dc99

Please sign in to comment.