A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check if smpirun has something to execute
[simgrid.git]
/
src
/
smpi
/
smpirun.in
diff --git
a/src/smpi/smpirun.in
b/src/smpi/smpirun.in
index
07c97f7
..
aea4116
100755
(executable)
--- a/
src/smpi/smpirun.in
+++ b/
src/smpi/smpirun.in
@@
-115,6
+115,13
@@
shift
##-----------------------------------
##-----------------------------------
+# test if we have something to execute, otherwise show usage and exit
+if [ -z ${EXEC} ]
+then
+ echo "Program is missing"
+ usage
+ exit 1
+fi