Changeset 5467


Ignore:
Timestamp:
Jan 7, 2025, 3:10:46 PM (5 weeks ago)
Author:
fhourdin
Message:

Readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/README0_HowTo

    r5465 r5467  
    1 ===================================================================
    2 LMDZ_Setup is a software suite for installing LMDZ and automatically
    3 automatically run a number of configurations.
    4 Authors: Frédéric Hourdin, Adriana Sima, Amaury Baral, Laurent Fairhead (and the LMDZ team)
    5 
    6 Last modification : 2024/12/19
    7 ===================================================================
    8 
     1  ********************************************************************
     2  *                                                                  *
     3  *  LMDZ_Setup is a software suite for installing and running LMDZ  *
     4  *                                                                  *
     5  ********************************************************************
     6
     7Authors: Frédéric Hourdin, Adriana Sima, Amaury Baral, Laurent Fairhead
     8(and the LMDZ team)
     9Last modification : 2025/01/07
    910Complementary information and FAQ (in French) :
    1011https://docs.google.com/document/d/1OLZG6e-86NiXuv5-aALxKIh-QPkp4BdCwWtiBFot-6c
     12
    1113
    1214
     
    2729===================================================================
    2830
    29 This tutorial can only be used on jean-zay computer at idris so far.
    30     However, extension to ciclad or irene will be done soon.
    31 
    3231It proposes a light automatic setup of LMDZ long chained climate simulations
    3332   including installation of the model itself.
     
    4746   basis, while otherwise, it can be either monthly or yearly.
    4847
    49 Since the tutorial automatically generates its own initial files, it
    50    can be run with zoom configurations by only changing the number
    51    of grid points ("resol" in main.sh) and the DEF/gcm.def file (see bellow).
    52 
    53 Aerosols can be read for the year 2000 (weighted average  over 1999-2001 cf Lurton et al 2020),
    54   and instantaneous forcing with respect to 1850 can be computed as well.
    55   NEW (end 2020) :
    56         tutorial_prod can also run LMDZ coupled with the SPLA model
    57         (SimPLe Aerosol, activated with option aerosols=spla in setup.sh).
    58         Emissions of dust and sea salt are then computed interactively.
    59         2021-05 : tutorial_prod OK, code LMDZ-SPLA OK,
    60                 regridding SPLA input files : work in progress
    61 
    62 A configuration with isotopes is also available since 2023-04.
    63    
     48Since it automatically generates its own initial files, it can be run with
     49   zoom configurations by only changing the number of grid points ("resol"
     50   in main.sh) and the DEF/gcm.def file (see bellow).
     51
     52Aerosols can be :
     53   - not taken into account
     54   - read for the year 2000 (weighted average  over 1999-2001 cf Lurton et al
     55   2020), and instantaneous forcing with respect to 1850 can be computed
     56   as well.
     57   - computed interactively the SPLA model
     58   (SimPLe Aerosol, activated with option aerosols=spla in setup.sh).
     59   Emissions of dust and sea salt are then computed interactively.
     60
     61A configuration with isotopes is also available.
     62
     63
    6464===================================================================
    6565II. Files and scripts
    6666===================================================================
     67
    6768----------------------------------------------------------------
    68      EXPERT :
    69      If the login groupe and computing allocation groupe are different :
    70        choose on which STORE space you work (login vs computing allocation);
    71        edit lmdz_env.sh, and set "groupe", "SCRATCHD" etc. accordingly.
    72      If you want to install the package in a dedicated folder instead of the root of $STORE:
    73        set STORED=$STORE/your_folder in lmdz_env.sh
     69EXPERT on super computing centers :
     70If the login groupe and computing allocation groupe are different :
     71choose on which STORE space you work (login vs computing allocation);
     72edit lmdz_env.sh, and set "groupe", "SCRATCHD" etc. accordingly.
    7473----------------------------------------------------------------
    7574
    7675main.sh : a script written to pass options to the main script setup.sh
    77 
    78 setup.sh : sets up one (series of) simulation(s) by editing the "job" script_SIMU
     76    and configure one or series of simulations.
     77
     78setup.sh : sets up one simulation by editing the "job" script_SIMU
    7979    When run with -init 1 options, creates INIT and LIMIT directories
    8080    Run ./setup.sh -h   for options
     
    9090   To be run manually after the first use of main.sh
    9191
    92 era2gcm_uv10m.nc : for option "aerosols=spla" only :
    93      to interpolate reanalysis 10m-winds onto the GCM grid, for sea-salt (and dust) emissions.
    94         To be run manually after the first use of main.sh.
    95 
    9692season.sh : computing seasonal means and daily time series
    9793
     
    10197post_season.sh : post processing a series of simulations with season.sh
    10298
    103 test_ERAfiles_JeanZay.sh : script to test the availability of ERA* files sur Jean-Zay
    104     In case of nudging, one may use it before running era2gcm.sh               
     99test_ERAfiles_JeanZay.sh : script to test the availability of ERA*
     100    files sur Jean-Zay
     101    In case of nudging, one may use it before running era2gcm.sh               
    105102
    106103DEF: .def files for simulations
    107    Some of them are changed by setup.sh or script_SIMU depending on chosen options
    108    Some others need to be chosen and customized BEFORE RUNNING the scripts (main.sh or setup.sh):
    109      DEF/config.def (versions *.def_* available): output files, frequencies, levels (see lines phys_out_file*)
    110      DEF/gcm.def (versions *.def_* available): grid (and grid-related) parameters
    111      DEF/guide.def : nudging parameters
     104   Some of them are changed by setup.sh or script_SIMU depending on
     105   chosen options
     106   Some others need to be chosen and customized BEFORE RUNNING main.sh
     107     - DEF/config.def (versions *.def_* available): output files, frequencies,
     108     levels (see lines phys_out_file*)
     109     - DEF/gcm.def (versions *.def_* available): grid (and grid-related)
     110     parameters
     111     - DEF/guide.def : nudging parameters
    112112
    113113============================================================
     
    120120lmdz_env.sh: wget_pub cp_from_pub ln_from_pub get_input_files
    121121
    122 One specificity of LMDZ_Setup is to enable installation on any account on any machine,
    123 downloading data from wget.
     122One specificity of LMDZ_Setup is to enable installation on any account
     123on any machine, downloading all data from wget.
    124124All data are gathered on a directory $LMDZpub so that the
    125125downloading is done once for all for a given account.
    126 LMDZsub can be changed on in lmdz_env.sh
    127 
    128 This is very small compared to the amount of data generated.
     126The LMDZsub path can be changed in lmdz_env.sh
     127
     128The correponding amount of data is very small compared to the amount
     129of data generated.
    129130So I think we're very parsimonious in our use of IT resources.
    130 The counterpart is that LMDZ_Setup doesn't manage a lot of different configurations
    131 in terms of boundary conditions, forcing, etc.
     131The counterpart is that LMDZ_Setup doesn't manage a lot of different
     132configurations in terms of boundary conditions, forcing, etc.
    132133libiGCM installations should be privileged then.
    133134
     
    154155          Porté sur adastra et machines locales.
    155156
    156 2023-07 (AS-FH-LF) : mise sous svn du repertoire TEST_PROD, renommé en "LMDZ_config"
    157 
    158 2023-06 (AS) : Ajout de l'option "veget=7994", pour ORCHIDEE trunk correspondant à la config libIGCM LMDZOR_6.4work
    159         Le routage (méthode = simple) est désactivé par défaut ;
    160         il peut être activé comme décrit dans la section "ORCHIDEE-routage".
    161         Le routage n’a pas été testé avec zoom.
    162 
    163 2023-05 (AS) : optimisation du functionnement de l'option isotopes : tout géré par phys=lmdiso
     1572023-07 (AS-FH-LF) : mise sous svn du repertoire TEST_PROD, renommé en
     158    "LMDZ_config" puis "LMDZ_Setup"
     159
     1602023-06 (AS) : Ajout de l'option "veget=7994", pour ORCHIDEE trunk
     161    correspondant à la config libIGCM LMDZOR_6.4work
     162    Le routage (méthode = simple) est désactivé par défaut ;
     163    il peut être activé comme décrit dans la section "ORCHIDEE-routage".
     164    Le routage n’a pas été testé avec zoom.
     165
     1662023-05 (AS) : optimisation du functionnement de l'option isotopes :
     167    tout géré par phys=lmdiso
    164168
    1651692023-04 (S Nguyen) : introducing the option of running with isotopes)
    166        
    167 2021-10 (AS): introducing the option of using the new snow scheme INLANDSIS (setup.sh)
    168         Option not active yet, E Vignon will take care of that.
     170
     1712021-10 (AS): introducing the option of using the new snow scheme INLANDSIS
     172    (setup.sh) Option not active yet, E Vignon will take care of that.
     173
     1742021-05 : New version with SPLA
    169175
    1701762020 (AS): introducing the possibility to run with SPLA aerosol model
     
    175181VI. TBD
    176182============================================================
    177 See documentation (link of the shared google doc in the beginning of this Readme)
     183
     184Better managment of DEF files
     185
     186Inclusion of Dynamico
     187
     188
     189============================================================
     190Appendix
     191============================================================
    178192
    179193
     
    186200    XXX+:1
    187201
    188 On rapatrie automatiquement des champs nécessaires pour les dernières versions d'orchidee
    189 PFTmap_IPCC_2000.nc cartepente2d_15min.nc routing.nc routing_simple.nc lai2D.nc \
    190 alb_bg_modisopt_2D_ESA_v2.nc reftemp.nc \
    191 soils_param.nc woodharvest_2000.nc PFTmap_15PFT.v1_2000.nc soil_bulk_and_ph.nc  \
    192 
    193 Les deriners fichiers sont nécessaires seulement
    194 ndep_nhx.nc ndep_noy.nc nfert_cropland.nc nfert_pasture.nc nmanure_cropland.nc nmanure_pasture.nc bnf.nc" ;;
     202On rapatrie automatiquement des champs nécessaires pour les dernières
     203versions d'orchidee
     204PFTmap_IPCC_2000.nc cartepente2d_15min.nc routing.nc routing_simple.nc
     205lai2D.nc alb_bg_modisopt_2D_ESA_v2.nc reftemp.nc
     206soils_param.nc woodharvest_2000.nc PFTmap_15PFT.v1_2000.nc soil_bulk_and_ph.nc 
     207
     208Les deriners fichiers sont nécessaires seulement pour les version azotées.
     209ndep_nhx.nc ndep_noy.nc nfert_cropland.nc nfert_pasture.nc nmanure_cropland.nc
     210nmanure_pasture.nc bnf.nc"
     211Elles sont cependant rapatriées systématiquement par souci de simplicité.
    195212
    196213
     
    199216--------------------------------------
    200217Pour l'instant on copie là-dedans de chez Binta les fichiers a la res zoomNaf;
    201 plus tard on y recupererea des fichiers a haute resolution reguliere depuis http:/LMDZ,
     218plus tard on y recupererea des fichiers a haute resolution reguliere depuis
     219http:/LMDZ,
    202220a regrider ensuite par un script interp_fichiers_spla.sh (comme pour aerosols="clim")
    203221Les fichiers (regrides, sauf SOILSPEC.data utilise tel quel) seront mis dans $MAINDIR/INPUT_SPLA (equivalent de INPUT_DUST)
Note: See TracChangeset for help on using the changeset viewer.