X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/63c781b21095f0ab33f6d1194edc4fe82a578287..34e473aabe6f1180559eff2f2743e60105055116:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 466610e323..da48f7c766 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. +# Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. # This program is free software; you can redistribute it and/or modify it # under the terms of the license (GNU LGPL) which comes with this package. @@ -42,7 +42,7 @@ Options: -np # use that amount of processes from the hostfile. # By default, all processes of the hostfile are used. -no-privatize # Disable the globals privatization, that is activated by default - -trace-ti # activate time independant tracing (for replay, default in smpi_simgrid.txt) + -trace-ti # activate time independent tracing (for replay, default in smpi_simgrid.txt) -trace # activate tracing (Paje, default in smpi_simgrid.trace) -trace-comment # put a comment on the top of the trace file -trace-comment-file # put file contents on the top of the trace file as comment @@ -527,7 +527,7 @@ fi # Do not remove, this variable may be used by user code (e.g. StarPU) export SMPI_GLOBAL_SIZE=${NUMPROCS} -if [ -n "${KEEP}" ] ; then +if [ -n "${KEEP}" -a -z "${QUIET}" ] ; then echo ${EXEC} ${PRIVATIZE} ${TRACEOPTIONS} ${SIMOPTS} ${PLATFORMTMP} ${APPLICATIONTMP} if [ ${HOSTFILETMP} = 1 ] ; then echo "Generated hostfile ${HOSTFILE} kept." @@ -546,7 +546,7 @@ fi # * The job is launched in the background in order to be able to handle signals. # # * The FD 3 is used to temporarily store FD 1. This is because the shell connects FD 1 to /dev/null when the command -# is launched in the background: this can be overriden in bash but not in standard bourne shell. +# is launched in the background: this can be overridden in bash but not in standard bourne shell. exec 3<&0 ${WRAPPER} "@SMPIMAIN@" ${EXEC} ${PRIVATIZE} ${TRACEOPTIONS} ${SIMOPTS} ${PLATFORMTMP} ${APPLICATIONTMP} <&3 3>&- & pid=$!