/[escript]/branches/py3_attempt2/bin/run-escript
ViewVC logotype

Diff of /branches/py3_attempt2/bin/run-escript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2462 by jfenwick, Fri Jun 5 06:04:01 2009 UTC revision 2491 by gross, Wed Jun 24 00:03:08 2009 UTC
# Line 360  then Line 360  then
360     if [ ! -z $HOSTFILE ]     if [ ! -z $HOSTFILE ]
361     then     then
362        HOST_LIST=`awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}' $HOSTFILE`        HOST_LIST=`awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}' $HOSTFILE`
363        CMD="mpirun  --bynode -np $TOTPROC --host $HOST_LIST $EXEC_CMD"        CMD="mpirun -x ${EXPORT_ENV//,/ -x } --bynode -np $TOTPROC --host $HOST_LIST $EXEC_CMD"
364     else     else
365        CMD="mpirun -np $TOTPROC $EXEC_CMD"        CMD="mpirun -x ${EXPORT_ENV//,/ -x } -np $TOTPROC $EXEC_CMD"
366     fi     fi
367     if [ ! -z $ESCRIPT_VERBOSE ]; then echo "MPI command is \"$CMD\"."; fi     if [ ! -z $ESCRIPT_VERBOSE ]; then echo "MPI command is \"$CMD\"."; fi
368     $CMD     $CMD

Legend:
Removed from v.2462  
changed lines
  Added in v.2491

  ViewVC Help
Powered by ViewVC 1.1.26