Using Slurm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
time python3 calc_pi.py | time python3 calc_pi.py | ||
</source> | </source> | ||
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) | |||
3347 research calc_pi. megen002 R 0:03 1 node049 | |||
== allocating resources interactively: sallocate == | == allocating resources interactively: sallocate == | ||
Revision as of 10:09, 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>
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 3347 research calc_pi. megen002 R 0:03 1 node049