Personal tools
You are here: Home Documents kuu PBS on kuu

PBS on kuu

— filed under:
last modified Mar 08, 2008 11:29 AM

How to run PBS on kuu cluster

General instructions

Programs qsub, qstat, qdel

, ...

 

The hello PBS

hello.pbs:

#! /bin/sh

echo Hello PBS and listing of working directory
cd $PBS_O_WORKDIR
ls -l

qsub hello.pbs
>>> 1135.kuu
qstat
less hello.pbs.o1135

Specifying number of processors

Either on command line (ppn - processors per node)

qsub -l nodes=3:ppn=2 hello.pbs

or in PBS script

#PBS -l nodes=3:ppn=2

Examples

DOUG with OpenMPI

#!/bin/sh --login

### Job name, number of nodes and processors per node
#PBS -N DOUG-pbs
#PBS -l nodes=4:ppn=2
NP=8

### Run the application
module load doug/doug-openmpi-1.2.5-gfortran64
cd $PBS_O_WORKDIR
mpirun -np $NP /home/olegus/doug/doug_openmpi-gfortran64/src/main/doug_aggr -f DOUG.ctl

echo --- DOUG returned $?

 

Document Actions
« December 2017 »
December
MonTueWedThuFriSatSun
123
45678910
11121314151617
18192021222324
25262728293031