Skip to main content

Frontend for SLURM/LSF/PBS

Project description

https://gitlab.com/myqueue/myqueue/badges/master/coverage.svg https://badge.fury.io/py/myqueue.svg https://joss.theoj.org/papers/10.21105/joss.01844/status.svg Documentation Status

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
119 ./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 needs Python version 3.8 or later.

Install MyQueue from PyPI with pip:

$ python3 -m pip install myqueue

This will also install the rich and networkx packages that MyQueue depends on.

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

$ mq completion >> ~/.profile

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 welcome to get in touch via MyQueue’s issue tracker or the #myqueue room on Matrix.

Contributing

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

Project details


Download files

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

Source Distribution

myqueue-24.10.0.tar.gz (135.0 kB view details)

Uploaded Source

Built Distribution

myqueue-24.10.0-py3-none-any.whl (108.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myqueue-24.10.0.tar.gz
  • Upload date:
  • Size: 135.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for myqueue-24.10.0.tar.gz
Algorithm Hash digest
SHA256 2b3ca1291767038144e5a974f489fead3d4ac53759db1e9bc7c84e1aaea64c02
MD5 a17445ffda74627a872391d300e9789f
BLAKE2b-256 4aa41d06b85ff322b2ae272bd21295733ad25c26cdf37adfa94dc474b7103abe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myqueue-24.10.0-py3-none-any.whl
  • Upload date:
  • Size: 108.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for myqueue-24.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b99320bf25d570dfd3c7e47544b9cc19bfbf5011f08f1e0229572a1a95b8bc
MD5 8dd0b9bfe7ca4114ee43bd00e6dcb03f
BLAKE2b-256 74b45b3b90d454c24c4a98952eb2b88e1166710283c3649c0e8b2bead1dbd7d8

See more details on using hashes here.

Supported by

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