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
|
# 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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user