Source
2
2
#
3
3
# Arguments:
4
4
#
5
5
# $1 - Number of MPI Tasks
6
6
# $2+ - Executable and its arguments
7
7
#
8
8
9
9
NP=$1
10
10
shift
11
11
12
-
echo "NP = $NP"
13
-
echo "args = $@"
14
-
15
12
mpirun.lsf $@ -n$NP
#
# Arguments:
#
# $1 - Number of MPI Tasks
# $2+ - Executable and its arguments
#
NP=$1
shift
echo "NP = $NP"
echo "args = $@"
mpirun.lsf $@ -n$NP