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

    r1499 r1521  
    2929# You may set LIBOGCM to something else; otherwise we default to:
    3030setenv LIBOGCM $LMDGCM/libo
    31 ## NetCDF Libraries: what follows is OK for LMD 32 and 64bit Linux Machines
    32 #if ( `uname -m` == "x86_64" ) then
    33 # 64 bit machines
     31## NetCDF Libraries: what follows is OK for LMD 64bit Linux Machines
    3432  setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_pgi/lib
    3533  setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include
    36 #else
    37 #  setenv NCDFLIB /donnees/emlmd/netcdf-4.0.1_pgi/lib
    38 #  setenv NCDFINC /donnees/emlmd/netcdf-4.0.1_pgi/include
    39 #endif
    4034####
     35# Adapt example below to your personal machine (here "antolini"), if necessary
     36if (`hostname -s` == "antolini" ) then
     37  setenv NCDFLIB /home/MILLOUR/netcdf64-4.0.1_pgi/lib
     38  setenv NCDFINC /home/MILLOUR/netcdf64-4.0.1_pgi/include
     39endif
    4140
    4241setenv localdir "`pwd`"
     
    417416   set phys="L_PHY= LIBPHY="
    418417else
    419    set src_dirs="$src_dirs aerono$physique phy$physique"
    420    set include="$include "'-I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique"
     418   set src_dirs="$src_dirs phy_common aerono$physique phy$physique"
     419   set include="$include "'-I$(LIBF)/phy_common -I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique"
     420   set LIBPHY_COMMON='$(LIBO)/libphy_common.a'
    421421endif
    422422set libdyn_phy=""
     
    797797LIBO=$libo \
    798798$phys \
     799LIBPHY_COMMON=${LIBPHY_COMMON} \
    799800LIBDYN_PHYS=${LIBDYN_PHYS} \
    800801DIM=$dimc \
     
    825826LIBO=$libo \
    826827$phys \
     828LIBPHY_COMMON=${LIBPHY_COMMON} \
    827829LIBDYN_PHYS=${LIBDYN_PHYS} \
    828830DIM=$dimc \
Note: See TracChangeset for help on using the changeset viewer.