Created: 2014-05-19 17:40
Updated: 2014-11-28 11:41
License: mit


Python SLURM Manager


  • make sure is in your $PATH
  • copy to in your project directory
  • edit (especially your default partition)
  • create ~/.psm/outputs (or whatever path you specified in your


  • run psm in your project directory
  • If you use the default configuration, PSM will save job definitions in your project directory and your joblist globally in your user directory.

User Interface

Left Pane

The left Pane shows a list of all jobs.


  • enable automatic refresh
  • delete current item
  • clear all finished/cancelled jobs
  • cancel current job

Middle Pane

The middle pane shows a list of all defined jobs.


  • execute current job definition
  • create/edit/delete job (opens job definition window)

Right pane

The right pane shows the output of the currently (left pane) selected job.

Job definition window

This window has four fields (from top to bottom):

Job name

This name will be shown in lists in PSM and as title in slurm. Names must be unique.


List of commands to execute. Use python format-style placeholders for parameters, e.g.

sleep {0}
sleep {1}

Per-instance parameters

List of parameters given to each instance. These parameters are formatted into the command template. Separate multiple instances with linebreaks and multiple parameters with ,, e.g.




to use a script name that outputs parameters to stdout.

Global parameters

Global parameters are passed to SLURM to request e.g. additional memory or a certain number of CPUs. Separate multiple options with linebreaks and key/value pairs with =, e.g.


For a list of possible options, refer to the SLURM manual.


This code is released under the MIT License (see LICENSE file for more information).

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more