Changeset 5432


Ignore:
Timestamp:
Dec 19, 2024, 8:51:45 PM (4 weeks ago)
Author:
fhourdin
Message:

Minor improvements

Location:
BOL/LMDZ_Setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/main.sh

    r5428 r5432  
    2121# Version of the tar file on https://lmdz.lmd.jussieu.fr/pub/src
    2222# Last "testing" version, thoroughly checked by the LMDZ team : contains LMDZ rev 4729 (2023-10-22)
    23 version="20241018.trunk" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
    24 svn=""                   #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
     23version="20241121.trunk" # Preferencially use a "testing" version available
     24                     # on https://lmdz.lmd.jussieu.fr/pub/src_archives/testing/
     25svn=""
    2526# CONTACT LMDZ Team :
    2627#       email: poihl@listes.lmd.ipsl.fr
     
    7172mthend=200501
    7273
    73 
    7474# Expert options passed to setup.sh
    7575rad=rrtm       # Radiation oldrad/rrtm/ecrad
     
    117117    # Remember: some other options are only available in lmdz_env.sh and setup.sh.
    118118    # shellcheck disable=SC2086
    119     ./setup.sh -v "$version" -d "$resol" -mthini "$mthini" -mthend "$mthend" -init "$init" -climato "$climato" -f "$freq" -p "$lmd_phys" -name "$name" $cosp $xios $nudging -r "$svn" -rad $rad -netcdf $netcdf -aerosols $aerosols
     119    ./setup.sh -v "$version" -d "$resol" -mthini "$mthini" -mthend "$mthend" -init "$init" -climato "$climato" -f "$freq" -p "$lmd_phys" -name "$name" $cosp $xios $nudging -r "$svn" -rad $rad -netcdf $netcdf -aerosols $aerosols -veget $veget
    120120  else
    121121    echo "File $deffile inexistent"; exit 1
  • BOL/LMDZ_Setup/setup.sh

    r5429 r5432  
    164164  esac
    165165
     166  im=$(echo "$resol" | cut -dx -f1)
     167  jm=$(echo "$resol" | cut -dx -f2)
     168  lm=$(echo "$resol" | cut -dx -f3)
     169
    166170  yearini=$(echo "$mthini" | cut -c-4)
    167171  if [[ $freq = yr ]]; then stopsim=$(echo "$mthend" | cut -c-4); else stopsim=$mthend; fi
     
    181185  #   omp=2 for veget=CMIP6+XIOS beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90
    182186  ######################################################################
    183   jm=$(echo "$resol" | cut -dx -f2)
    184187  (( mpi = ( jm + 1 ) / 2 ))
    185188  omp=8
     
    215218  # (Temporary) Constraints for aerosols=spla :
    216219  # --> resolution 128x88x79 and rad=rrtm
    217   if [[ $aerosols = "spla" && $resol != "128x88x79" ]]; then
     220  if [[ $aerosols = "spla" && ${im}x${jm} != "128x88" ]]; then
    218221    echo 'STOP: For now, <aerosols=spla> requires <resol=128x88x79>, and uses the zoomed grid from gcm.def_zNAfrica_BiJe, for which forcing & initial files are available'
    219222    echo "Right now resol=<$resol>"
     
    275278  # Choix de la grille verticale
    276279  ######################################################################
    277   lm=$(echo "$resol" | cut -dx -f3)
    278280  if [ ! -f "DEF/L$lm.def" ]; then
    279281    echo "STOP: Résolution verticale non prévue - créer un fichier DEF/L$lm.def"; exit 1
Note: See TracChangeset for help on using the changeset viewer.