Ignore:
Timestamp:
Nov 29, 2013, 9:40:25 AM (11 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r1860:1909 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/makelmdz_fcm

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
    r1864 r1910  
    2222couple=false
    2323veget=false
     24sisvat=false
    2425chimie=false
    2526parallel=none
     
    117118          veget="$2" ; shift ; shift ;;
    118119
     120      "-sisvat")
     121          sisvat="$2" ; shift ; shift ;;
     122
    119123      "-chimie")
    120124          chimie="$2" ; shift ; shift ;;
     
    284288fi
    285289
     290if [[ "$sisvat" == "true" ]]
     291then
     292   CPP_KEY="$CPP_KEY CPP_SISVAT"
     293   sed -e 's/^#src::sisvat/src::sisvat/' bld.cfg > bld.tmp
     294   mv bld.tmp bld.cfg
     295fi
     296
    286297if [[ $io == ioipsl ]]
    287298then
     
    289300   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    290301   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
    291 fi
     302elif [[ $io == xios ]]
     303then
     304   # For now, xios implies also using ioipsl
     305   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     306   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     307   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
     308fi
     309
    292310if [[ "$cosp" == "true" ]]
    293311then
     
    482500ln -s $LIBOGCM/${arch}${SUFF_NAME}/.config/tmp tmp_src
    483501
     502#eventual cleanup for SISVAT
     503sed -e 's/^src::sisvat/#src::sisvat/' bld.cfg > bld.tmp
     504mv bld.tmp bld.cfg
     505
     506
    484507if [[ -r $LIBFGCM/grid/dimensions.h ]]
    485508then
Note: See TracChangeset for help on using the changeset viewer.