X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3080c6b0d097d6b3b7d5b3dda0592154ce438f64..d2e08004d48f0cef99d943d253e2f1dd0b8470b0:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index e151fb37ae..67e4624d23 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -23,7 +23,7 @@ NETWORK_BANDWIDTH="${DEFAULT_NETWORK_BANDWIDTH}" NETWORK_LATENCY="${DEFAULT_NETWORK_LATENCY}" POWER="${DEFAULT_POWER}" -SIMOPTS="--cfg=maxmin/precision:1e-3 --cfg=surf/precision:1e-9 --cfg=network/model:SMPI --cfg=network/TCP_gamma:4194304" +SIMOPTS="--cfg=surf/precision:1e-9 --cfg=network/model:SMPI --cfg=network/TCP_gamma:4194304" #usage to print the way this script should be called usage () { @@ -343,9 +343,9 @@ if [ -n "${HAVE_SEQ}" ]; then SEQ=`${HAVE_SEQ} 0 $((${NUMPROCS}-1))` else cnt=0 - while (( $cnt < ${NUMPROCS} )) ; do - SEQ="$SEQ $cnt" - cnt=$((cnt + 1)); + while [ $cnt -lt ${NUMPROCS} ] ; do + SEQ="$SEQ $cnt" + cnt=$((cnt + 1)); done fi