Personal tools
You are here: Home User Support User Documentation DEISA Batch Systems 5 NQS II

5 NQS II

5.1 NQS II Commands

qsub <jobscript>

Submit the jobscript file

qstat

Display all queued jobs

qstat –Q

Status of queues

qdel <job_id>

Delete a job

5.2 NQS II Directives

#PBS -q multi

queue: dq  for <=8 CPUs

#PBS -T mpisx

Job type: mpisx for MPI

#PBS -l cpunum_job= <number of cores per node>

cpus per Node

#PBS -b <number of nodes>

number of nodes

#PBS -l elapstim_req= <HH:MM:SS>

max wallclock time

#PBS -l memsz_job=<memory per node>

memory per node

#PBS -A  <account code>

Your Account code

#PBS -N MyJob

job name

#PBS -M user@home.com

you should always specify your email address.

This section describes some NQS II Directives particular to the SX-9 at HLRS. For more information, please visit the related documenation at HLRS.

5.3.1 Local NQS II Directives

There are no localised differences to NQS II on the SX-9.

5.3.2 Example MPI script

#!/usr/local/bin/bash
#PBS -q multi
#PBS -T mpisx
#PBS -l cpunum_job=8
#PBS -b 4
#PBS -l elapstim_req=02:00:00
#PBS -l cputim_job=08:00:00
#PBS -l cputim_prc=07:55:00
#PBS -l memsz_job=10gb
#PBS -A <account code>
#PBS -j o
#PBS -N MyJob
#PBS -M jo@user

SCR=‘ws_allocate Run1 2‘
cd $SCR

export OMP_NUM_THREADS=8
export MPIPROGINF=YES
export F_FILEINF=YES
export MPIMULTITASKMIX=YES
MPIEXPORT="OMP_NUM_THREADS F_FILEINF"
export MPIEXPORT

module load deisa
mpirun -nn 4 -nnp 1
./mycode
cp outfile $HOME/code
Document Actions