...
We use PBS professional for batch control and submission of jobs, you can start interactive jobs or use scripts to define your computation tasks.
Interactive tasks: e.g.
qsub -I -l select=1:ncpus=1:mem=4GB -l walltime=02:00:00 -A $PROJECT
The select
statement defines your required ressources, the above line means you want to access 1 compute note with 1 cpu and 4 Gigabye of RAM for 2 hours. Please do not forget to attach your project name $PROJECT
with the -A
switch.
You can also write a batch script and submit this, e.g.
#!/bin/bash
#PBS -l select=1:ncpus=1:mem=4GB
#PBS -l walltime=02:00:00
#PBS -A $PROJECT
module load Python/3.10.4
python myscript.py
and submit the script with qsub youscript.sh
. Check your jobs with qstat -u <$USER>
, jobs can be cancelled with qdel JOBID
, where JOBID is the number reported by qstat