Skip to main content

Submit array jobs to a SGE cluster without all the suffering

Project description

psub

Submit array jobs without all the suffering

Stands for petko-submit, OG ernstlab member who came up with the idea.

New API (alpha):

There's a new (unstable) API that allows submitting jobs directly in Python.

Installation:

Must be installed under ~/utils like this:

mkdir ~/utils; cd ~/utils
git clone git@github.com:udincer/psub.git

Add alias:

# Optional: add psub as an alias
# Add the following to .bashrc
alias psub='/u/home/d/<your_username>/utils/psub/psub_main.sh '

How to use:

Make script containing each command you want to run in parallel in exactly one line:

# the_jobs.sh
python run_analysis.py theta1
python run_analysis.py theta2
python run_analysis.py theta3
python run_analysis.py theta4
python run_analysis.py theta5

Run psub like this, will batch 3 commands to one SGE job (for short jobs):

psub the_jobs.py 3

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

psub-0.0.4a0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

psub-0.0.4a0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file psub-0.0.4a0.tar.gz.

File metadata

  • Download URL: psub-0.0.4a0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.0

File hashes

Hashes for psub-0.0.4a0.tar.gz
Algorithm Hash digest
SHA256 0d8e59d61bf42e570d433ec08d838839e2a7f96f57541a41f302773433f56a4e
MD5 9176c95754ed7b6d9d514b87b439cf49
BLAKE2b-256 7cb29a5f74bbdf469729c1a397682ed419648f2cac1b13afcee16cc27681cffe

See more details on using hashes here.

File details

Details for the file psub-0.0.4a0-py3-none-any.whl.

File metadata

  • Download URL: psub-0.0.4a0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.0

File hashes

Hashes for psub-0.0.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 448fcc93bf562816ad5fe1763cfb1c7663e479653a62441134961e8a787d2bdf
MD5 bc759096d6514540e4a4c75023049a64
BLAKE2b-256 cdaeabba9f7d745e1df0ed4a17d1584c40d617c01da620b7a3368ae7aae3af91

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