Using Slurm: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
   #SBATCH --partition=research
   #SBATCH --partition=research


time python3 calc_pi.py
  time python3 calc_pi.py


== allocating resources interactively: sallocate ==
== allocating resources interactively: sallocate ==

Revision as of 10:03, 23 November 2013

submitting jobs: sbatch

 #!/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

allocating resources interactively: sallocate

running MPI jobs on B4F cluster

monitoring submitted jobs: squeue

removing jobs from a list: scancel

other

external links