Submitting serial/SMP jobs


All the serial or SMP-parallel jobs, that is using only shared memory, have to be run on the smp and up queues. A quick overview of the usage limitations and job submission syntax is displayed in the table below, detailed instructions are available on the page following it.

Queue NameMin. CPU #Max. CPU #Max. walltimeQuick submission how-to
smprouting queueqsub -q smp -l ncpus=#cpu
smp44496hn.a.
smp2*2296hn.a.
up*1196hn.a.

To submit a job to the smp node you need to specify the queue with the -q option like this

#PBS -q smp

and then request the number of processors you need with the -l option

#PBS -l ncpus=4

Serial jobs: to run a serial job you should request only 1 cpu and you will be automatically redirected to the up queue.

In any case don't forget to specify the wall clock time needed with the -l option, e.g.:

#PBS -l walltime=2:00:00

To submit an MPI job you have to type something like

mpirun -np 4 ./myexe

Note: The -np option is mandatory on the smp queue.

An example script requesting a 2 cpu node should look like this

#PBS -N mysmpjob
#PBS -q smp
#PBS -l ncpus=2
#PBS -l walltime=6:00:00

source /etc/profile.d/modules.sh
module purge
module load intel
module load openmpi
module load mkl

cd /lustre/mydir/myprog/

mpirun -np 2 ./myexe