Changeset 3793 for LMDZ6/trunk


Ignore:
Timestamp:
Jan 5, 2021, 10:54:11 AM (4 years ago)
Author:
evignon
Message:

Ajout INLANDSIS phase 2: mise à jour des makefile et creation du
inlandsis.def

Location:
LMDZ6/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/bld.cfg

    r3441 r3793  
    109109bld::outfile_ext::mod .mod
    110110bld::tool::SHELL   /bin/bash
     111bld::tool::SHELL   /usr/bin/bash
  • LMDZ6/trunk/makegcm

    r3491 r3793  
    4242set cospv2=false
    4343set sisvat=false
     44set inlandsis=false
    4445
    4546set FC_LINUX=gfortran
     
    518519     case -sisvat
    519520        set sisvat="$2" ; shift ; shift ; goto top
     521     case -inlandsis
     522        set inlandsis="$2" ; shift ; shift ; goto top
     523
    520524
    521525     case -filtre
     
    621625endif
    622626
     627if ( "$inlandsis" == 'true' ) then
     628    set cppflags="$cppflags -DCPP_INLANDSIS"
     629endif
     630
     631
    623632if ( "$physique" == 'nophys' ) then
    624633   set phys="L_PHY= LIBPHY="
  • LMDZ6/trunk/makelmdz

    r3574 r3793  
    2828cospv2=false
    2929sisvat=false
     30inlandsis=false
    3031rrtm=false
    3132rrtm=false
     
    122123[-cospv2 true/false]    : compile with/without cospv2 package (default: false)
    123124[-sisvat true/false]  : compile with/without sisvat package (default: false)
     125[-inlandsis true/false]  : compile with/without inlandsis package (default: false)
    124126[-rrtm true/false]    : compile with/without rrtm package (default: false)
    125127[-dust true/false]    : compile with/without the dust package from Boucher et al. (default: false)
     
    192194      "-sisvat")
    193195          sisvat="$2" ; shift ; shift ;;
    194      
     196
     197      "-inlandsis")
     198          inlandsis="$2" ; shift ; shift ;; 
     199
    195200      "-rrtm")
    196201          rrtm="$2" ; shift ; shift ;;
     
    518523   src_dirs="$src_dirs phy${physique}/sisvat"
    519524fi
     525
     526
     527if [[ "$inlandsis" == "true" ]]
     528then
     529   CPP_KEY="$CPP_KEY CPP_INLANDSIS"
     530   src_dirs="$src_dirs phy${physique}/inlandsis"
     531fi
     532
    520533
    521534if [[ "$rrtm" == "true" ]]
  • LMDZ6/trunk/makelmdz_fcm

    r3647 r3793  
    2424veget=false
    2525sisvat=false
     26inlandsis=false
    2627rrtm=false
    2728dust=false
     
    99100[-cospv2 true/false]    : compile with/without cospv2 package (default: false)
    100101[-sisvat true/false]  : compile with/without sisvat package (default: false)
     102[-inlandsis true/false]  : compile with/without inlandsis package (default: false)
    101103[-rrtm true/false]    : compile with/without rrtm package (default: false)
    102104[-dust true/false]    : compile with/without the dust package by Boucher and co (default: false)
     
    151153      "-sisvat")
    152154          sisvat="$2" ; shift ; shift ;;
     155
     156      "-inlandsis")
     157          inlandsis="$2" ; shift ; shift ;;
    153158
    154159      "-rrtm")
     
    415420fi
    416421
     422if [[ "$inlandsis" == "true" ]]
     423then
     424   CPP_KEY="$CPP_KEY CPP_INLANDSIS"
     425   SISVAT_PATH="$LIBFGCM/%PHYS/inlandsis"
     426fi
     427
     428
    417429if [[ "$rrtm" == "true" ]]
    418430then
     
    681693echo "%STRATAER      $STRATAER_PATH" >> $config_fcm
    682694echo "%SISVAT        $SISVAT_PATH"   >> $config_fcm
     695echo "%INLANDSIS     $INLANDSIS_PATH" >> $config_fcm
    683696echo "%COSP          $COSP_PATH"     >> $config_fcm
    684697echo "%CPP_KEY       $CPP_KEY"       >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.