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
Last revisionBoth sides next revision
services:cluster:slurm [2014/06/29 21:05] – [Quick Start for the impatient] dregerservices:cluster:slurm [2015/04/16 08:17] dreger
Line 14: Line 14:
   - Submit your job script using the ''sbatch'' command   - Submit your job script using the ''sbatch'' command
  
-===== Example of a very basic job script =====+==== Example of a very basic job script ====
  
-Consider the following example of a very basic job script named ''job1.sh'':+Consider the following bash script with #SBATCH comments, which tell Slurm what resources you need:
  
 <xterm> <xterm>
Line 40: Line 40:
 sleep 50 sleep 50
 </xterm> </xterm>
 +
 +Please note that your job will be killed by the queueing system if it tries to use more memory than requested or if it runs longer than the time specified in the batch script. So to be on the safe side you can set these values a litte bit higher. If you set the values to high, your job might not start because there are not enough resources (e.g. no machine has that amount of memory you are asking for).
  
 Now just submit your job script using ''sbatch job1.sh'' from the command line. Please try to run jobs directly from the /scratch///username// cluster wide filesystem to lower the load on the /home server. For testing purposes set the runtime of your job below 1 minute and submit it to the test partition by adding ''-p test'' to sbatch: Now just submit your job script using ''sbatch job1.sh'' from the command line. Please try to run jobs directly from the /scratch///username// cluster wide filesystem to lower the load on the /home server. For testing purposes set the runtime of your job below 1 minute and submit it to the test partition by adding ''-p test'' to sbatch:
Line 75: Line 77:
 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