Skip to content

ncc-gap/GCATRunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnitTest Python License: GPL v3

G-CAT Runner

G-CAT Runner is a task runner for G-CAT Workflow and others.

Setup

  1. Install
pip install gcat_runner

How to use

  1. Bash script

For example, run.sh

set -x

echo "success"
  1. Config file

With YAML format, for example, conf.yml

log_dir: .           # log output directory
max_task: 0          # count of array job (default 0)
qsub_option: ''      # qsub/slurm command options (invalid with bash-runner)
retry_count: 1       # number for retry 
runner: bash         # choose in ['qsub', 'drmaa', 'slurm', 'bash']
                     # qsub: task runs with 'qsub -sync'
                     # drmaa: task runs with drmaa library
                     # slurm: task runs with 'sbatch --wait'
                     # qsub: task runs with 'bash'
  1. Run
gcat_runner run.sh conf.yml

options:
--interval seconds: Randomly modify job submission within the specified range of 0 to the specified number of seconds.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published