/[escript]/trunk/bin/run-escript
ViewVC logotype

Diff of /trunk/bin/run-escript

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

revision 4665 by caltinay, Mon Feb 10 03:29:02 2014 UTC revision 4667 by sshaw, Tue Feb 11 00:47:26 2014 UTC
# Line 461  then Line 461  then
461     if [ ! -z "$HOSTFILE" ]     if [ ! -z "$HOSTFILE" ]
462     then     then
463        HOST_LIST=`sort -u "$HOSTFILE" | awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}'`        HOST_LIST=`sort -u "$HOSTFILE" | awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}'`
464        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --bysocket --bind-to-socket --host $HOST_LIST -np $TOTPROC $EXEC_CMD"        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --bynode --bind-to-none --host $HOST_LIST -np $TOTPROC $EXEC_CMD"
465     else     else
466        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --cpus-per-rank $ESCRIPT_NUM_THREADS -np $TOTPROC $EXEC_CMD"        CMD="mpirun --gmca mpi_warn_on_fork 0 -x ${EXPORT_ENV//,/ -x } --cpus-per-rank $ESCRIPT_NUM_THREADS -np $TOTPROC $EXEC_CMD"
467     fi     fi

Legend:
Removed from v.4665  
changed lines
  Added in v.4667

  ViewVC Help
Powered by ViewVC 1.1.26