Ignore:
Timestamp:
Jun 20, 2024, 7:22:04 PM (3 months ago)
Author:
abarral
Message:

Improve docs
Fix bug on sequential sim when running locally
Fix crash when running init without slurm (ce0l w/o OMP_NUM_THREADS=1)
Fix crash for climato=0 due to missing limit.nc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup_amaury/main.sh

    r4980 r4991  
    44
    55#####################################################################
    6 # This script manages the call to setup.sh
    7 #
    86# Authors :
    97# F. Hourdin, frederic.hourdin@lmd.ipsl.fr
    108# Modified A. Sima, adriana.sima@lmd.ipsl.fr
     9# Rewritten 2024 A. Barral
    1110#
    12 # Some options can only be changed directly in lmdz_env.sh or setup.sh
    13 # --> In setup.sh :
    14 # * Orchidee version, to be defined through "veget" option
    15 #   default : OR-CMIP6
    16 # * Aerosol forcing, to be defined through "aerosols" option :
    17 #   n (no, default) / clim (an2000)/ spla (interactive dust and sea salt)
    18 #   !!! STRONG recommendation : experiments with DIFFERENT Orchidee or aerosol options
    19 #   !!!   should be performed in DIFFERENT TEST_PROD folders
    20 #   !!!  (especially as they may need different initial files)
    21 #  * Use or not of the RRTM radiation code : rrtm=true/false
    22 #  * Compiling options : debug, use or not of the fcm makefile
     11# This is the main user script of LMDZ_Setup. It defines basic options for the simulations, and runs setup.sh.
     12# Settings such as model and simulation paths are set in lmdz_env.sh. You must modify it to set the current LMDZ_Setup path as <root_dir>.
     13# Expert options are set directly in setup.sh via <define_expert_options>.
    2314#
    24 # --> In lmdz_env.sh :
    25 # * Model & configuration setup
    26 #    If you install the present tutorial_prod package in $STORE/your_folder instead of $STORE
    27 #       modify STORED variable accordingly
    28 #    The model will be installed in $LMDZD directory defined in lmdz_env.sh
    29 #      Default : LMDZD=$WORK; can be changed in LMDZD=$WORK/Your_directory
    30 #    To use a model already installed (and compiled), by you or someone else (check the acces!):
    31 #       set LMDZD=path_to_model_to_use
    32 #       You'll also need to (re)define "LMDZname" accordingly, in setup.sh
     15# Some expert options in setup.sh :
     16# * Orchidee version, through the "veget" option
     17# * Aerosol forcing, through the "aerosols" option
     18# * Radiation code, through the "rad" option
     19# * Compilation options (debug, netcdf)
    3320#####################################################################
    3421
     
    3926# Version of the tar file on https://lmdz.lmd.jussieu.fr/pub/src
    4027# Last "testing" version, thoroughly checked by the LMDZ team : contains LMDZ rev 4729 (2023-10-22)
    41 # TODO move to expert-level settings ?
    4228version="20240308.trunk" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
    4329svn=""                   #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
    44         # CONTACT LMDZ Team :
    45         #       email: poihl@listes.lmd.ipsl.fr
    46         #       Mattermost: https://mattermost.lmd.ipsl.fr/lmdz/channels/installation-et-tutoriels
     30# CONTACT LMDZ Team :
     31#       email: poihl@listes.lmd.ipsl.fr
     32#       Mattermost: https://mattermost.lmd.ipsl.fr/lmdz/channels/installation-et-tutoriels
    4733
    4834# Grid number of points IMxJMxLM
     
    5036resol="32x32x39"  # TODO TEMP
    5137
    52 # Using XIOS for IOs: "-xios" for enabled, else ""
     38## Using XIOS for IOs: "-xios" (enabled) / "" (disabled)
    5339xios=""
    54 # TODO Amaury: je pensais que l'idée de main.sh c'était de mettre des paramètres qu'on peut changer en recompilant uniquement lmdz. Or ce n'est pas le cas d'XIOS...
    5540
    56 # Using or not the Cosp simulator: "-cosp" for enabled, else ""
     41# Using or not the Cosp simulator: "-cosp" (enabled) / "" (disabled)
    5742cosp=""
    5843
    59 # Choice of physics (default : "lmd" for "phylmd" )
    60 #   Examples : lmd_phys="new" to compile with phynew instead of phylmd,
    61 #              lmd_phys="lmdiso" to run with Isotopes
     44# Choice of physics: "lmd" (phylmd) / "new" (phynew) / "lmdiso" (isotopes)
    6245lmd_phys="lmd"
    6346
     
    7861
    7962# Nudging: Can only be activated with climato=0 and freq=mo
    80 # ="-nudging" for enabled, else ""
     63# "-nudging" (enabled) / "" (disabled)
    8164nudging=""
    8265#If using nudging, then check DEF/guide.def :
Note: See TracChangeset for help on using the changeset viewer.