Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CIPRES 2013-8-7

Bryan Lunt
August 07, 2013

CIPRES 2013-8-7

Bryan Lunt

August 07, 2013
Tweet

Other Decks in Research

Transcript

  1. Current Submit System submit.py: •Templating engine for “COMMANDLINE” and “batch_command.run”

    files. •Slightly different copies per cluster? lib.py: •Settings for queues, maximum run time, functions for calling qsub, etc. etc. •Interprets “scheduler.conf” properties file. •Different copies for each cluster. •Configuration as an if-else tree. •Catch-All
  2. Possible Submit System submit.py: •Templating engine for “COMMANDLINE” and “batch_command.run”

    files. •Slightly different copies per cluster? lib.py: •Settings for queues, maximum run time, functions for calling qsub, etc. etc. •Interprets “scheduler.conf” properties file. •Different copies for each cluster. •Configuration as an if-else tree. •Catch-All •Hack another function into lib.py
  3. Suggested Submit System submit.py: •Templating engine for “COMMANDLINE” and “batch_command.run”

    files. •Slightly different copies per cluster? lib.py: •Settings for queues, maximum run time, functions for calling qsub, etc. etc. •Interprets “scheduler.conf” properties file. •Different copies for each cluster. •Configuration as an if-else tree. •Catch-All •Cleanliness •Use a fully-featured template system. •Use a fully-featured java-properties-file library. •Break functionally into logical groups •Maintainability •Eliminate “code as configuration” •Decide on a configuration format. •JSON, YAML, XML, etc. •Results in one code-base for all resources. •Extensibility •Add hooks for custom input-validators and parallel-rules-evaluators.