/[escript]/trunk/run-escript.in
ViewVC logotype

Diff of /trunk/run-escript.in

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

revision 4970 by caltinay, Tue May 27 03:47:04 2014 UTC revision 4973 by sshaw, Wed May 28 06:02:38 2014 UTC
# Line 486  then Line 486  then
486        mpdboot -n $ESCRIPT_NUM_NODES -r ssh -f "$HOSTFILE"        mpdboot -n $ESCRIPT_NUM_NODES -r ssh -f "$HOSTFILE"
487        if [ $? -ne 0 ]        if [ $? -ne 0 ]
488        then        then
489           echo "mpdboot with host file $ESCRIPT_HOSTFILE for $ESCRIPT_NUM_NODES nodes failed."           echo "mpdboot with host file $HOSTFILE for $ESCRIPT_NUM_NODES nodes failed."
490           exit 1           exit 1
491        else        else
492            if [ ! -z $ESCRIPT_VERBOSE ]; then echo "mpdboot was started with host file $ESCRIPT_HOSTFILE for $ESCRIPT_NUM_NODES nodes."; fi            if [ ! -z $ESCRIPT_VERBOSE ]; then echo "mpdboot was started with host file $HOSTFILE for $ESCRIPT_NUM_NODES nodes."; fi
493        fi        fi
494     else     else
495        mpdboot -n 1 -r ssh        mpdboot -n 1 -r ssh
# Line 544  then Line 544  then
544           mpdboot -n $ESCRIPT_NUM_NODES -r ssh -f "$HOSTFILE"           mpdboot -n $ESCRIPT_NUM_NODES -r ssh -f "$HOSTFILE"
545           if [ $? -ne 0 ]           if [ $? -ne 0 ]
546           then           then
547              echo "mpdboot with host file $ESCRIPT_HOSTFILE for $ESCRIPT_NUM_NODES nodes failed."              echo "mpdboot with host file $HOSTFILE for $ESCRIPT_NUM_NODES nodes failed."
548              exit 1              exit 1
549           else           else
550               if [ ! -z $ESCRIPT_VERBOSE ]; then echo "mpdboot was started with host file $ESCRIPT_HOSTFILE for $ESCRIPT_NUM_NODES nodes."; fi               if [ ! -z $ESCRIPT_VERBOSE ]; then echo "mpdboot was started with host file $HOSTFILE for $ESCRIPT_NUM_NODES nodes."; fi
551           fi           fi
552     else     else
553        mpdboot -n 1 -r ssh        mpdboot -n 1 -r ssh

Legend:
Removed from v.4970  
changed lines
  Added in v.4973

  ViewVC Help
Powered by ViewVC 1.1.26