Personal tools
You are here: Home LINC Projects ITI-Geospatial Data Analysis mpiJava weka2.sh

weka2.sh

weka2.sh — text/x-sh, 0Kb

File contents

#!/bin/sh

# Assumes `mpirun' etc are on path.
# Should configure in full pathname of executables?

MPI=mpich
MACHINEFILE=

TESTMODE=0
PNUMBER=0


if [ $1 = -t ] 
then 
 TESTMODE=1
 shift
fi

PNUMBER=$1

shift

  if [ -f machines ]
  then
    /opt/mpich/gnu/bin/mpirun -pg -machinefile ./machines -np $PNUMBER $*
  else
      if test "$MACHINEFILE" != "" 
      then
      /opt/mpich/gnu/bin/mpirun -pg -machinefile $MACHINEFILE -np $PNUMBER $*
      else
      /opt/mpich/gnu/bin/mpirun -pg -machinefile /home/jxw5813/machines.LINUX -np $PNUMBER  $*

      fi
  fi  

 
Document Actions
« May 2012 »
May
MoTuWeThFrSaSu
123456
78910111213
14151617181920
21222324252627
28293031