Changeset 5424 for BOL/LMDZ_Setup


Ignore:
Timestamp:
Dec 18, 2024, 11:01:38 AM (12 hours ago)
Author:
fhourdin
Message:

Bug fix in LMDZ_Setup

Location:
BOL/LMDZ_Setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/lmdz_env.sh

    r5422 r5424  
    99
    1010# <root_dir> will be set by sed by setup.sh here
    11 root_dir=/home/hourdin/TMP/LMDZ_Setup
     11root_dir=/lus/work/CT1/c1607732/fhourdin/TestA
    1212
    1313function get_hostname {
     
    122122      #SUBMITCMD="env $(env | grep -E "SLURM_|SBATCH_|SRUN_" | cut -d= -f1 | awk '{print "-u " $0}' | tr '\n' ' ' ) sbatch --constraint=GENOA --account=$account"  # we need to remove the existing SLURM variables otherwise they may be unexpectedly inherited by the submitted script
    123123      submitcmd() {
    124         env $(env | grep -E "SLURM_|SBATCH_|SRUN_" | cut -d= -f1 | awk '{print "-u " $0}' | tr '\n' ' ' ) sbatch --constraint=GENOA --account=$account
     124        env $(env | grep -E "SLURM_|SBATCH_|SRUN_" | cut -d= -f1 | awk '{print "-u " $0}' | tr '\n' ' ' ) sbatch --constraint=GENOA --account=$account $1
    125125      }  # we need to remove the existing SLURM variables otherwise they may be unexpectedly inherited by the submitted script
    126126      ;;
  • BOL/LMDZ_Setup/setup.sh

    r5422 r5424  
    1717  # Radiative code: "oldrad" / "rrtm" / "ecrad"
    1818  rad="rrtm"
    19   rad="oldrad"
    2019
    2120  #   !!! STRONG recommendation : experiments with DIFFERENT Orchidee or aerosol options should be performed in DIFFERENT LMDZ_Setup folders
     
    2726  #   in order to re-run the initialisation job, which downloads the aerosol files and interpolates them)
    2827  aerosols="clim"
    29   aerosols="n"
    3028
    3129  # SURFACE/VEGETATION SCHEME
     
    4038  # netcdf: 0 (use existing library) / 1 (recompile netcdf, slow)
    4139  netcdf=0
    42   netcdf=1
    4340
    4441  # --->>> ALSO PAY ATTENTION TO OUTPUT files, frequency, level -------------
     
    697694      #echo "\$SUBMITCMD tmp_$SIM"
    698695      #\$SUBMITCMD tmp_$SIM
    699       echo submitcmd tmp_$SIM"
     696      echo submitcmd tmp_$SIM
    700697      submitcmd tmp_$SIM
    701698...eod
Note: See TracChangeset for help on using the changeset viewer.