Skip to main content

Intel MPI Jobs


Slurm FAQ



Check Job Status


There are many commands with different options for checking the status of batch jobs in Slurm system.

Allocations & fair share


Allocations
Every active project is given an allocation, and
consumption of these allocations are tracked throughout a project year,
from July 1 through June 30.  The size of the allocations are used to
determine the users' fair share as a percent of the total resource.  We
do not use Slurm to enforce an allocation limit, however.  As allocations
are consumed, we adjust fair shares (roughly monthly).  If an
allocation is completely consumed, then we drastically lower the

Batch System (Slurm)


Submitting Batch Jobs
You can submit jobs from one of the
interactive nodes or from within a running batch script. Batch jobs are
submitted using slurm sbatch commands with a valid project account.  You can
specify options on the command line, or (recommended) put all of them
into your batch script file.  See examples below.  In your batch script, please specify at least the following, plus other options useful to your workflow.

Batch System (Slurm) basics


In next few weeks, all Knights Landing nodes (16p and 18p) will be managed by Slurm. From July 1 2018, user must use Slurm client (sbatch) to submit a batch job. To use slurm, you will need a account associated with your project, and you will need to be an authorized user
on that account.  Please see your project leader for relevant account
information, and if necessary ask him/her to email Chip Watson to get
your username added to the project.

Steps in using the Slurm batch system:

tag-job


Set or unset a named value associated with a swif job.


Usage: tag-job -workflow W [-jid | -name] <job> -tag <tag-name> <tag-value>
------------------------------------------------------------------------------
Associate tag with job <job> having name <tag-name> and value <tag-value>.  A
job may have any number of tags, and multiple jobs can be assigned the same
tags if desired.

A tag is removed by specifying -untag <tag-name>.  You can specify multiple

status


Display status information about the workflow.


Usage: status -workflow W [options]
-----------------------------------
Control what status information is displayed by specifying one or more of the
flags listed below.  If no specific subset of status information is requested,
then the summary will be displayed.  Also note that you can choose to display
the information in XML, JSON, or simple text format.


Display Style: -display (xml | json | simple)
---------------------------------------------

run


Start releasing jobs to the batch system as appropriate.


Usage: run -workflow W [options]
--------------------------------
Once a workflow is running, its jobs will be released to the batch system as
swif determines appropriate.  You can limit the amount of work being done by
specifying a maximum number of jobs and/or a maximum phase number for jobs.
Once the lesser of these limits (if specified) is reached, the workflow will
be suspended.


Job Limit: -joblimit numjobs
----------------------------

Subscribe to