Changes between Version 4 and Version 5 of Scripts/Ensemble
- Timestamp:
- 2013-09-26T16:18:25+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Scripts/Ensemble
v4 v5 1 = Launching a suite of simulations with Job_FLUXNET_validationscript =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 = 2 Job_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, ... 3 3 Typically, 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). 4 4 [[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).5 In addition, for each simulation, the user can re-specify any "paremeter" he/she wants (PFT-dependant or not). 6 6 7 = Where is Job_ FLUXNET_validationlocated ? =8 Job_ FLUXNET_validation is under modipsl/config/ORCHIDEE_OL/FLUXNETdir.7 = Where is Job_ENSEMBLE located ? = 8 Job_ENSEMBLE is under modipsl/config/ORCHIDEE_OL/ENSEMBLE dir. 9 9 10 = What does FLUXNETdir contain ? =10 = What does ENSEMBLE dir contain ? = 11 11 - '''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) 15 16 - The script "install" 16 - The scripts fluxnet.ksh and post_FLUXNET17 - The scripts ensemble.ksh and post_FLUXNET 17 18 - run.card.init 18 19 19 = How to install Job_ FLUXNET_validation? =20 = How to install Job_ENSEMBLE ? = 20 21 - If not done yet, first type under "util" dir : 21 22 {{{ … … 23 24 }}} 24 25 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 type26 - Then, to update Job_ENSEMBLE and Job_Post_FLUXNET (used for the post-treatment), under "ENSEMBLE" dir type 26 27 {{{ 27 28 my_prompt>> ./install 28 29 }}} 29 30 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 = 32 In order to configure the script, you need to fill the fluxnet.card or ensemble.card file. 32 33 == Standard parameters to be filled into fluxnet.card == 33 - '''F luxnet``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. 34 35 - '''Nb``Sites``Param''' specifies the number of parameters to modify per PFT for each site 35 36 - '''Name``Sites``Param''' specifies the name of the parameters to modify per PFT for each site (as it appears in the .def files) 36 37 - '''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. 38 39 - 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) 39 40 - Loop over ORCHIDEE runs: … … 49 50 - Under the [Sub``Job``Params] section, the user can specify any parameter to be modified in sechiba.def, stomate.def or driver.def 50 51 51 == Optional parameters of fluxnet.card==52 == Optional parameters == 52 53 53 === Option CONSERVE into fluxnet.card===54 === Option CONSERVE === 54 55 If 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). 55 56 56 57 57 58 = How to use it ? = 59 For a set of ENSEMBLE simulations 58 60 {{{ 59 61 my_prompt>> ksh 60 my_prompt>> nohup ./Job_FLUXNET_validation > out_Job 2>&1 & 62 my_prompt>> nohup ./Job_ENSEMBLE ensemble > out_Job 2>&1 & 63 }}} 64 For a set of FLUXNET simulations 65 {{{ 66 my_prompt>> ksh 67 my_prompt>> nohup ./Job_ENSEMBLE fluxnet > out_Job 2>&1 & 61 68 }}} 62 69 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 directory68 {{{69 my_prompt>> cd .ssh70 }}}71 Then, type:72 {{{73 my_prompt>> ssh-keygen -t rsa -N ""74 }}}75 Then,76 {{{77 my_prompt>> cp id_rsa.pub authorized_keys78 }}}79 or, if the file "authorized_keys" already exists:80 {{{81 my_prompt>> cat id_rsa.pub >> authorized_keys82 }}}