Skip to main content

A simple job scheduler

Project description

This package contains an emulator for SGE, including scripts to emulate qsub, qdel, and qstat.

This package was written to support development of software that depends on SGE on a machine that doesn’t (easily) support SGE, so the feature set and optimization is by design very limited. I don’t recommend using this as a production job scheduler.

Usage

Set SJS_ROOT to the name of a directory that will contain information about the scheduler (its configuration, the queue, and the logs). This directory should not exist, as it will be created when you initialize it with sjs_qconf:

sjs_qconf init <number of slots>

The number of slots can be changed using sjs_qconf slots:

sjs_qconf slots <number of slots>

Jobs can be submitted and deleted using sjs_qsub and sjs_qdel as you would with qsub and qdel, respectively, and a list of pending and running jobs can be displayed with sjs_qstat.

For complete SGE emulation, link to the sjs_* scripts using the SGE names from somewhere in your path (e.g. /usr/local/bin/sjs_qsub -> /usr/bin/qsub).

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

sjs-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file sjs-0.1.1.tar.gz.

File metadata

  • Download URL: sjs-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sjs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 da7972bedf04d7427b77edf4c47ee70019cfa991a81607bedd7c5571e5913401
MD5 3e4c3c515e4f509bd56fe3a540e8e64f
BLAKE2b-256 db4b8d8a1c464a9585908b891e5188cb4aecafbcd9f4288e8a6b5fc2e954030a

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