Introduction

jgensub is a job submission tool that calls jobgen to process a jobgen job file then submits the generated job file to a queueing system. jgensub is meant to be tailored to the local setup.

jgensub calls qsub out of the box.

Usage

usage: jgensub [<options>] -p <profname> -j <jobfile> [-- <jobgen-args>]

Submit a job after processing it.

Where:
-j <jobfile>    File containing job script and jobgen directives.
-p <profname>   Profile to load.
<jobgen-args>   Supplemental arguments to pass directly to jobgen.

Options:
-c <host>       Submit on remote host.
--dry-run       Generate and show job file but do not submit.

Example

Dry-run:

jgensub --dry-run -p gpsc2 -j hi.jgen

Submit job:

jgensub -p gpsc2 -j hi.jgen

Notes:

  • qsub tool expected to be locally available

Submit job with supplemental directives:

jgensub -p gpsc2 -j hi.jgen -- -c memory=4G -c ncores=2

Submit job to a remote queueing system:

jgensub -c gpsc2 -p gpsc2 -j hi.jgen

Notes:

  • uses ssh
  • requires qsub to be available in the system area (no special setup is done to access it)
  • for best, most convenient, user experience, ssh should be configured to require no user interaction


Tags:
    
Failed to execute the [velocity] macro. Cause: [Connection refused (Connection refused)]. Click on this message for details.

Contact

About

Name

jobgen - Job File Generator

Requirements

Python 2

License

BSD-3

Links

Repository