[ET Trac] [Einstein Toolkit] #166: Add option to remove a submit script from a configuration

Einstein Toolkit trac-noreply at einsteintoolkit.org
Thu Jan 13 17:06:26 CST 2011


#166: Add option to remove a submit script from a configuration
-------------------------+--------------------------------------------------
  Reporter:  eschnett    |       Owner:  mthomas 
      Type:  defect      |      Status:  accepted
  Priority:  minor       |   Milestone:          
 Component:  SimFactory  |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Changes (by mthomas):

  * status:  new => accepted


Comment:

 I have extended python's optparse library to include a new type called
 'nonnull'. In the options/*.ini files, if you set the argtype to be
 nonnull it will give an error now if you specify an option like
 --submitscript=<blank>

 here's the example output below:


 varia:simfactory mike$ bin/sim build --submitscript=
 Usage: sim.py [args] command


 Available Commands:
   print-mdb                     print parsable mdb
   sync                          sync cactus sourcetree to a remote machine
   submit                        submit a simulation
   archive                       archive a simulation or an individual
 restart
   list-configurations           list simfactory cactus configurations
   print-mdb-entry               list information about a single machine
   create                        create a simulation
   create-run                    create and run a simulation
   cleanup                       clean up a simulation
   create-submit                 create and submit a simulation
   build                         build cactus either locally or remotely
   list-archived-simulations     list archived simulations
   checkout                      checkout thorns using GetComponents
   list-simulations              list simfactory cactus simulations
   run                           launch a simulation
   stop                          stop an active simulation
   execute                       execute a command
   setup-silent                  silently create a set of reasonable
 defaults
   show-output                   show the output of a simulation
   list-machines                 list all the machines in the machine
 database
   setup                         interactively configure simfactory
   run-debug                     launch simulation using an interactive
 debugger
   purge                         purge a simulation
   get-archived-simulation       retrieve an archived simulation by
 simulationid
   get-output-dir                get the output directory for a given
 simulation/restart
   login                         launch an interactive shell on a remote
 machine
   whoami                        what is the name of the machine simfactory
 is running on
   interactive                   initiate an interactive session on a
 compute node

 sim.py: error: option --submitscript: argument cannot be null

 As far as the first part of this bug goes, i'm still working on that. I'll
 close this bug when i have it completed.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/166#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list