Ignore:
Timestamp:
Jun 25, 2014, 1:19:59 PM (10 years ago)
Author:
emillour
Message:

Common dynamics:
Some updates to keep up with LMDZ5 Earth model evolution (up to LMDZ5 rev 1955).
Main change is the introduction of a "dyn3d_common" directory
to store files common to dyn3d and dyn3dpar.
See file "DOC/chantiers/commit_importants.log" for detailed list
of changes. These changes do not change results on test cases.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz_fcm

    r1107 r1300  
    2222couple=false
    2323veget=false
     24sisvat=false
    2425chimie=false
    2526chemistry=false
     
    134135          veget="$2" ; shift ; shift ;;
    135136
     137      "-sisvat")
     138          sisvat="$2" ; shift ; shift ;;
     139
    136140      "-chimie")
    137141          chimie="$2" ; shift ; shift ;;
     
    287291   fi
    288292   if [[ "$veget" == "orchidee2.0" ]] ; then
    289       orch_libs=orchidee
     293      orch_libs="sechiba parameters stomate parallel orglob orchidee"
    290294   else
    291295      orch_libs="sechiba parameters stomate parallel orglob"
     
    303307fi
    304308
     309if [[ "$sisvat" == "true" ]]
     310then
     311   CPP_KEY="$CPP_KEY CPP_SISVAT"
     312   sed -e 's/^#src::sisvat/src::sisvat/' bld.cfg > bld.tmp
     313   mv bld.tmp bld.cfg
     314fi
     315
    305316if [[ $io == ioipsl ]]
    306317then
     
    308319   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    309320   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
     321elif [[ $io == xios ]]
     322then
     323   # For now, xios implies also using ioipsl
     324   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     325   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     326   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
    310327fi
    311328
     
    549566ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/tmp tmp_src
    550567
     568#eventual cleanup for SISVAT
     569sed -e 's/^src::sisvat/#src::sisvat/' bld.cfg > bld.tmp
     570mv bld.tmp bld.cfg
     571
     572
    551573if [[ -r $LIBFGCM/grid/dimensions.h ]]
    552574then
Note: See TracChangeset for help on using the changeset viewer.