X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c02acff354ef915c0c88943e73959ca5c081b524..022fcd4dab24301e12c127f24f04c05d90d2d39a:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 33fb52425c..6c62ff44f3 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -34,8 +34,8 @@ SMPITMPDIR="$(dirname $(mktemp -u))" #usage to print the way this script should be called usage () { cat < -hostfile program [program-options] - $0 [OPTIONS] -platform -hostfile -replay [program] [program-options] +Usage: $0 [OPTIONS] -platform -hostfile program [program-options] + $0 [OPTIONS] -platform -hostfile -replay [program] [program-options] Options: -analyze # show information about allocations and timings at the end of execution -keep-temps # don't remove the generated files after execution @@ -336,10 +336,6 @@ fi DEPLOYOPTS="${DEPLOYOPTS} --cfg=smpi/np:${NUMPROCS}" DEPLOYOPTS="${DEPLOYOPTS} --cfg=smpi/hostfile:${HOSTFILE}" -#if [ "${NUMPROCS}" -gt "${hostfile_procs}" ] ; then -# echo "You requested to use ${NUMPROCS} ranks, but there is only ${hostfile_procs} processes in your hostfile..." >&2 -#fi - ##-------------------------------- DEFAULT or SPECIFIED PLATFORM -------------------------------------- if [ -z "${PLATFORM}" ]; then PLATFORMTMP="$(mktemp smpitmp-platfXXXXXX)"