Ignore:
Timestamp:
Nov 16, 2009, 4:24:31 PM (15 years ago)
Author:
idelkadi
Message:

Adapter makegcm et makelmdz_fcm pour compiler LMDZ avec cosp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4-dev/makelmdz_fcm

    r1250 r1261  
    2828LIBPREFIX=""
    2929fcm_path=none
     30cosp=false
    3031
    3132LMDGCM=`/bin/pwd`
     
    127128          optim="$optim -Dadj" ; shift ;;
    128129
     130      "-cosp")
     131          cosp="$2" ; shift ; shift ;;
     132
    129133
    130134      "-filtre")
     
    241245   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
    242246fi
    243 
     247if [[ "$cosp" == "true" ]]
     248then
     249   CPP_KEY="$CPP_KEY CPP_COSP"
     250   INCLUDE="$INCLUDE -I$(LIBFGCM)/cosp"
     251#   LIB="${LIB} -l${LIBPREFIX}cosp"
     252fi
    244253INCLUDE="$INCLUDE -I${NETCDF_INCDIR}"
    245254LIB="$LIB -L${NETCDF_LIBDIR} -lnetcdf"
Note: See TracChangeset for help on using the changeset viewer.