diff --git a/cmake/mpiexec.nwsc b/cmake/mpiexec.nwsc deleted file mode 100755 index bf735175ed9..00000000000 --- a/cmake/mpiexec.nwsc +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# -# Arguments: -# -# $1 - Number of MPI Tasks -# $2+ - Executable and its arguments -# - -NP=$1 -shift -if [[ "$LMOD_FAMILY_MPI" == "openmpi" ]] -then - mpirun -np $NP $@ -else - mpiexec_mpt -n $NP $@ -fi diff --git a/cmake/mpiexec.nwscla b/cmake/mpiexec.nwscla index 1004e573333..bf735175ed9 100755 --- a/cmake/mpiexec.nwscla +++ b/cmake/mpiexec.nwscla @@ -8,7 +8,7 @@ NP=$1 shift -if [ $LMOD_FAMILY_MPI -eq "openmpi" ] +if [[ "$LMOD_FAMILY_MPI" == "openmpi" ]] then mpirun -np $NP $@ else