Ignore:
Timestamp:
Nov 21, 2019, 4:43:45 PM (5 years ago)
Author:
lguez
Message:

Merge revisions 3427:3600 of trunk into branch Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/makelmdz_fcm

    r3434 r3605  
    3535cosp=false
    3636cosp2=false
     37cospv2=false
    3738job=1
    3839full=''
     
    4445
    4546LMDGCM=`/bin/pwd`
    46 LIBOGCM=$LMDGCM/libo
     47LIBOGCM=$WORK/build/LMDZ_ocean_skin
    4748LIBFGCM=$LMDGCM/libf
    4849DYN_COMMON_PATH=$LIBFGCM/dyn3d_common
     
    5758SISVAT_PATH=$LMDGCM/.void_dir
    5859COSP_PATH=$LMDGCM/.void_dir
    59 COSP2_PATH=$LMDGCM/.void_dir
    6060fcm_path=$LMDGCM/tools/fcm/bin
    6161
     
    9090[-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false)
    9191          false       : no vegetation model
    92           orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version)
     92          orchidee2.1 : compile using ORCHIDEE 2.1 (or more recent version)
     93          orchidee2.0 : compile using ORCHIDEE 2.0
    9394          orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6
    9495          true        : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6
     
    9697[-cosp true/false]    : compile with/without cosp package (default: false)
    9798[-cosp2 true/false]    : compile with/without cosp2 package (default: false)
     99[-cospv2 true/false]    : compile with/without cospv2 package (default: false)
    98100[-sisvat true/false]  : compile with/without sisvat package (default: false)
    99101[-rrtm true/false]    : compile with/without rrtm package (default: false)
     
    181183      "-cosp2")
    182184          cosp2="$2" ; shift ; shift ;;
     185
     186      "-cospv2")
     187          cospv2="$2" ; shift ; shift ;;
    183188     
    184189      "-mem")
     
    373378fi
    374379
    375 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" ]
     380if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" -o "$veget" = "orchidee2.1" ]
    376381then
    377382#NB: option 'true': for backward compatibility. To be used with ORCHIDEE tag 1.9-1.9.6
     
    385390   fi
    386391   if [[ "$veget" == "orchidee2.0" ]] ; then
     392      orch_libs="sechiba parameters stomate parallel orglob orchidee"
     393      CPP_KEY="$CPP_KEY ORCHIDEE_NOUNSTRUCT"
     394   elif [[ "$veget" == "orchidee2.1" ]] ; then
    387395      orch_libs="sechiba parameters stomate parallel orglob orchidee"
    388396   else
     
    457465#   LIB="${LIB} -l${LIBPREFIX}cosp2"
    458466fi
     467
     468if [[ "$cospv2" == "true" ]]
     469then
     470   CPP_KEY="$CPP_KEY CPP_COSPV2"
     471   COSP_PATH="$LIBFGCM/phylmd/cospv2"
     472#   LIB="${LIB} -l${LIBPREFIX}cosp2"
     473fi
     474
    459475
    460476
     
    666682echo "%SISVAT        $SISVAT_PATH"   >> $config_fcm
    667683echo "%COSP          $COSP_PATH"     >> $config_fcm
    668 echo "%COSP2          $COSP2_PATH"     >> $config_fcm
    669684echo "%CPP_KEY       $CPP_KEY"       >> $config_fcm
    670685echo "%EXEC          $code"          >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.