Ignore:
Timestamp:
Nov 19, 2021, 4:58:59 PM (3 years ago)
Author:
lguez
Message:

Sync latest trunk changes to Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/makelmdz

    r3798 r4013  
    1919chimie=false
    2020parallel=none
    21 paramem="par"
     21paramem="mem"
    2222compil_mod=prod
    2323io=ioipsl
     
    2727cosp2=false
    2828cospv2=false
    29 sisvat=false
    3029inlandsis=false
    3130rrtm=false
    32 rrtm=false
     31rad=""
    3332dust=false
    3433strataer=false
     
    8786########################################################################
    8887
    89 CPP_KEY=""
     88CPP_KEY="IN_LMDZ"
    9089INCLUDE='-I$(LIBF)/grid -I$(LIBF)/misc -I$(LIBF)/filtrez -I. '
    9190LIB=""
     
    122121[-cosp2 true/false]    : compile with/without cosp2 package (default: false)
    123122[-cospv2 true/false]    : compile with/without cospv2 package (default: false)
    124 [-sisvat true/false]  : compile with/without sisvat package (default: false)
    125123[-inlandsis true/false]  : compile with/without inlandsis package (default: false)
    126124[-rrtm true/false]    : compile with/without rrtm package (default: false)
     125[-rad old/rrtm/ecrad]    : compile with old/rrtm/ecrad radiatif code (default: old)
    127126[-dust true/false]    : compile with/without the dust package from Boucher et al. (default: false)
    128127[-strataer true/false]    : compile with/without the strat aer package from Boucher et al. (default: false)
     
    133132[-cpp CPP_KEY]             : additional preprocessing definitions
    134133[-adjnt]                   : adjoint model, not operational ...
    135 [-mem]                     : reduced memory dynamics (if in parallel mode)
     134[-mem]                     : reduced memory dynamics (obsolete flag; always on in parallel mode)
    136135[-filtre NOMFILTRE]        : use filtre from libf/NOMFILTRE (default: filtrez)
    137136[-full]                    : Full (re)compilation (from scratch)
     
    192191          cospv2="$2" ; shift ; shift ;;
    193192     
    194       "-sisvat")
    195           sisvat="$2" ; shift ; shift ;;
    196 
    197193      "-inlandsis")
    198194          inlandsis="$2" ; shift ; shift ;; 
    199195
    200196      "-rrtm")
    201           rrtm="$2" ; shift ; shift ;;
     197          rrtm="$2" ; if [ "$2" = "false" ] ; then rad="old" ; else rad="rrtm" ; fi ; shift ; shift ;;
     198
     199      "-rad")
     200          rad="$2" ; shift ; shift ;;
    202201
    203202      "-dust")
     
    208207     
    209208      "-mem")
     209          echo "option -mem is obsolete (now always on in parallel)"
    210210          paramem="mem" ; shift ;;
    211211
     
    353353if [[ "${physique:0:5}" == "venus" ]] ; then phys_root=venus ; fi
    354354if [[ "${physique:0:5}" == "titan" ]] ; then phys_root=titan ; fi
    355 if [[ "${physique:0:3}" == "mar" ]] ; then phys_root=mar ; fi
    356355if [[ "${physique:0:3}" == "dev" ]] ; then phys_root=dev ; fi
    357356
     
    518517
    519518
    520 if [[ "$sisvat" == "true" ]]
    521 then
    522    CPP_KEY="$CPP_KEY CPP_SISVAT"
    523    src_dirs="$src_dirs phy${physique}/sisvat"
    524 fi
    525 
    526 
    527519if [[ "$inlandsis" == "true" ]]
    528520then
     
    532524
    533525
    534 if [[ "$rrtm" == "true" ]]
     526if [[ "$rad" == "rrtm" ]]
    535527then
    536528   CPP_KEY="$CPP_KEY CPP_RRTM"
    537529   src_dirs="$src_dirs phy${physique}/rrtm"
    538530fi
     531if [[ "$rad" == "ecrad" ]]
     532then
     533   CPP_KEY="$CPP_KEY CPP_ECRAD"
     534   src_dirs="$src_dirs phy${physique}/ecrad"
     535fi
    539536
    540537if [[ "$dust" == "true" ]]
     
    549546   src_dirs="$src_dirs phy${physique}/StratAer"
    550547fi
     548
     549#add new ocean skin modelisation to source dir by default
     550
     551src_dirs="$src_dirs phy${physique}/Ocean_skin"
    551552
    552553
Note: See TracChangeset for help on using the changeset viewer.