Changeset 3358


Ignore:
Timestamp:
Jul 4, 2018, 4:35:18 PM (6 years ago)
Author:
idelkadi
Message:

Implementation de la nouvelle version COSPv2 dans LMDZ.
Pour compiler avec makelmdz_fcma utiliser l'option "-cosp2 true"

Location:
LMDZ6/trunk
Files:
36 added
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz_fcm

    r3075 r3358  
    3434LIBPREFIX=""
    3535cosp=false
     36cosp2=false
    3637job=1
    3738full=''
     
    5657SISVAT_PATH=$LMDGCM/.void_dir
    5758COSP_PATH=$LMDGCM/.void_dir
     59COSP2_PATH=$LMDGCM/.void_dir
    5860fcm_path=$LMDGCM/tools/fcm/bin
    5961
     
    9395[-chimie INCA/false]       : with INCA chemistry model or without (default: false)
    9496[-cosp true/false]    : compile with/without cosp package (default: false)
     97[-cosp2 true/false]    : compile with/without cosp2 package (default: false)
    9598[-sisvat true/false]  : compile with/without sisvat package (default: false)
    9699[-rrtm true/false]    : compile with/without rrtm package (default: false)
     
    175178      "-cosp")
    176179          cosp="$2" ; shift ; shift ;;
     180
     181      "-cosp2")
     182          cosp2="$2" ; shift ; shift ;;
    177183     
    178184      "-mem")
     
    445451fi
    446452
     453if [[ "$cosp2" == "true" ]]
     454then
     455   CPP_KEY="$CPP_KEY CPP_COSP2"
     456   COSP_PATH="$LIBFGCM/phylmd/cosp2"
     457#   LIB="${LIB} -l${LIBPREFIX}cosp2"
     458fi
     459
     460
    447461INCLUDE="$INCLUDE ${NETCDF_INCDIR}"
    448462LIB="$LIB ${NETCDF_LIBDIR}"
     
    652666echo "%SISVAT        $SISVAT_PATH"   >> $config_fcm
    653667echo "%COSP          $COSP_PATH"     >> $config_fcm
     668echo "%COSP2          $COSP2_PATH"     >> $config_fcm
    654669echo "%CPP_KEY       $CPP_KEY"       >> $config_fcm
    655670echo "%EXEC          $code"          >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.