Using Slurm: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== submitting jobs: sbatch ==
== submitting jobs: sbatch ==


<source lang='bash'>
   #!/bin/bash
   #!/bin/bash
   # #SBATCH --time=100
   # #SBATCH --time=100
Line 10: Line 11:


   time python3 calc_pi.py
   time python3 calc_pi.py
 
</source>
== allocating resources interactively: sallocate ==
== allocating resources interactively: sallocate ==



Revision as of 10:04, 23 November 2013

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>

allocating resources interactively: sallocate

running MPI jobs on B4F cluster

monitoring submitted jobs: squeue

removing jobs from a list: scancel

other

external links