Using the queue system on skd-cyclone: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
== Short tutorial == | == Short tutorial == | ||
# | # create a basic wrapper script for your job | ||
<pre> | |||
# start with sbatch NAME_OF_THIS_FILE directly on machine | |||
#SBATCH --job-name=my_slurm_job | |||
#SBATCH --workdir=/scratch/$USER | |||
#SBATCH --partition=default | |||
#SBATCH --output=results.%j.txt | |||
#SBATCH --error=errors.%j.out | |||
#SBATCH --mail-type=END | |||
#SBATCH --time=12:00:00 | |||
#SBATCH --mem-per-cpu=100 | |||
<apply any required path settings> | |||
<change to your working directory> | |||
<command to start your job> | |||
# done | |||
</pre> | |||
# submit the script | # submit the script | ||
<code>sbatch ./my_queue_job.sh</code> | |||
# receive an email | # receive an email | ||
Revision as of 09:57, 1 November 2016
General information
- Purpose
- Advantages
- Disadvantages
- Rules and procedures
Short tutorial
- create a basic wrapper script for your job
# start with sbatch NAME_OF_THIS_FILE directly on machine #SBATCH --job-name=my_slurm_job #SBATCH --workdir=/scratch/$USER #SBATCH --partition=default #SBATCH --output=results.%j.txt #SBATCH --error=errors.%j.out #SBATCH --mail-type=END #SBATCH --time=12:00:00 #SBATCH --mem-per-cpu=100 <apply any required path settings> <change to your working directory> <command to start your job> # done
- submit the script
sbatch ./my_queue_job.sh
- receive an email
Converting a script to a queue script
- add elements to the header
Description of each element
- parameters explained in short
Best practices, Q&A
Further information
- Contacts
- Links