]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpirun.in
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fixed build_tree to enable MPI broadcasts with root nodes other than 0.
[simgrid.git] / src / smpi / smpirun.in
index 07c97f77c99df41668a0f0f9575d0bb6922758a3..aea4116b554f7049eac33a42aa5798dc02084b5d 100755 (executable)
@@ -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