Skip to main content

Tools to supervise slurm jobs

Project description

Setup Guide

  1. Get webhook from your Feishu Bot.

  2. Export and set webhook 'JOBS_SUPERVISOR_WEBHOOK' in your ~/.basrc. For example: export JOBS_SUPERVISOR_WEBHOOK=https://open.feishu.cn/your-webhook

  3. Export and set the directory 'JOBS_SUPERVISOR_LOGDIR' to save your sbatch output in your ~/.basrc. For example: export JOBS_SUPERVISOR_LOGDIR=path_to_log_files

  4. Run source ~/.basrc

  5. (Optional) Create an enviornment for the tools by conda create -n env_tools python=3.8

  6. Activate your enviornment by conda activate env_tools

  7. Install this python package in the enviornment by pip3 install -i https://pypi.org/project/ jobs-supervisor

Usage

Assume 'jobid_start' and 'jobid_end' are int.

  1. Activate your enviornment by conda activate env_tools

  2. In terminal: supervise_jobs jobid_start jobid_end

  3. You can run supervise_jobs --help for more configs

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

jobs_supervisor-0.2.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

jobs_supervisor-0.2.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file jobs_supervisor-0.2.3.tar.gz.

File metadata

  • Download URL: jobs_supervisor-0.2.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for jobs_supervisor-0.2.3.tar.gz
Algorithm Hash digest
SHA256 b176e1cbf6244ccae1b6a76a2e179b04d12f6e0bc6ff4ce8991bddba24d7c7b1
MD5 a9a42d0fc1513d3ec4b6acc91e16a132
BLAKE2b-256 316b90b871cc1f5d9440bbdf1f76d8c87a6243ae2aed56d8861fd1cd091f17a4

See more details on using hashes here.

File details

Details for the file jobs_supervisor-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jobs_supervisor-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4c065a33933dab928f73290ad3ee042deb1d557d8cd5de0687cc1e1e62484e48
MD5 469d2fe8f1602bbe131fd145e5a9e1a9
BLAKE2b-256 a59797942cf09d9878a624bd17b99e235a3a6a8aad32616a99c77a3fb44ed68f

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