sun grid engine?
Tim Wait
waitt at saic.com
Thu Mar 27 08:33:43 PST 2003
Philippe Blaise - GRENOBLE wrote:
> Sorry but,
> does anyone try to run a parallel MPI application under SGE ?
Every day. SGE is no different in it's behaviour with
parallel jobs than any other resource manager. Well, slightly
different... syntatically mostly.
ie, here's a sample job script:
#!/bin/sh
#$ -N myjob
#$ -S /bin/csh
#$ -o job.out
#$ -e job.err
#$ -cwd
#
#$ -pe mpi 8
#
# This is to reformat the hostfile into something MPICH and ScaMPI can use.
#
/home/sge/mpi/startmpi.sh $PE_HOSTFILE
# Launch the job
mpirun -np $NSLOTS -machinefile $TMPDIR/machines ./myjob
More information about the Beowulf
mailing list