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

    r1521 r1540  
    88set physique=std
    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 ntrac = 1
    1212set filtre=filtrez
     
    501501  if ( "$dyntype" == "olddyn" ) then
    502502    set include="$include "'-I$(LIBF)/olddyn3d '
    503     set src_dirs="$src_dirs olddyn3d dynlonlat_phylonlat dynlonlat_phylonlat/phy$physique"
     503    set src_dirs="$src_dirs olddyn3d dynphy_lonlat dynphy_lonlat/phy$physique"
    504504  else
    505505    set include="$include "'-I$(LIBF)/dyn3d '
    506     set src_dirs="$src_dirs dyn3d dynlonlat_phylonlat dynlonlat_phylonlat/phy$physique"
     506    set src_dirs="$src_dirs dyn3d dynphy_lonlat dynphy_lonlat/phy$physique"
    507507  endif
    508   set libdyn_phy="-ldynlonlat_phylonlat"
    509   set LIBDYN_PHYS='$(LIBO)/libdynlonlat_phylonlat.a'
     508  set libdyn_phy="-ldynphy_lonlat"
     509  set LIBDYN_PHYS='$(LIBO)/libdynphy_lonlat.a'
    510510  set dimh=`echo $dim | awk ' { print $1 "." $2 } '`
    511511endif
     
    775775  set source_code=${code}.F90
    776776endif
    777 if ( -f $LMDGCM/libf/dynlonlat_phylonlat/phy${physique}/${code}.F ) then
    778   set dirmain=dynlonlat_phylonlat/phy${physique}
     777if ( -f $LMDGCM/libf/dynphy_lonlat/phy${physique}/${code}.F ) then
     778  set dirmain=dynphy_lonlat/phy${physique}
    779779  set source_code=${code}.F
    780780endif
    781 if ( -f $LMDGCM/libf/dynlonlat_phylonlat/phy${physique}/${code}.F90 ) then
    782   set dirmain=dynlonlat_phylonlat/phy${physique}
     781if ( -f $LMDGCM/libf/dynphy_lonlat/phy${physique}/${code}.F90 ) then
     782  set dirmain=dynphy_lonlat/phy${physique}
    783783  set source_code=${code}.F90
    784784endif
Note: See TracChangeset for help on using the changeset viewer.