X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8d628b79ad8699f85bc5483891b6834161709c07..268fb240b28aeba1e066b2163cad6ba0016e545f:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index ac444b7075..a8c75e1290 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -323,7 +323,7 @@ if [ -z "${NUMPROCS}" ] ; then fi if [ ${NUMPROCS} -gt ${hostfile_procs} ] ; then - echo "You requested to use ${NUMPROCS} processes, but there is only ${hostfile_procs} processes in your hostfile..." >&2 + echo "You requested to use ${NUMPROCS} ranks, but there is only ${hostfile_procs} processes in your hostfile..." >&2 fi ##-------------------------------- DEFAULT or SPECIFIED PLATFORM -------------------------------------- @@ -333,8 +333,8 @@ if [ -z "${PLATFORM}" ]; then cat > ${PLATFORMTMP} < - - + + PLATFORMHEAD i=${NUMPROCS} @@ -360,7 +360,7 @@ PLATFORMHEAD done cat >> ${PLATFORMTMP} < + PLATFORMFOOT @@ -375,7 +375,7 @@ APPLICATIONTMP="$(mktemp smpitmp-appXXXXXX)" cat > ${APPLICATIONTMP} < - + APPLICATIONHEAD ##---- cache hostnames of hostfile--------------- @@ -415,7 +415,7 @@ fi set -- $hostnames -##---- generate tags------------------------------ +##---- generate tags------------------------------ #prepare arguments at once for ARG in $PROC_ARGS; do XML_ARGS="${XML_ARGS}"" @@ -427,12 +427,12 @@ do j=$(( $i % ${hostfile_procs} + 1 )) host=$(eval "echo \${$j}") - ##---- optional display of ranks to process mapping + ##---- optional display of ranks to actor mapping if [ ${MAPOPT} = 1 ]; then echo "[rank $i] -> $host" fi - echo " + echo " " >> ${APPLICATIONTMP} if [ ${REPLAY} = 1 ]; then @@ -444,7 +444,7 @@ do else echo ${XML_ARGS} >> ${APPLICATIONTMP} fi - echo " " >> ${APPLICATIONTMP} + echo " " >> ${APPLICATIONTMP} done cat >> ${APPLICATIONTMP} <