Unverified Commit eefeaf4d authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent d7650e8e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+5 −0
Original line number Diff line number Diff line
@@ -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
+5 −0
Original line number Diff line number Diff line
@@ -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
+5 −0
Original line number Diff line number Diff line
@@ -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
+5 −0
Original line number Diff line number Diff line
@@ -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
Loading