Skip to content

Commit 82bbe9f

Browse files
committed
Add OpenMPI oversubscription overrides
to get (Fedora) ci to work in docker container.
1 parent 8852248 commit 82bbe9f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.ci_fedora.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ test . != ".$1" && mpi="$1" || mpi=openmpi
3737
cp -a /tmp/BOUT-dev /home/test/
3838
. /etc/profile.d/modules.sh
3939
module load mpi/${1}-x86_64
40-
export OMPI_MCA_rmaps_base_oversubscribe=yes
40+
# OpenMPI Oversubscription Overrides
41+
export OMPI_MCA_rmaps_base_oversubscribe=1
42+
export OMPI_MCA_hwloc_base_binding_policy=none
43+
export OMPI_MCA_rmaps_base_mapping_policy=core:OVERSUBSCRIBE
44+
export PRTE_MCA_rmaps_default_mapping_policy=core:OVERSUBSCRIBE
4145
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
4246
export TRAVIS=true
4347
# Try limiting openmp threads

0 commit comments

Comments
 (0)