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

    • 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  
    2525fcm_path=none
    2626cosp=false
     27sisvat=false
    2728
    2829# guess a default 'arch'
     
    3435  arch="SX8_BRODIE"
    3536fi
    36 if [[ "${machine:0:6}" == "vargas" ]]
    37 then
    38   arch="PW6_VARGAS"
     37if [[ "${machine:0:3}" == "ada" ]]
     38then
     39  arch="X64_ADA"
    3940fi
    4041if [[ "${machine:0:6}" == "ciclad" ]]
     
    173174          cosp="$2" ; shift ; shift ;;
    174175     
     176      "-sisvat")
     177          sisvat="$2" ; shift ; shift ;;
     178     
    175179      "-mem")
    176180          paramem="mem" ; shift ;;
     
    275279archfileopt=$( echo ${archfileline##%BASE_LD} )
    276280LIB="$LIB  ${archfileopt}"
     281
     282# add Include files defined in arch.fcm file for pre-processing
     283archfileline=$( grep -i '^%FPP_FLAGS' arch.fcm )
     284for inc in $archfileline ; do INCLUDE="$INCLUDE `echo $inc | grep '\-I'`" ; done
    277285
    278286if [[ "$physique" != "nophys" ]]
     
    385393   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    386394   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
     395elif [[ $io == xios ]]
     396then
     397   # For now, xios implies also using ioipsl
     398   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     399   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     400   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
    387401fi
    388402
     
    396410   INCLUDE="$INCLUDE"' -I$(LIBF)/cosp'
    397411fi
     412
     413if [[ "$sisvat" == "true" ]]
     414then
     415   CPP_KEY="$CPP_KEY CPP_SISVAT"
     416fi
     417
    398418
    399419INCLUDE="$INCLUDE ${NETCDF_INCDIR}"
Note: See TracChangeset for help on using the changeset viewer.