User Tools

Site Tools


services:cluster:slurm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
services:cluster:slurm [2014/06/29 21:01] – [Quick Start for the impatient] dregerservices:cluster:slurm [2014/06/29 21:09] dreger
Line 14: Line 14:
   - Submit your job script using the ''sbatch'' command   - Submit your job script using the ''sbatch'' command
  
-Consider the following example of a very basic job script named ''job1.sh'':+==== Example of a very basic job script ==== 
 + 
 +Consider the following bash script with #SBATCH comments, which tell Slurm what resources you need:
  
 <xterm> <xterm>
Line 45: Line 47:
 /scratch/dreger/quickstart /scratch/dreger/quickstart
 dreger@sheldon-ng:..dreger/quickstart> **sbatch -p test job1.sh** dreger@sheldon-ng:..dreger/quickstart> **sbatch -p test job1.sh**
-Submitted batch job 26494 +Submitted batch job 26495 
-dreger@sheldon-ng:..dreger/quickstart> **cat job1_26494.out** +dreger@sheldon-ng:..dreger/quickstart> **squeue -l -u dreger** 
-JobId=26494 Name=job1+Sun Jun 29 23:02:50 2014 
 +             JOBID PARTITION     NAME     USER    STATE       TIME TIMELIMIT  NODES NODELIST(REASON) 
 +             26495      test     job1   dreger  RUNNING       0:24      1:00      1 x001 
 +dreger@sheldon-ng:..dreger/quickstart> **cat job1_26495.out** 
 +JobId=26495 Name=job1
    UserId=dreger(4440) GroupId=fbedv(400)    UserId=dreger(4440) GroupId=fbedv(400)
    Priority=10916 Account=fbedv QOS=normal    Priority=10916 Account=fbedv QOS=normal
    JobState=RUNNING Reason=None Dependency=(null)    JobState=RUNNING Reason=None Dependency=(null)
    Requeue=1 Restarts=0 BatchFlag=1 ExitCode=0:0    Requeue=1 Restarts=0 BatchFlag=1 ExitCode=0:0
-   RunTime=00:00:00 TimeLimit=00:01:00 TimeMin=N/+   RunTime=00:00:01 TimeLimit=00:01:00 TimeMin=N/
-   SubmitTime=2014-06-29T22:37:44 EligibleTime=2014-06-29T22:37:44 +   SubmitTime=2014-06-29T23:02:26 EligibleTime=2014-06-29T23:02:26 
-   StartTime=2014-06-29T22:37:44 EndTime=2014-06-29T22:38:44+   StartTime=2014-06-29T23:02:26 EndTime=2014-06-29T23:03:26
    PreemptTime=None SuspendTime=None SecsPreSuspend=0    PreemptTime=None SuspendTime=None SecsPreSuspend=0
-   Partition=test AllocNode:Sid=sheldon-ng:26448+   Partition=test AllocNode:Sid=sheldon-ng:27448
    ReqNodeList=(null) ExcNodeList=(null)    ReqNodeList=(null) ExcNodeList=(null)
    NodeList=x001    NodeList=x001
Line 69: Line 75:
 x001 x001
 </xterm> </xterm>
 +
 +==== Example of a GROMACS job script for one node using multithreading ====
 +
 +TBD
 +
 +==== Example of a GROMACS job script for multiple nodes using MPI ====
 +
 +TBD
services/cluster/slurm.txt · Last modified: 2015/06/16 12:53 by dreger

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki