Skip to main content

Job runner for scientific computing workloads

Project description

Code style: black

Jobrunner is a command line tool to manage and deploy computing jobs, organize complex workloads, and enforce a directory based hierarchy to enable reuse of files and bash scripts within a project. Organization details of a directory tree is encoded in Jobfiles which serve as an index of files/scripts, and indicate their purpose when deploying or setting up a job.

Functionality of Jobrunner is best understood through example projects which can be found in following repositories:

Writing a Jobfile

A Jobfile provides details on functionality of each file in a directory tree along with schedular configuration

[schedular]

   # schedular command `bsub`, `qsub`, `slurm` or `bash`
   command = "slurm"
   options = [
              "#SBATCH --ntasks=5",
              "#SBATCH -t 0-30:00",
              "#SBATCH --job-name=myjob",
              ]

[job]
   setup = []
   input = []
   target = "target"
   submit = []
   archive = []

Jobrunner commands

  • Setup: Executes

  • Submit: Executes

  • Archive: Executes

  • Clean: Executes

Installation

Using Python Package Index (PyPI)

pip3 install PyJobrunner

Development mode

pip3 install click && ./setup develop

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

PyJobRunner-1.7.tar.gz (9.3 kB view hashes)

Uploaded Source

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