X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/24b8429324bafd6b563851a0151d5e3ee9e95e14..dbe918800fbc9d06617113c8a71b363e09bbbf20:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index e7fbeab601..1770c4b4db 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -20,7 +20,7 @@ SIMOPTS="--cfg=maxmin/precision:1e-9 --cfg=network/model:SMPI --cfg=network/TCP_ #usage to print the way this script should be called function usage () { echo "usage:" - echo "$0 [-quiet] [-keep-temps]" + echo "$0 [-keep-temps]" echo " [-np ] -platform -hostfile [-map] program [program-options]" echo " [-keep-temps] # don't remove the generated files after execution" echo " [-map] # display the machine on which each process rank is mapped" @@ -32,7 +32,7 @@ function usage () { echo " [-trace-triva] # generate configuration for Triva's GraphView" echo " [-trace-file ] # name of the tracefile (simgrid_smpi.trace)" echo "or (deprecated usage):" - echo "$0 [-quiet] [-keep-temps] [-np ] [-bandwidth ] [-latency ] program [program-options]" + echo "$0 [-keep-temps] [-np ] [-bandwidth ] [-latency ] program [program-options]" echo } @@ -155,8 +155,7 @@ fi if [ ${NUMPROCS} -gt ${hostfile_procs} ] ; then - echo "You requested to use ${NUMPROCS} processes, but there is only ${hostfile_procs} processes in your hostfile..." - exit 1 + echo "You requested to use ${NUMPROCS} processes, but there is only ${hostfile_procs} processes in your hostfile..." >&2 fi ##-------------------------------- DEFAULT or SPECIFIED PLATFORM --------------------------------------