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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d8e59d61bf42e570d433ec08d838839e2a7f96f57541a41f302773433f56a4e
|
|
| MD5 |
9176c95754ed7b6d9d514b87b439cf49
|
|
| BLAKE2b-256 |
7cb29a5f74bbdf469729c1a397682ed419648f2cac1b13afcee16cc27681cffe
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
448fcc93bf562816ad5fe1763cfb1c7663e479653a62441134961e8a787d2bdf
|
|
| MD5 |
bc759096d6514540e4a4c75023049a64
|
|
| BLAKE2b-256 |
cdaeabba9f7d745e1df0ed4a17d1584c40d617c01da620b7a3368ae7aae3af91
|