/[escript]/trunk/scripts/finley_wrapper_template
ViewVC logotype

Diff of /trunk/scripts/finley_wrapper_template

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

revision 2364 by gross, Fri Apr 3 08:06:30 2009 UTC revision 2365 by gross, Mon Apr 6 01:25:25 2009 UTC
# Line 335  then Line 335  then
335  #=============== OpenMPI ===================================  #=============== OpenMPI ===================================
336  elif [ $MPI_FLAVOUR == "OPENMPI" ]  elif [ $MPI_FLAVOUR == "OPENMPI" ]
337  then  then
338     echo "OPENMPI not implemented yet."     if [ ! -z $HOSTFILE ]
339       then
340          HOST_LIST=`awk 'BEGIN{S=""}{if (S == "") { S = $0 } else {S = S "," $0}}END{print S}' $HOSTFILE`
341          CMD="mpirun  --bynode -np $TOTPROC --host $HOST_LIST $EXEC_CMD"
342       else
343          CMD="mpirun -np $TOTPROC $EXEC_CMD"
344       fi
345       if [ ! -z $ESCRIPT_VERBOSE ]; then echo "MPI command is \"$CMD\"."; fi
346       $CMD
347       EXIT_CODE=$?
348    
349  #=============== Intel MPI ===================================  #=============== Intel MPI ===================================
350  elif [ $MPI_FLAVOUR == "INTELMPI" ]  elif [ $MPI_FLAVOUR == "INTELMPI" ]

Legend:
Removed from v.2364  
changed lines
  Added in v.2365

  ViewVC Help
Powered by ViewVC 1.1.26