Ignore:
Timestamp:
Jun 25, 2014, 1:19:59 PM (11 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

    r1107 r1300  
    2525fcm_path=none
    2626cosp=false
     27sisvat=false
    2728bands=""
    2829scatterers=""
     
    3839  arch="SX8_BRODIE"
    3940fi
    40 if [[ "${machine:0:6}" == "vargas" ]]
    41 then
    42   arch="PW6_VARGAS"
    43 fi
    44 if [[ "${machine:0:6}" == "ada338" ]]
    45 then
    46   arch="PW6_VARGAS"
     41if [[ "${machine:0:3}" == "ada" ]]
     42then
     43  arch="X64_ADA"
    4744fi
    4845if [[ "${machine:0:6}" == "ciclad" ]]
     
    9087
    9188CPP_KEY=""
    92 INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/filtrez -I. '
     89INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/dyn3d_common -I$(LIBF)/filtrez -I. '
    9390LIB=""
    9491adjnt=""
     
    195192          cosp="$2" ; shift ; shift ;;
    196193     
     194      "-sisvat")
     195          sisvat="$2" ; shift ; shift ;;
     196     
    197197      "-mem")
    198198          paramem="mem" ; shift ;;
     
    434434   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR}"
    435435   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl"
     436elif [[ $io == xios ]]
     437then
     438   # For now, xios implies also using ioipsl
     439   CPP_KEY="$CPP_KEY CPP_IOIPSL CPP_XIOS"
     440   INCLUDE="$INCLUDE -I${IOIPSL_INCDIR} -I${XIOS_INCDIR}"
     441   LIB="$LIB -L${IOIPSL_LIBDIR} -l${LIBPREFIX}ioipsl -L${XIOS_LIBDIR} -l${LIBPREFIX}stdc++ -l${LIBPREFIX}xios"
    436442fi
    437443
     
    444450   lcosp="-l${LIBPREFIX}cosp"
    445451   INCLUDE="$INCLUDE"' -I$(LIBF)/cosp'
     452fi
     453
     454if [[ "$sisvat" == "true" ]]
     455then
     456   CPP_KEY="$CPP_KEY CPP_SISVAT"
    446457fi
    447458
Note: See TracChangeset for help on using the changeset viewer.