Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ift:computing_cluster:slurm [2023/03/29 17:40]
kcach old revision restored (2022/09/28 22:49)
ift:computing_cluster:slurm [2023/04/02 20:22] (current)
kcach
Line 59: Line 59:
 # Give your job a name, so you can recognize it in the queue overview # Give your job a name, so you can recognize it in the queue overview
 #SBATCH --job-name=example #SBATCH --job-name=example
 +
 +#SBATCH -o slurm-%j.output # %j - will return SLURM_JOB_ID
 +#SBATCH -e slurm-%j.error
  
 # Define, how many nodes you need. Here, we ask for 1 node. # Define, how many nodes you need. Here, we ask for 1 node.
Line 96: Line 99:
 Put script to job queue with Put script to job queue with
 <​code>​ <​code>​
-sbatch sampleScript.sh+sbatch ​~/sampleScript.sh
 </​code>​ </​code>​
  
ift/computing_cluster/slurm.1680104407.txt.gz ยท Last modified: 2023/03/29 17:40 by kcach
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0