Using Slurm: Difference between revisions

From HPCwiki
Jump to navigation Jump to search
(Created page with "== submitting jobs: sbatch == == allocating resources interactively: sallocate == == running MPI jobs on B4F cluster == == monitoring submitted jobs: squeue == == removing jo...")
 
No edit summary
Line 1: Line 1:
== submitting jobs: sbatch ==
== 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 ==
== 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