Giter Site home page Giter Site logo

tether's Introduction

tether.sh

A utility to tether cesm cases

cheyenne.template

  • template for each queued tether submission
  • you will need to edit this
    • specify your project code
    • tell it where to expect tether.sh (tdir)
  • tether.sh will search and replace for jobname/joblist/jobid
    • dont change those!

example/joblist.txt

  • file to define your run sequence
  • jobname,caseroot,helper_script,status
  • all helper scripts must be executable!
    • if you don't need a helper script, put: none
  • status progresses from waiting->queued->submitted
  • joblist should be in order, with first job queued, and the rest waiting

helper scripts

  • each script will run before its associated case
    • edit namelists, case.build, etc
  • case must be created before calling tether
  • do not include case.submit in the helper scripts
    • tether is responsible for submitting the case

tether.sh

  • the workhorse script
  • takes joblist and template as command line arguments
  • e.g.
    • ./tether.sh joblist.txt cheyenne.template
  • should not need to edit this script
  • its job is to:
    • run the appropriate helper script
    • call ./submit.case --resubmit-immediate from the current case
    • queue the next case in line
    • update the statuses in joblist.txt

directory structure

  • put your joblist and shell scripts together in one directory
    • need not be nested within this directory
  • call tether.sh from within THAT directory
  • e.g. for my example here:
    • cd example
    • ../tether.sh joblist.txt ../cheyenne.template

logs

  • the first segment will write to stdout
  • tethered segments will write to their own files: jobname.oXXX

tether's People

Contributors

djk2120 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.