Job Submission for PBS
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Jaco Schieke spam4jaco at yahoo.comWed Apr 18 22:34:38 PDT 2001
- Previous message: Job Submission for PBS
- Next message: CCL:Linux on PowerPC (fwd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > I am looking at needing a
> > number of different queues for anything from things like matlab jobs, to
> > fluent/fidap jobs, and to mpi runs and I want to keep the confusion to a
> > minimum.
>
> I'd suggest writing a shell script for each kind of job. For
> example:
>
> batch_run_matlab matlab_input
> batch_run_fluent fluent_input
>
Here's what were using. It does not address queues, but does MPI.
cd $PBS_O_WORKDIR
umask 022
NPROCS=`cat $PBS_NODEFILE | wc -l`
MPIRUN_ARGS="-v -machinefile ${PBS_NODEFILE} -np ${NPROCS}"
DACAPOEXE="dacapo.run_mpi"
echo mpirun ${MPIRUN_ARGS} /usr/local/bin/${DACAPOEXE} $*
mpirun ${MPIRUN_ARGS} /usr/local/bin/${DACAPOEXE} $*
RSH="/usr/local/bin/ssh -a -k -n -x"
KILL="/usr/local/bin/skill -v -9"
for node in `cat $PBS_NODEFILE`
do
$RSH $node $KILL $DACAPOEXE
done
Jaco Schieke
- Previous message: Job Submission for PBS
- Next message: CCL:Linux on PowerPC (fwd)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
