Skip to content

Commit 0d085d4

Browse files
authored
Disable UCX and libfabric vy default for OpenFOAM example
1 parent bc410f1 commit 0d085d4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

OpenFOAM/run.sh

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22

33
if [[ $EESSI_CVMFS_REPO == "/cvmfs/software.eessi.io" ]] && [[ $EESSI_VERSION == "2023.06" ]]; then
44
echo "Running demo for OpenFOAM v11 ..."
5-
export OMPI_MCA_rmaps_base_oversubscribe=true
5+
6+
# Allow oversubscription in case we don't have enough available cores
7+
export OMPI_MCA_rmaps_base_oversubscribe=${OMPI_MCA_rmaps_base_oversubscribe:-"true"}
8+
# By default disable UCX and libfabric since we typically run these examples on demo nodes without fast interconnect
9+
export OMPI_MCA_osc=${OMPI_MCA_osc:-"^ucx"}
10+
export OMPI_MCA_btl=${OMPI_MCA_btl:-"^openib,ofi"}
11+
export OMPI_MCA_pml=${OMPI_MCA_pml:-"^ucx"}
12+
export OMPI_MCA_mtl=${OMPI_MCA_mtl:-"^ofi"}
13+
614
./bike_OpenFOAM_v11.sh
715
else
816
echo "Don't know which OpenFOAM module to load for ${EESSI_CVMFS_REPO}/versions/${EESSI_VERSION}" >&2

0 commit comments

Comments
 (0)