Changes between Version 15 and Version 16 of WRF4G2.0/CLI


Ignore:
Timestamp:
May 30, 2016 11:07:52 AM (6 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WRF4G2.0/CLI

    v15 v16  
    1010$ wrf4g --help
    1111WRF4G is a framework for the execution and monitoring of the WRF Modelling System
    12 in distributed computing resources. For additional information,
    13 see http://meteo.unican.es/trac/wiki/WRF4G .
     12on DCIs. For additional information, see http://meteo.unican.es/trac/wiki/WRF4G.
    1413
    1514Usage: wrf4g [ --version ] [ -h | --help ] [ --dbg ]
     
    2221   
    2322wrf4g commands are:
    24    start       Start DRM4G daemon, database and ssh-agent
    25    stop        Stop  DRM4G daemon, database and ssh-agent
    26    status      Check DRM4G daemon, database and ssh-agent
    27    conf        Configure DRM4G daemon, scheduler, database and logger parameters
    28    exp         Manage WRF4G experiments
    29    rea         Manage WRF4G realizations
    30    resource    Manage computing resources
    31    id          Manage reosurce identities
    32    host        Print information about the hosts
    33    job         Submit, get status and history and cancel jobs
     23   start       Start DRM4G daemon and ssh-agent.
     24   stop        Stop  DRM4G daemon and ssh-agent.
     25   status      Check DRM4G daemon and ssh-agent.
     26   syncdb      Create WRF4G database tables on the configured database. 
     27   conf        Configure DRM4G daemon and scheduler, database and logger parameters.
     28   exp         Manage WRF4G experiments.
     29   rea         Manage WRF4G realizations.
     30   resource    Manage computing resources.
     31   id          Manage identities for resources.
     32   host        Print information about the DCI hosts.
     33   job         Get status and history and cancel jobs.
    3434 
    3535See 'wrf4g <command> --help' for more information on a specific command.
     
    4343Usage:
    4444    wrf4g start [ --dbg ] [ --clear-conf ] [ --disc-jobs ]
    45    
     45            
    4646Options:
    4747   --dbg                Debug mode.
    4848   --clear-conf         Clear WRF4G's settings stored in .wrf4g directory.
    49    --disc-jobs          All available jobs on WRF4G will be discared.
     49   --disc-jobs          All available jobs on WRF4G will be discarded.
    5050}}}
    5151
     
    6969   
    7070Options:
    71    --dbg    Debug mode
     71   --dbg    Debug mode.
    7272}}}
    7373
     
    9696    wrf4g exp <name> submit       [ --dbg ] [ --dry-run ] [ --priority=<value> ] [ --pattern=<name> ] [ --rea-state=<state> ] [ --rerun ]
    9797    wrf4g exp <name> status       [ --dbg ] [ --pattern=<name> ] [ --rea-state=<state> ] [ --delay=<seconds> ] 
     98    wrf4g exp <name> statistics   [ --pattern=<name> ]
    9899    wrf4g exp <name> cancel       [ --dbg ] [ --dry-run ] [ --pattern=<name> ] [ --rea-state=<state> ] [ --hard ]
    99100    wrf4g exp <name> set-priority [ --dbg ] [ --dry-run ] [ --pattern=<name> ] <priority>
     
    132133
    133134EXIT CODES
    134     1  : Error creating directory to simulate
    135     2  : Error creating log directory       
    136     3  : Error copying apps           
    137     4  : Error app type does not exist           
    138     5  : Error executing source script       
    139     6  : Job already executed 
    140     7  : Error copying restart files       
    141     8  : There is a mismatch in the restart date   
    142     9  : Error copying namelist.wps   
    143     10 : Error downloading WPS files   
    144     11 : Error copying boundaries           
    145     12 : Error modifying namelist
    146     13 : Error executing PREPROCESSOR
    147     14 : Error linking GRIB files     
    148     15 : Error executing UNGRIB
    149     16 : Error executing METGRID       
    150     17 : Error executing REAL
    151     18 : Error uploading WPS files     
    152     19 : Error executing WRF
    153     20 : Error executing POSTPROCESSOR
    154     21 : Error copying output file   
    155     22 : Job killed by the system
     135    1  : Error creating log directory       
     136    2  : Error copying apps           
     137    3  : Error app type does not exist           
     138    4  : Error executing source script       
     139    5  : Job already executed
     140    6  : Error creating directory to simulate
     141    7  : Error finding WRF binaries
     142    8  : Error copying restart files       
     143    9  : There is a mismatch in the restart date   
     144    10 : Error copying files   
     145    11 : Error downloading WPS files   
     146    12 : Error copying boundaries           
     147    13 : Error modifying namelist
     148    14 : Error executing PREPROCESSOR
     149    15 : Error linking GRIB files     
     150    16 : Error executing UNGRIB
     151    17 : Error executing METGRID       
     152    18 : Error executing REAL
     153    19 : Error uploading WPS files     
     154    20 : Error executing WRF
     155    21 : Error executing POSTPROCESSOR
     156    22 : Error copying output file   
     157    23 : Job killed by the system
    156158    255: Unexpected error
    157159}}}
     
    164166     wrf4g rea <name> submit       [ --dbg ] [ --dry-run ] [ --priority=<value> ] [ --rerun ] [ <first_ch> [ <last_ch> ] ]
    165167     wrf4g rea <name> status       [ --dbg ] [ --delay=<seconds> ]
    166      wrf4g rea <name> log          [ --dbg ] [ --dir=<directory> ] <chunk_id>
     168     wrf4g rea <name> info
     169     wrf4g rea <name> log          [ --dbg ] [ --dir=<directory> ] <chunk_id>
    167170     wrf4g rea <name> set-priority [ --dbg ] [ --dry-run ] <priority>
    168171     wrf4g rea <name> cancel       [ --dbg ] [ --dry-run ] [ --hard ]
    169    
    170 Options:
    171     --dbg                 Debug mode.
    172     -n --dry-run          Dry run.
    173     --rerun               Force to run although the realization has finished.
    174     -P --priority=<value> Fix-priority for scheduling [default: 0].
    175     --delay=<seconds>     Refresh experiment information every delay seconds.   
    176     -d --dir=<directory>  Directory to unpack log files [default: ./].
    177     --hard                Remove jobs from without synchronizing.
     172     wrf4g rea <name> set-restart  [ --dbg ] <date>
     173     wrf4g rea <name> get-restart 
     174   
     175Options:
     176    --dbg                  Debug mode.
     177    -n --dry-run           Dry run.
     178    --rerun                Force to run although the realization has finished.
     179    -P --priority=<value>  Fix-priority for scheduling [default: 0].
     180    --delay=<seconds>      Refresh experiment information every delay seconds.   
     181    -d --dir=<directory>   Directory to unpack log files [default: ./].
     182    --hard                 Remove jobs from without synchronizing.
    178183 
    179184Commands:
    180     submit                Submit the realization.       
    181     status                Check the status of a realization showing computing resources,
    182                           job identifier and exit codes (SEE EXIT CODES).
    183     log                   Get log files from a chunk.
    184     set-priority          Change the scheduling priority of any job releted to the realization.
    185                           The priority must be in range [0,20], and the default value is 0.
    186                           When a job gets a priority of 20, it becomes an urgent job, and it is
    187                           dispatched as soon as possible passing all the scheduling policies.
    188     cancel                Cancel the realization by killing its jobs.
     185    submit                 Submit the realization.       
     186    status                 Check the status of a realization showing computing resources,
     187                           job identifier and exit codes (SEE EXIT CODES).
     188    info                   Get information about configuration.
     189    log                    Get log files from a chunk.
     190    set-priority           Change the scheduling priority of any job releted to the realization.
     191                           The priority must be in range [0,20], and the default value is 0.
     192                           When a job gets a priority of 20, it becomes an urgent job, and it is
     193                           dispatched as soon as possible passing all the scheduling policies.
     194    cancel                 Cancel the realization by killing its jobs.
     195    set-restart            Modify realization restart date.
     196    get-restart            Show realization restart date.
    189197
    190198EXIT CODES
    191     1  : Error creating directory to simulate
    192     2  : Error creating log directory       
    193     3  : Error copying apps           
    194     4  : Error app type does not exist           
    195     5  : Error executing source script       
    196     6  : Job already executed 
    197     7  : Error copying restart files       
    198     8  : There is a mismatch in the restart date   
    199     9  : Error copying namelist.wps   
    200     10 : Error downloading WPS files   
    201     11 : Error copying boundaries           
    202     12 : Error modifying namelist
    203     13 : Error executing PREPROCESSOR
    204     14 : Error linking GRIB files     
    205     15 : Error executing UNGRIB
    206     16 : Error executing METGRID       
    207     17 : Error executing REAL
    208     18 : Error uploading WPS files     
    209     19 : Error executing WRF
    210     20 : Error executing POSTPROCESSOR
    211     21 : Error copying output file   
    212     22 : Job killed by the system
     199    1  : Error creating log directory       
     200    2  : Error copying apps           
     201    3  : Error app type does not exist           
     202    4  : Error executing source script       
     203    5  : Job already executed
     204    6  : Error creating directory to simulate
     205    7  : Error finding WRF binaries
     206    8  : Error copying restart files       
     207    9  : There is a mismatch in the restart date   
     208    10 : Error copying files   
     209    11 : Error downloading WPS files   
     210    12 : Error copying boundaries           
     211    13 : Error modifying namelist
     212    14 : Error executing PREPROCESSOR
     213    15 : Error linking GRIB files     
     214    16 : Error executing UNGRIB
     215    17 : Error executing METGRID       
     216    18 : Error executing REAL
     217    19 : Error uploading WPS files     
     218    20 : Error executing WRF
     219    21 : Error executing POSTPROCESSOR
     220    22 : Error copying output file   
     221    23 : Job killed by the system
    213222    255: Unexpected error
    214223}}}
     
    216225`job` :
    217226{{{
    218 Submit, get status and history and cancel jobs.
    219 
    220 Usage:
    221     wrf4g job submit  [ --dbg ] [ --dep <job_id> ... ] <template>
     227Get status and history and cancel jobs.
     228
     229Usage:
    222230    wrf4g job list    [ --dbg ] [ --delay=<seconds> ] [ <job_id> ]
    223231    wrf4g job cancel  [ --dbg ] [ --hard ] <job_id> 
     
    227235Arguments:
    228236   <job_id>               Job identifier.
    229    <template>             Job template.
    230237
    231238Options:
    232239   --dbg                  Debug mode.
    233    --dep=<job_id> ...     Define the job dependency list of the job.
    234240   --delay=<seconds>      Refresh experiment information every delay seconds.
    235241   --hard                 Remove jobs from without synchronizing.
    236242   
    237243Commands:
    238    submit                 Command for submitting jobs.
    239244   list                   Monitor jobs previously submitted.
    240245   cancel                 Cancel jobs.
     
    260265   MIGR                   Total migration time.
    261266   REASON                 The reason why the job left this host.
    262    QUEUE                  Queue name. 
     267   QUEUE                  Queue name.
    263268}}}
    264269
     
    277282   
    278283Supported protocols:       
    279     LFN             lfn:///grid/VO/file
     284    LFN             lfn:///grid/VO/file file://home/user/file
    280285    GRIDFTP         gridftp://computer:2812/grid/VO/user/file
    281286    RSYNC           rsync://user@computer:34/grid/VO/user/file
    282     SIMBOLIC LINK   ln:/home/user/file
     287    SIMBOLIC LINK   ln:/home/user/file or ln:file
    283288    FILE            file:/home/user/file file:/home/user/file2
    284289    HTTPS           https://www.meteo.unican.es/work/WRF4G.tar.gz
     
    286291    FTP             ftp://www.meteo.unican.es/work/WRF4G.tar.gz
    287292    SFTP            sftp://www.meteo.unican.es/work/WRF4G.tar.gz
    288 }}}
    289 
    290 `resource`:
    291 {{{
    292 Manage computing resources on WRF4G.
    293    
    294 Usage:
    295     wrf4g resource [ --dbg ] [ list | edit | check ]
    296    
    297  Options:
    298     --dbg     Debug mode.
    299    
    300 Commands:
    301     list      Show resources available.   
    302     edit      Configure resources.
    303     check     Check out if configured resources are accessible.
    304293}}}
    305294