Priorities and waiting times
How to submit jobs to slurm?
less than a minute
A slurm job (submitted via sbatch
) can consists of multiple steps in series. Each step (specified via srun
) can run multiple tasks (ie programs) in parallel. Each task gets its own set of CPUs. As an example, consider the workflow and corresponding breakdown shown in fig 2.
In this example, note:
--cpus-per-task=1
), you should also explicitly specify the number of tasks (--ntasks
). Otherwise, srun
may start the task twice in parallel (because CPUs are allocated in multiples of 2)--ntasks=1 --cpus-per-task=1
). Thus, it is not necessary to explicitly request these to run a single task on a single CPU.--mem-per-cpu
.How to submit jobs to slurm?
How to submit jobs to slurm?
How are partitions managed on DAIC?
How to submit jobs to slurm?
How to submit jobs to slurm?
How to cancel/stop scheduled or running jobs?
How to cancel/stop scheduled or running jobs?
How to use the compute node’s GPU?
How to submit jobs to slurm?
How to submit jobs to slurm?
How to submit jobs to slurm?
How to submit jobs to slurm?
Was this page helpful?
Glad to hear it! Please click here to notify us. We appreciate it.
Sorry to hear that. Please click here let the page maintainers know.