Using Slurm

From HPCwiki
Revision as of 10:09, 23 November 2013 by Hjmegens (talk | contribs)
Jump to navigation Jump to search

submitting jobs: sbatch

<source lang='bash'>

 #!/bin/bash
 # #SBATCH --time=100
 #SBATCH --ntasks=1
 #SBATCH --output=output_%j.txt
 #SBATCH --error=error_output_%j.txt
 #SBATCH --job-name=calc_pi.py
 #SBATCH --partition=research
 time python3 calc_pi.py

</source>

 JOBID PARTITION     NAME     USER  ST       TIME  NODES NODELIST(REASON)
  3347  research calc_pi. megen002   R       0:03      1 node049

allocating resources interactively: sallocate

running MPI jobs on B4F cluster

monitoring submitted jobs: squeue

removing jobs from a list: scancel

other

external links