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/create_make_gcm

    r1403 r1521  
    7474echo 'L_FILTRE   = -l$(FILTRE)'
    7575echo 'L_DYN_PHY = -ldynlmdz_phy$(PHYS) '
    76 echo 'L_PHY = -lphy$(PHYS) '
     76echo 'L_PHY = -lphy$(PHYS) -lphy_common'
    7777echo 'L_MISC    = -lmisc'
    7878echo 'L_AERONOMARS    = -laeronomars'
     
    100100echo 'DYN  = dyn$(DIM)d'
    101101echo
    102 echo 'main : $(DYN) misc phys dyn_phy aeronomars $(OPTION_DEP) '
     102echo 'main : $(DYN) misc phys phy_common dyn_phy aeronomars $(OPTION_DEP) '
    103103echo '  cd $(LIBO) ; $(RANLIB) lib*.a ; cd $(GCM) ;\'
    104104echo '  cd $(LOCAL_DIR); \'
    105105echo '  $(COMPILE90) $(LIBF)/$(DIRMAIN)/$(SOURCE) -o $(PROG).o ; \'
    106 if [ "$CRAY" = '0' ] ; then
    107 echo '  $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_FILTRE) $(L_AERONOMARS) $(L_PHY) $(L_DYN_PHY) $(L_MISC) $(L_DYN) $(L_AERONOMARS) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '
    108 else
    109 echo '  $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_FILTRE) $(L_AERONOMARS) $(L_PHY) $(L_DYN_PHY) $(L_MISC) $(L_DYN) $(L_AERONOMARS) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '
    110 fi
     106echo '  $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_FILTRE) $(L_AERONOMARS) $(L_PHY) $(L_DYN_PHY) $(L_MISC) $(L_DYN) $(L_AERONOMARS) $(L_PHY) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '
    111107echo
    112108echo 'dyn : $(LIBO)/libdyn$(DIM)d.a $(FILTRE)$(DIM)d'
     
    115111echo
    116112echo 'phys : $(LIBPHY)'
     113echo 'phy_common : $(LIBPHY_COMMON)'
    117114echo
    118115echo 'dyn3d : $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a'
Note: See TracChangeset for help on using the changeset viewer.