Ignore:
Timestamp:
Oct 16, 2013, 2:36:06 PM (11 years ago)
Author:
Laurent Fairhead
Message:

Proto-testing commit

Location:
LMDZ5/tags/proto-testing-20131015
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • LMDZ5/tags/proto-testing-20131015

  • LMDZ5/tags/proto-testing-20131015/makelmdz

    r1864 r1893  
    2525fcm_path=none
    2626cosp=false
     27sisvat=false
    2728
    2829# guess a default 'arch'
     
    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" ]]
     
    396404   INCLUDE="$INCLUDE"' -I$(LIBF)/cosp'
    397405fi
     406
     407if [[ "$sisvat" == "true" ]]
     408then
     409   CPP_KEY="$CPP_KEY CPP_SISVAT"
     410fi
     411
    398412
    399413INCLUDE="$INCLUDE ${NETCDF_INCDIR}"
Note: See TracChangeset for help on using the changeset viewer.