Skip to main content
https://gitlab.com/myqueue/myqueue/badges/master/coverage.svg https://badge.fury.io/py/myqueue.svg

MyQueue

MyQueue is a tool for submitting and keeping track of tasks running on a cluster of computers. It uses SLURM, PBS or LSF as a backend and makes handling of tasks easy. It has a command-line interface called mq with a number of sub-commands and a Python interface for managing workflows. Simple to set up: no system administrator or database required.

Quick links:

Examples

Submit Python script to 32 cores for 2 hours:

$ mq submit script.py -R 32:2h

Submit Python module abc.run in two folders:

$ mq submit abc.run F1/ F2/ -R 16:30m

Check results of tasks in current folder and its sub-folders:

$ mq list  # or mq ls
id  folder name      res.   age     state   time    error
--- ------ --------- ------ ------- ------- ------- ------
117 ./     script.py 32:2h  5:28:43 TIMEOUT 2:00:03
118 ./F1/  abc.run   16:30m 5:22:16 done      12:12
118 ./F2/  abc.run   16:30m 5:22:16 done      17:50
--- ------ --------- ------ ------- ------- ------- ------
done: 2, TIMEOUT: 1, total: 3

Resubmit with more resources (1 day):

$ mq resubmit -i 117 -R 32:1d

See more examples of use here:

Installation

MyQueue has only one dependency: Python version 3.6 or later.

Install MyQueue from PyPI with pip:

$ python3 -m pip install myqueue --user

Enable bash tab-completion for future terminal sessions like this:

$ mq completion >> ~/.profile

Run the tests:

$ mq test

and report any errors you get on our issue tracker. Now, configure your system as described here.

Release notes

See the release notes for a history of notable changes to MyQueue.

Help, support and feedback

If you need help, want to report a bug or suggest a new feature then you are very welcome to get in touch via MyQueue’s issue tracker or the #myqueue stream on Zulip.

Contributing

We welcome contributions to the code and documentation, preferably as merge-requests. More information here.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

myqueue-20.1.0.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

myqueue-20.1.0-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

Details for the file myqueue-20.1.0.tar.gz.

File metadata

  • Download URL: myqueue-20.1.0.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for myqueue-20.1.0.tar.gz
Algorithm Hash digest
SHA256 a38b4b689d97e4f62393e9988fedc40c516e24bba27c4ea449f2b27a248a96a4
MD5 2132bff9bed8b33789cbc7f9d64a0386
BLAKE2b-256 98dafe26767b4f41313f6ac01e01f8329c162026eb96540feeefb2c03997a83d

See more details on using hashes here.

File details

Details for the file myqueue-20.1.0-py3-none-any.whl.

File metadata

  • Download URL: myqueue-20.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for myqueue-20.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e53dc862a06a854471feafba9075f219bd2a7b8bd200df935d4a3c5a0e9eee
MD5 cbed5f24183a4308b50f15d3bdb266ae
BLAKE2b-256 9cf087c56bdda9e6f9e50ab54b754a1d4d22d3995a1fdfdcbcd76e8b7a2a4899

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page