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.MARS/makegcm_ifort

    r1521 r1540  
    88set physique=mars
    99set phys="PHYS=$physique"
    10 set include='-I$(LIBF)/grid -I$(LIBF)/misc -I. -I$(LIBF)/dynlonlat_phylonlat'
     10set include='-I$(LIBF)/grid -I$(LIBF)/misc -I. -I$(LIBF)/dynphy_lonlat'
    1111set cpp_def=''
    1212set ntrac = 1
     
    534534  if ( "$dyntype" == "olddyn" ) then
    535535    set include="$include "'-I$(LIBF)/olddyn3d '
    536     set src_dirs="$src_dirs olddyn3d dynlonlat_phylonlat dynlonlat_phylonlat/phy$physique"
     536    set src_dirs="$src_dirs olddyn3d dynphy_lonlat dynphy_lonlat/phy$physique"
    537537  else
    538538    set include="$include "'-I$(LIBF)/dyn3d '
    539     set src_dirs="$src_dirs dyn3d dynlonlat_phylonlat dynlonlat_phylonlat/phy$physique"
     539    set src_dirs="$src_dirs dyn3d dynphy_lonlat dynphy_lonlat/phy$physique"
    540540  endif
    541   set libdyn_phy="-ldynlonlat_phylonlat"
    542   set LIBDYN_PHYS='$(LIBO)/libdynlonlat_phylonlat.a'
     541  set libdyn_phy="-ldynphy_lonlat"
     542  set LIBDYN_PHYS='$(LIBO)/libdynphy_lonlat.a'
    543543  set dimh=`echo $dim | awk ' { print $1 "." $2 } '`
    544544endif
     
    793793cd $localdir
    794794
    795 ## locate main program (could be in dyn3d or dynlonlat_phylonlat/phy$physique
     795## locate main program (could be in dyn3d or dynphy_lonlat/phy$physique
    796796##  or phy$physique/dyn1d   and could be .F or .F90)
    797797set source_code=${code}.F
     
    808808  set source_code=${code}.F90
    809809endif
    810 if ( -f $LMDGCM/libf/dynlonlat_phylonlat/phy${physique}/${code}.F ) then
    811   set dirmain=dynlonlat_phylonlat/phy${physique}
     810if ( -f $LMDGCM/libf/dynphy_lonlat/phy${physique}/${code}.F ) then
     811  set dirmain=dynphy_lonlat/phy${physique}
    812812  set source_code=${code}.F
    813813endif
    814 if ( -f $LMDGCM/libf/dynlonlat_phylonlat/phy${physique}/${code}.F90 ) then
    815   set dirmain=dynlonlat_phylonlat/phy${physique}
     814if ( -f $LMDGCM/libf/dynphy_lonlat/phy${physique}/${code}.F90 ) then
     815  set dirmain=dynphy_lonlat/phy${physique}
    816816  set source_code=${code}.F90
    817817endif
Note: See TracChangeset for help on using the changeset viewer.