Project

General

Profile

Slurm » History » Version 1

Version 1/136 - Next ยป - Current version
Kerstin Paech, 09/18/2013 09:11 AM


How to run jobs on the euclides nodes

Use slurm to submit jobs to the euclides nodes (node1-8), ssh login access to those nodes is not possible.

alexandria

Please do not use alexandria as a compute node - it's hardware is different from the nodes. It hosts our file server and other services that are important to us.

You should use alexandria to
- transfer files
- compile your code
- submit jobs to the nodes

If you need to debug, please start an interactive job to one of the nodes using slurm. For instructions see below.

euclides nodes

Job submission to the euclides nodes is handled by the slurm jobmanager (see http://slurm.schedmd.com and https://computing.llnl.gov/linux/slurm/).
Important: In order to run jobs, you need to be added to the slurm accounting system - please contact Kerstin

All slurm commands listed below have very helpful man pages (e.g. man slurm, man squeue, ...).

Scheduling of Jobs

<some more information will appear here as we figure out how to organize the scheduling>

Running an interactive job with slurm

To run an interactive job with slurm (for example for debug purposes)

srun -u bash -i

As soon as a slot is open, slurm will log you in to an interactive session on one of the nodes.

Running a simple batch job with slurm

  • To see what queues are available to you (called partitions in slurm), run:
    sinfo
    
  • To run slurm, create a myjob.slurm containing the following information:
    #!/bin/bash
    #SBATCH --output=slurm.out
    #SBATCH --error=slurm.err
    #SBATCH --mail-user <put your email address here>
    #SBATCH --mail-type=BEGIN
    
    /bin/hostname
    
  • To submit a batch job use:
    sbatch myjob.slurm
    
  • To see the status of you job, use
    squeue
    
  • For some more information on your job use
    scontrol show job <jobid>
    

the <jobid> you can get from using squeue.

Redmine Appliance - Powered by TurnKey Linux