Skip to content

Latest commit

 

History

History
executable file
·
54 lines (39 loc) · 1.05 KB

File metadata and controls

executable file
·
54 lines (39 loc) · 1.05 KB

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