From waitt@saic.com Thu Mar 27 14:42:37 2003
Date: Thu, 27 Mar 2003 11:33:43 -0500
From: Tim Wait <waitt@saic.com>
To: Philippe Blaise - GRENOBLE <philippe.blaise@cea.fr>
Cc: beowulf@beowulf.org
Subject: Re: sun grid engine?

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


_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
