Ignore:
Timestamp:
Mar 25, 2016, 10:34:35 AM (9 years ago)
Author:
emillour
Message:

All GCMs: Updates to make planetary codes (+Earth) setups converge.

  • Made a "phy_common" directory in libf, to contain routines common (wrt structural nature of underlying code/grid) to all LMDZ-related physics packages.
  • moved all "mod_phys_*" and "mod_grid_phy_lmdz" files from dynlonlat_phylonlat to "phy_common"
  • moved "ioipsl_getincom_p.F90 from "misc" to "phy_common" and modified it to match Earth GCM version and renamed it ioipsl_getin_p_mod.F90
  • added an "abort_physics" (as in Earth GCM) in "phy_common"
  • added a "print_control_mod.F90 (as in Earth GCM) in phy_common
  • made similar changes in LMDZ.GENERIC and LMDZ.MARS

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/makegcm_pgf90

    r1403 r1521  
    3434setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include
    3535####
     36# Adapt example below to your personal machine (here "antolini"), if necessary
     37if (`hostname -s` == "antolini" ) then
     38  setenv NCDFLIB /home/MILLOUR/netcdf64-4.0.1_pgi/lib
     39  setenv NCDFINC /home/MILLOUR/netcdf64-4.0.1_pgi/include
     40endif
    3641
    3742setenv localdir "`pwd`"
     
    405410   set phys="L_PHY= LIBPHY="
    406411else
    407    set src_dirs="$src_dirs phy$physique"
    408    set include="$include "' -I$(LIBF)/phy'"$physique"
     412   set src_dirs="$src_dirs phy_common phy$physique"
     413   set include="$include "'-I$(LIBF)/phy_common  -I$(LIBF)/phy'"$physique"
     414   set LIBPHY_COMMON='$(LIBO)/libphy_common.a'
    409415endif
    410416set libdyn_phy=""
     
    785791LIBO=$libo \
    786792$phys \
     793LIBPHY_COMMON=${LIBPHY_COMMON} \
    787794LIBDYN_PHYS=${LIBDYN_PHYS} \
    788795DIM=$dimc \
     
    813820LIBO=$libo \
    814821$phys \
     822LIBPHY_COMMON=${LIBPHY_COMMON} \
    815823LIBDYN_PHYS=${LIBDYN_PHYS} \
    816824DIM=$dimc \
Note: See TracChangeset for help on using the changeset viewer.