make OpenMPI only use shared memory comm by default and silence some warnings

This commit is contained in:
Axel Kohlmeyer
2020-05-07 18:15:57 -04:00
parent d7650e8e02
commit eefeaf4d25
10 changed files with 54 additions and 4 deletions

View File

@ -45,6 +45,11 @@ EOF
# load MPI by default # load MPI by default
. /etc/profile . /etc/profile
module load mpi module load mpi
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger

View File

@ -50,6 +50,11 @@ EOF
# load MPI by default # load MPI by default
. /etc/profile . /etc/profile
module load mpi module load mpi
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger

View File

@ -65,6 +65,11 @@ EOF
# load MPI by default # load MPI by default
. /etc/profile . /etc/profile
module load mpi module load mpi
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger

View File

@ -28,6 +28,11 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger

View File

@ -83,6 +83,11 @@ EOF
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
export PATH=/usr/lib/ccache:$PATH export PATH=/usr/lib/ccache:$PATH
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger

View File

@ -89,6 +89,11 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author rbberger, akohlmey Author rbberger, akohlmey

View File

@ -116,6 +116,11 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author rbberger, akohlmey Author rbberger, akohlmey

View File

@ -80,8 +80,13 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author rbberger, akohlmey Author rbberger, akohlmey

View File

@ -79,8 +79,13 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author rbberger, akohlmey Author rbberger, akohlmey

View File

@ -79,6 +79,11 @@ EOF
%environment %environment
LC_ALL=C LC_ALL=C
export LC_ALL export LC_ALL
# restrict OpenMPI to shared memory comm by default
OMPI_MCA_btl="sm,self"
# do not warn about unused components as this messes up testing
OMPI_MCA_btl_base_warn_component_unused="0"
export OMPI_MCA_btl OMPI_MCA_btl_base_warn_component_unused
%labels %labels
Author akohlmey, rbberger Author akohlmey, rbberger