Changes between Version 4 and Version 5 of Scripts/Ensemble


Ignore:
Timestamp:
2013-09-26T16:18:25+02:00 (11 years ago)
Author:
nvuilsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/Ensemble

    v4 v5  
    1 = Launching a suite of simulations with Job_FLUXNET_validation script  = 
    2 Job_FLUXNET_validation helps at running a suite of simulations ORCHIDEE over several Fluxnet sites.  
     1= Launching a suite of simulations with the Job_ENSEMBLE script  = 
     2Job_ENSEMBLE helps at running a suite of simulations of ORCHIDEE. It may be used for running ORCHIDEE at Fluxnet sites or for performing different simulations with different parametrizations, ...  
    33Typically, we can configure the length of each type of simulations (initialisation, full orchidee, teststomate, forcesoil, final) and the number of times we iterate on (full orchidee, teststomate, forcesoil). 
    44[[Image(http://dods.ipsl.jussieu.fr/orchidee/WIKI/flowchart_2.png)]][[BR]] 
    5 In addition, for each FLUXNET site, the user can re-specify any "paremeter" he want (the main parameter to define being VEG_MAX). 
     5In addition, for each simulation, the user can re-specify any "paremeter" he/she wants (PFT-dependant or not). 
    66 
    7 = Where is Job_FLUXNET_validation located ? = 
    8 Job_FLUXNET_validation is under modipsl/config/ORCHIDEE_OL/FLUXNET dir. 
     7= Where is Job_ENSEMBLE located ? = 
     8Job_ENSEMBLE is under modipsl/config/ORCHIDEE_OL/ENSEMBLE dir. 
    99 
    10 = What does FLUXNET dir contain ? = 
     10= What does ENSEMBLE dir contain ? = 
    1111 - '''config.card''' : information on Job Name, Tag Name, Dates and Restart. 
    12  - '''fluxnet.card''' configures the list of FLUXNET sites (type and associated parameters) 
    13  - PARAM/'''orchidee.def''', the parameter file of ORCHIDEE  
    14  - '''atlas_FLUXNET.cfg''' (used for the post-treatment) 
     12 - '''fluxnet.card''' and '''ensemble.card''' configure the list of FLUXNET sites or of simulations (type and associated parameters) 
     13 - PARAM/'''run.def''', the parameter file of ORCHIDEE  
     14 - '''atlas_FLUXNET_V1.cfg''' and '''atlas_FLUXNET_taylor.cfg''' (used for the post-treatment) 
     15 - '''taylor_arrow_fluxnet_final_1.jnl''', '''taylor_arrow_fluxnet_final_2.jnl''' and '''ORCHIDEE_3diff.jnl''' (used for the post-treatment) 
    1516 - The script "install" 
    16  - The scripts fluxnet.ksh and post_FLUXNET 
     17 - The scripts ensemble.ksh and post_FLUXNET 
    1718 - run.card.init 
    1819 
    19 = How to install Job_FLUXNET_validation ? = 
     20= How to install Job_ENSEMBLE ? = 
    2021 - If not done yet, first type under "util" dir : 
    2122{{{  
     
    2324}}} 
    2425 It will create Job_Sp (where Sp is the Job Name specified in config.card) 
    25  - Then, to create Job_FLUXNET_validation and Job_Post_FLUXNET (used for the post-treatment), under "FLUXNET" dir type 
     26 - Then, to update Job_ENSEMBLE and Job_Post_FLUXNET (used for the post-treatment), under "ENSEMBLE" dir type 
    2627{{{ 
    2728my_prompt>> ./install 
    2829}}} 
    2930 
    30 = How to configure the Job_FLUXNET_validation script =  
    31 In order to configure the script, you need to fill the fluxnet.card file. 
     31= How to configure the Job_ENSEMBLE_validation script =  
     32In order to configure the script, you need to fill the fluxnet.card or ensemble.card file. 
    3233== Standard parameters to be filled into fluxnet.card == 
    33  - '''Fluxnet``Path''' specifies the location where are stored the meteorological input files for each FLUXNET site. 
     34 - '''Forcings``Path''' specifies the location where are stored the meteorological input files for each FLUXNET site. 
    3435 - '''Nb``Sites``Param''' specifies the number of parameters to modify per PFT for each site 
    3536 - '''Name``Sites``Param''' specifies the name of the parameters to modify per PFT for each site (as it appears in the .def files) 
    3637 - '''Comp``Sites``Param''' specifies the name of the component for each parameter described in Name``Sites``Param (either, SECHIBA, STOMATE, or DRIVER) 
    37  - '''Sites''' is a list of parameter values fill for each FLUXNET sites.  The four first parameters are Name (used as site Id), Forcing file (files stored being Fluxnetpath being of the type "Forcing file".nc), Initial Year, Number of years in forcing file. The following parameters are those defined by Name``Sites``Param. Alternatively to the use of the Sites parameter, you can define several groups of sites. Each group is defined as the Sites parameter. The name of the groups are defined by the user. Then each group as to be listed in a parameter named '''Groups'''. The default setting of the fluxnet.card makes use of the '''Groups''' parameter. 
     38 - '''Sites''' is a list of parameter values fill for each FLUXNET sites or each simulation.  The four first parameters are Name (used as site Id), Forcing file (files stored being Fluxnetpath being of the type "Forcing file".nc), Initial Year, Number of years in forcing file. The following parameters are those defined by Name``Sites``Param. Alternatively to the use of the Sites parameter, you can define several groups of sites. Each group is defined as the Sites parameter. The name of the groups are defined by the user. Then each group as to be listed in a parameter named '''Groups'''. The default setting of the fluxnet.card makes use of the '''Groups''' parameter. 
    3839 - Initial step: set to a positive value either "duree_nostomate" (initialisation without stomate component), "duree_inistomate" (initialisation with stomate component) or "duree_offlineini" (initialisation with teststomate) 
    3940 - Loop over ORCHIDEE runs: 
     
    4950 - Under the [Sub``Job``Params] section, the user can specify any parameter to be modified in sechiba.def, stomate.def or driver.def 
    5051 
    51 == Optional parameters of fluxnet.card == 
     52== Optional parameters == 
    5253 
    53 === Option CONSERVE into fluxnet.card === 
     54=== Option CONSERVE === 
    5455If you want to keep the history files of all simulations ran by the Job_FLUXNET_Validation script, set to yes (CONSERVE=y) the flag CONSERVE, else set it to no (CONSERVE=n).  
    5556 
    5657 
    5758= How to use it ? =  
     59For a set of ENSEMBLE simulations 
    5860{{{ 
    5961my_prompt>> ksh 
    60 my_prompt>> nohup ./Job_FLUXNET_validation > out_Job 2>&1 & 
     62my_prompt>> nohup ./Job_ENSEMBLE ensemble > out_Job 2>&1 & 
     63}}} 
     64For a set of FLUXNET simulations 
     65{{{ 
     66my_prompt>> ksh 
     67my_prompt>> nohup ./Job_ENSEMBLE fluxnet > out_Job 2>&1 & 
    6168}}} 
    6269 
    63 = Requirement = 
    64 On Obelix, you need to have a passphrase for connecting to obelix when launching automatically new jobs via ssh.[[BR]] 
    65 From your home root directory: 
    66 If the '.ssh' directory doesn't exist, create it.[[BR]] 
    67 Then, go in this directory 
    68 {{{ 
    69 my_prompt>> cd .ssh 
    70 }}} 
    71 Then, type: 
    72 {{{ 
    73 my_prompt>> ssh-keygen -t rsa -N "" 
    74 }}} 
    75 Then, 
    76 {{{ 
    77 my_prompt>> cp id_rsa.pub authorized_keys 
    78 }}} 
    79 or, if the file "authorized_keys" already exists: 
    80 {{{ 
    81 my_prompt>> cat id_rsa.pub >> authorized_keys 
    82 }}}