Skip to content

A script to generalize job submissions on a slurm cluster

Notifications You must be signed in to change notification settings

YesselmanLab/jobsubmit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jobsubmit

PYPI statusBuild statusCode style: black

An automated way to multieplex commandssdss for job submission

Install

To install rna_draw

python -m pip install git+https://github.com/jyesselm/jobsubmit

How to use

jobsubmit --help

Takes a config file (config.yml)

run_dir: "runs"
tasks_per_job:  1
repeat: 1
slurm_args:
  job_name: "test"
  time: "01:00:00"
  nodes: 1
  ntasks_per_node: 1
  mem: "2GB"
custom_args:
  filename: "*.txt"
  range_arg: "1-3,5,7-10"

Takes a template file (template.txt)

export VAR=/test
echo $VAR
echo "Processing filename: {filename}"
echo "Processing range argument: {range_arg}"

Runs as

jobsubmit template.txt config.yaml

This creates a runs directory with README_SUBMIT

About

A script to generalize job submissions on a slurm cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published