Using PBS/Maui

From Earlham Cluster Department

Jump to: navigation, search

#!/bin/sh
#PBS -N primes_block
#PBS -o /cluster/home/skylar/athena/src/primes4/out.txt
#PBS -e /cluster/home/skylar/athena/src/primes4/err.txt
#PBS -q batch
#PBS -m abe

lamboot -v /cluster/home/skylar/athena/lam-bhost.def
mpirun C /cluster/home/skylar/athena/src/primes4/primes_block -n 1000000 -s 500
lamhalt
exit $!

-N gives the job name. -o tells PBS where to copy STDOUT to. -e tells PBS where to copy STDERR to. -q tells PBS which queue to submit the job to. -m abe tells PBS what mail options to use. abe enables all mail information.

qsub -l nodes=8,cput=0:30:0 ./primes_pbs.sh
This will request 8 nodes for a total of 30 minutes CPU time.

Personal tools
Namespaces
Variants
Actions
websites
wiki
this semester
Toolbox