Random collection of useful HPC scripts: job scripts for submission with slurm and torque, ...
qsub torque_job.sh
qsub -v myval=3 torque_job_val.sh
qstat
qstat -n
qstat -u userid
qdel jobid
qsub -t 1980-2016 torque_array_job.sh
sbatch slurm_job.sh
sbatch --export=myval='3' slurm_job_val.sh
squeue
scancel jobid
sbatch --array=1980-2016 slurm_array_job.sh