X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de7a0e75901e65323b77e9cf9b7f67e8c2b8b55..73e97710413bba3ee2ae8baab0537fbd78811016:/examples/smpi/replay_multiple/generate_multiple_deployment.sh diff --git a/examples/smpi/replay_multiple/generate_multiple_deployment.sh b/examples/smpi/replay_multiple/generate_multiple_deployment.sh index 18ff4104e3..1159b9ccbd 100755 --- a/examples/smpi/replay_multiple/generate_multiple_deployment.sh +++ b/examples/smpi/replay_multiple/generate_multiple_deployment.sh @@ -65,7 +65,7 @@ while [ $# -gt 0 ]; do ;; *) PROC_ARGS="${PROC_ARGS:+$PROC_ARGS }$1" - shift + shift ;; esac done @@ -135,13 +135,13 @@ if [ -n "${DESCRIPTIONFILE}" ] && [ -f "${DESCRIPTIONFILE}" ]; then instance=$(echo "$line"|cut -d' ' -f1) hosttrace=$(tr '\n\r' ' ' < $(echo "$line"|cut -d' ' -f2)) NUMPROCSMINE=$(wc -l < $(echo "$line"|cut -d' ' -f2)) - + if [ $NUMPROCSMINE != $(echo "$line"|cut -d' ' -f3) ]; then echo "declared num of processes for instance $instance : $(echo "$line"|cut -d' ' -f3) is not the same as the one in the replay files : $NUMPROCSMINE. Please check consistency of these information" exit 1 fi - + sleeptime=$(echo "$line"|cut -d' ' -f4) HAVE_SEQ=$(which seq 2>/dev/null) @@ -179,7 +179,7 @@ if [ -n "${DESCRIPTIONFILE}" ] && [ -f "${DESCRIPTIONFILE}" ]; then echo " " echo " " echo " " - + echo " " echo " " } >> "${APPLICATIONTMP}"