X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e472a6023eb14e7396b16fa4eb47c805d8f4acf..0c4ab02e1487df55a599da87b9299664fed0f23d:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 750e28f0a0..3016954230 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -25,7 +25,7 @@ SPEED="${DEFAULT_SPEED}" PRIVATIZE="--cfg=smpi/privatization:@HAVE_PRIVATIZATION@" -SIMOPTS="--cfg=surf/precision:1e-9 --cfg=network/model:SMPI --cfg=network/TCP-gamma:4194304" +SIMOPTS="--cfg=surf/precision:1e-9 --cfg=network/model:SMPI" #usage to print the way this script should be called usage () { @@ -44,7 +44,6 @@ Options: -trace-comment-file # put file contents on the top of the trace file as comment -trace-grouped # group MPI processes by location -trace-resource # trace resource utilization - -trace-viva # generate configuration for Viva's GraphView -trace-file # name of the tracefile (simgrid_smpi.trace) -ext # additional parameter (reserved) @@ -147,14 +146,7 @@ while true; do fi shift 2 ;; - "-hostfile") - HOSTFILE="$2" - if [ ! -f "${HOSTFILE}" ]; then - die "the file '${HOSTFILE}' does not exist" - fi - shift 2 - ;; - "-machinefile") + "-hostfile" | "-machinefile") HOSTFILE="$2" if [ ! -f "${HOSTFILE}" ]; then die "the file '${HOSTFILE}' does not exist" @@ -202,10 +194,6 @@ while true; do TRACE_RESOURCE="true" shift 1 ;; - "-trace-viva") - TRACE_VIVA="true" - shift 1 - ;; "-keep-temps") KEEP="true" SIMOPTS="$SIMOPTS --cfg=smpi/keep-temps:yes" @@ -434,7 +422,7 @@ do fi echo " - + " >> ${APPLICATIONTMP} if [ ${REPLAY} = 1 ]; then if [ ${NUMTRACES} -gt 1 ]; then @@ -482,10 +470,6 @@ if [ -n "${TRACE_ACTIVE}" ]; then if [ -n "${TRACE_RESOURCE}" ]; then TRACEOPTIONS="${TRACEOPTIONS} --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes" fi - - if [ -n "${TRACE_VIVA}" ]; then - TRACEOPTIONS="${TRACEOPTIONS} --cfg=viva/categorized:smpi_cat.plist --cfg=viva/uncategorized:smpi_uncat.plist" - fi fi ##---------------------- end SMPI TRACING OPTIONS --------------------------------- @@ -521,7 +505,7 @@ pid="" # Keep temporary files on failures to help debugging # if [ ${status} -ne 0 ] ; then - if [ -z ${KEEP} ]; then + if [ -z "${KEEP}" ]; then echo ${EXEC} ${PRIVATIZE} ${TRACEOPTIONS} ${SIMOPTS} ${PLATFORMTMP} ${APPLICATIONTMP} if [ ${HOSTFILETMP} = 1 ] ; then echo "Generated hostfile ${HOSTFILE} kept."