User Tools

Site Tools


support:hpc:software:slurm

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
support:hpc:software:slurm [2021/06/21 15:48]
omen [Example Script:]
support:hpc:software:slurm [2021/06/21 15:53] (current)
omen [Interactive Sessions]
Line 25: Line 25:
 # Name of the job - You'll probably want to customize this. # Name of the job - You'll probably want to customize this.
 #SBATCH --job-name=benchmark-test #SBATCH --job-name=benchmark-test
 +
 +# Use the med2 partition (or which ever you have access to)
 +# Run this to see what partitions you have access to:
 +# sacctmgr -s list user $USER format=partition
 +#SBATCH --partition=med2
  
 # Standard out and Standard Error output files with the job number in the name. # Standard out and Standard Error output files with the job number in the name.
Line 185: Line 190:
 ====== Interactive Sessions ====== ====== Interactive Sessions ======
  
-(takes 30 seconds or so)+(Usually takes 30 seconds or so, but it depends on job backlog)
  
 <code>$ srun --partition=partition-name --time=1:00:00 --unbuffered --pty /bin/bash -il </code> <code>$ srun --partition=partition-name --time=1:00:00 --unbuffered --pty /bin/bash -il </code>
support/hpc/software/slurm.1624315700.txt.gz ยท Last modified: 2021/06/21 15:48 by omen