make OpenMPI only use shared memory comm by default and silence some warnings
This commit is contained in:
@ -45,6 +45,11 @@ EOF
|
||||
# load MPI by default
|
||||
. /etc/profile
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
@ -50,6 +50,11 @@ EOF
|
||||
# load MPI by default
|
||||
. /etc/profile
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
@ -65,6 +65,11 @@ EOF
|
||||
# load MPI by default
|
||||
. /etc/profile
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
@ -28,6 +28,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
@ -83,6 +83,11 @@ EOF
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
@ -89,6 +89,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author rbberger, akohlmey
|
||||
|
||||
@ -116,6 +116,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author rbberger, akohlmey
|
||||
|
||||
@ -82,6 +82,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author rbberger, akohlmey
|
||||
|
||||
@ -81,6 +81,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author rbberger, akohlmey
|
||||
|
||||
@ -79,6 +79,11 @@ EOF
|
||||
%environment
|
||||
LC_ALL=C
|
||||
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
|
||||
Author akohlmey, rbberger
|
||||
|
||||
Reference in New Issue
Block a user