X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/348ba0596f69e01dc4b00dcf5af6d2874e50b31d..8c416e92254512408c1d0ce729e8d3cf82ec9938:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index a3ce85809a..4f93d34dea 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Copyright (c) 2007-2016, The SimGrid Team. All rights reserved. +# Copyright (c) 2007-2018. 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. @@ -158,7 +158,7 @@ while true; do shift 2 ;; "-no-privatize") - PRIVATIZE="" + PRIVATIZE="--cfg=smpi/privatization:no" shift 1 ;; "-map") @@ -255,7 +255,7 @@ while [ $# -gt 0 ]; do ;; *) PROC_ARGS="${PROC_ARGS:+$PROC_ARGS }$1" - shift + shift ;; esac done @@ -270,12 +270,12 @@ if [ -z "${HOSTFILE}" ] ; then HOSTFILETMP=1 HOSTFILE="$(mktemp smpitmp-hostfXXXXXX)" perl -ne 'print "$1\n" if /.*.*/' ${PLATFORM} > ${HOSTFILE} - perl -ne 'if (/.*" >> ${APPLICATIONTMP} fi - else + else echo ${XML_ARGS} >> ${APPLICATIONTMP} fi echo " " >> ${APPLICATIONTMP} @@ -480,7 +480,7 @@ if [ -n "${KEEP}" ] ; then echo "Generated hostfile ${HOSTFILE} kept." fi if [ ${UNROLLEDHOSTFILETMP} = 1 ] ; then - echo "Generated unrolled hostfile ${UNROLLEDHOSTFILE} kept." + echo "Generated unrolled hostfile ${UNROLLEDHOSTFILE} kept." fi fi