Ignore:
Timestamp:
Apr 13, 2016, 9:57:46 AM (9 years ago)
Author:
emillour
Message:

All GCMS: Further adaptations to keep up with changes in LMDZ5 concerning
physics/dynamics separation:

  • changed directory "dynlonlat_phylonlat" to "dynphy_lonlat" and adapted makelmdz and makelmdz_fcm scripts accordingly.
  • added option "-libphy" to makelmdz_fcm to just build a physics library, without any main program (not operational yet; further cleanup in the physics required).
  • moved "iniprint.h" from dyn3d_common to misc (NB: it is used in both physics and dynamics; this should be cleaned up further...)

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/makelmdz

    r1530 r1540  
    572572   src_dirs="$src_dirs $filtre dyn3d_common dyn3d${FLAG_PARA}"
    573573   if [[ $physique != "nophys" ]] ; then
    574      src_dirs="$src_dirs dynlonlat_phylonlat dynlonlat_phylonlat/phy${phys_root}"
    575      libdyn_phy="-ldynlonlat_phylonlat"
    576      LIBDYN_PHYS='$(LIBO)/libdynlonlat_phylonlat.a'
    577      INCLUDE="$INCLUDE "'-I$(LIBF)/dynlonlat_phylonlat'
    578      INCLUDE="$INCLUDE "'-I$(LIBF)/dynlonlat_phylonlat/'"${phys_root}"
     574     src_dirs="$src_dirs dynphy_lonlat dynphy_lonlat/phy${phys_root}"
     575     libdyn_phy="-ldynphy_lonlat"
     576     LIBDYN_PHYS='$(LIBO)/libdynphy_lonlat.a'
     577     INCLUDE="$INCLUDE "'-I$(LIBF)/dynphy_lonlat'
     578     INCLUDE="$INCLUDE "'-I$(LIBF)/dynphy_lonlat/'"${phys_root}"
    579579   fi
    580580  cd $LIBFGCM/grid
     
    743743        dirmain=phy${physique}
    744744      else
    745         if [[ -r $LMDGCM/libf/dynlonlat_phylonlat/phy$phys_root/${code}.F ]]
     745        if [[ -r $LMDGCM/libf/dynphy_lonlat/phy$phys_root/${code}.F ]]
    746746        then
    747747          source_code=${code}.F
    748           dirmain="dynlonlat_phylonlat/phy${phys_root}"
     748          dirmain="dynphy_lonlat/phy${phys_root}"
    749749        else
    750750          if [[ -r $LMDGCM/libf/phy$physique/dyn1d/${code}.F ]]
Note: See TracChangeset for help on using the changeset viewer.