Changeset 1521 for trunk/LMDZ.GENERIC
- Timestamp:
- Mar 25, 2016, 10:34:35 AM (9 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 1 added
- 8 deleted
- 12 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r1520 r1521 1126 1126 this of course includes all module variables, as "threadprivate"). 1127 1127 1128 == 25/03/2016 == EM 1129 - Code reorganization (to mach comming evolutions on all planetary models), 1130 created a "phy_common" directory to contain routines common (wrt structural 1131 nature of underlying code/grid) to all LMDZ-related physics packages. 1132 - Moved ioipsl_getincom_p.F90 from "misc" to "phy_common" and modified it 1133 to match Earth GCM version and renamed it ioipsl_getin_p_mod.F90 1134 - Adapted calls from phystd/* routines accordingly 1135 - Adapted "create_make_gcm" and "makegcm*" scripts accordingly 1136 (deleted obsolete makegcm_g95) -
trunk/LMDZ.GENERIC/create_make_gcm
r1403 r1521 74 74 echo 'L_FILTRE = -l$(FILTRE)' 75 75 echo 'L_DYN_PHY = -ldynlmdz_phy$(PHYS) ' 76 echo 'L_PHY = -lphy$(PHYS) '76 echo 'L_PHY = -lphy$(PHYS) -lphy_common' 77 77 echo 'L_MISC = -lmisc' 78 78 #echo 'L_AERONOMARS = -laeronomars' … … 100 100 echo 'DYN = dyn$(DIM)d' 101 101 echo 102 echo 'main : $(DYN) misc phys dyn_phy $(OPTION_DEP) '102 echo 'main : $(DYN) misc phys phy_common dyn_phy $(OPTION_DEP) ' 103 103 echo ' cd $(LIBO) ; $(RANLIB) lib*.a ; cd $(GCM) ;\' 104 104 echo ' cd $(LOCAL_DIR); \' 105 105 echo ' $(COMPILE90) $(LIBF)/$(DIRMAIN)/$(SOURCE) -o $(PROG).o ; \' 106 if [ "$CRAY" = '0' ] ; then107 106 echo ' $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_FILTRE) $(L_PHY) $(L_DYN_PHY) $(L_MISC) $(L_DYN) $(L_PHY) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o ' 108 else109 echo ' $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_FILTRE) $(L_PHY) $(L_DYN_PHY) $(L_MISC) $(L_DYN) $(L_PHY) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '110 fi111 107 echo 112 108 echo 'dyn : $(LIBO)/libdyn$(DIM)d.a $(FILTRE)$(DIM)d' … … 115 111 echo 116 112 echo 'phys : $(LIBPHY)' 113 echo 'phy_common : $(LIBPHY_COMMON)' 117 114 echo 118 115 echo 'dyn3d : $(LIBO)/libdyn3d.a $(LIBO)/lib$(FILTRE).a' -
trunk/LMDZ.GENERIC/libf/phy_common/ioipsl_getin_p_mod.F90
r1520 r1521 2 2 ! $Id$ 3 3 ! 4 ! Module/Routines extracted from IOIPSL v2_1_8 5 ! 6 MODULE ioipsl_getincom_p 7 !- 8 !$Id: getincom.f90 536 2009-01-30 11:46:27Z bellier $ 9 !- 10 ! This software is governed by the CeCILL license 11 ! See IOIPSL/IOIPSL_License_CeCILL.txt 4 MODULE ioipsl_getin_p_mod 5 ! To use getin in a parallel context 12 6 !--------------------------------------------------------------------- 13 USE ioipsl_getincom ! to use 'getin' 7 #ifdef CPP_IOIPSL 8 USE ioipsl, ONLY: getin 9 #else 10 USE ioipsl_getincom, ONLY: getin 11 #endif 14 12 USE mod_phys_lmdz_mpi_data, ONLY : is_mpi_root 15 13 USE mod_phys_lmdz_omp_data, ONLY : is_omp_root … … 168 166 !----------------------------- 169 167 170 END MODULE ioipsl_getincom_p 168 END MODULE ioipsl_getin_p_mod 169 -
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1498 r1521 13 13 use watercommon_h 14 14 use datafile_mod, only: datadir 15 use ioipsl_getin com_p15 use ioipsl_getin_p_mod, only: getin_p 16 16 use gases_h 17 17 use radii_mod, only : su_aer_radii,co2_reffrad,h2o_reffrad,dust_reffrad,h2so4_reffrad,back2lay_reffrad -
trunk/LMDZ.GENERIC/libf/phystd/hydrol.F90
r1484 r1521 6 6 pctsrf_sic,sea_ice) 7 7 8 ! use ioipsl_getincom 9 use ioipsl_getincom_p 8 use ioipsl_getin_p_mod, only: getin_p 10 9 use watercommon_h, only: T_h2O_ice_liq, RLFTT, rhowater, mx_eau_sol 11 10 USE surfdat_h -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r1520 r1521 52 52 ! ------------- 53 53 use datafile_mod, only: datadir 54 USE ioipsl_getincom_p, only: getin_p54 use ioipsl_getin_p_mod, only: getin_p 55 55 IMPLICIT NONE 56 56 -
trunk/LMDZ.GENERIC/libf/phystd/largescale.F90
r1397 r1521 3 3 4 4 5 ! to use 'getin' 6 ! use ioipsl_getincom 7 use ioipsl_getincom_p 5 use ioipsl_getin_p_mod, only: getin_p 8 6 use watercommon_h, only : RLVTT, RCPD, RVTMP2, & 9 7 T_h2O_ice_clouds,T_h2O_ice_liq,Psat_waterDP,Lcpdqsat_waterDP -
trunk/LMDZ.GENERIC/libf/phystd/radii_mod.F90
r1397 r1521 36 36 ! 37 37 !================================================================== 38 ! to use 'getin' 39 ! use ioipsl_getincom 40 use ioipsl_getincom_p 38 use ioipsl_getin_p_mod, only: getin_p 41 39 use radinc_h, only: naerkind 42 40 use aerosol_mod -
trunk/LMDZ.GENERIC/libf/phystd/rain.F90
r1397 r1521 2 2 3 3 4 ! to use 'getin' 5 ! use ioipsl_getincom 6 use ioipsl_getincom_p 4 use ioipsl_getin_p_mod, only: getin_p 7 5 use watercommon_h, only: T_h2O_ice_liq,T_h2O_ice_clouds, RLVTT, RCPD, RCPV, RV, RVTMP2,Psat_water,Tsat_water,rhowater 8 6 use radii_mod, only: h2o_cloudrad -
trunk/LMDZ.GENERIC/libf/phystd/sugas_corrk.F90
r1450 r1521 28 28 use comcstfi_mod, only: mugaz 29 29 use gases_h 30 ! use ioipsl_getincom 31 use ioipsl_getincom_p 30 use ioipsl_getin_p_mod, only: getin_p 32 31 use callkeys_mod, only: varactive,varfixed,graybody,callgasvis,& 33 32 continuum,H2Ocont_simple -
trunk/LMDZ.GENERIC/makegcm_gfortran
r1403 r1521 34 34 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_gfortran/include 35 35 ##### 36 37 38 36 # Adapt example below to your personal machine (here "antolini"), if necessary 37 if (`hostname -s` == "antolini" ) then 38 setenv NCDFLIB /home/MILLOUR/netcdf64-4.0.1_gfortran/lib 39 setenv NCDFINC /home/MILLOUR/netcdf64-4.0.1_gfortran/include 40 endif 39 41 40 42 setenv localdir "`pwd`" … … 409 411 set phys="L_PHY= LIBPHY=" 410 412 else 411 set src_dirs="$src_dirs phy$physique" 412 set include="$include "' -I$(LIBF)/phy'"$physique" 413 set src_dirs="$src_dirs phy_common phy$physique" 414 set include="$include "'-I$(LIBF)/phy_common -I$(LIBF)/phy'"$physique" 415 set LIBPHY_COMMON='$(LIBO)/libphy_common.a' 413 416 endif 414 417 set libdyn_phy="" … … 793 796 LIBO=$libo \ 794 797 $phys \ 798 LIBPHY_COMMON=${LIBPHY_COMMON} \ 795 799 LIBDYN_PHYS=${LIBDYN_PHYS} \ 796 800 DIM=$dimc \ … … 821 825 LIBO=$libo \ 822 826 $phys \ 827 LIBPHY_COMMON=${LIBPHY_COMMON} \ 823 828 LIBDYN_PHYS=${LIBDYN_PHYS} \ 824 829 DIM=$dimc \ -
trunk/LMDZ.GENERIC/makegcm_ifort
r1416 r1521 414 414 set phys="L_PHY= LIBPHY=" 415 415 else 416 set src_dirs="$src_dirs phy$physique" 417 set include="$include "' -I$(LIBF)/phy'"$physique" 416 set src_dirs="$src_dirs phy_common phy$physique" 417 set include="$include "'-I$(LIBF)/phy_common -I$(LIBF)/phy'"$physique" 418 set LIBPHY_COMMON='$(LIBO)/libphy_common.a' 418 419 endif 419 420 set libdyn_phy="" … … 792 793 LIBO=$libo \ 793 794 $phys \ 795 LIBPHY_COMMON=${LIBPHY_COMMON} \ 794 796 LIBDYN_PHYS=${LIBDYN_PHYS} \ 795 797 DIM=$dimc \ … … 820 822 LIBO=$libo \ 821 823 $phys \ 824 LIBPHY_COMMON=${LIBPHY_COMMON} \ 822 825 LIBDYN_PHYS=${LIBDYN_PHYS} \ 823 826 DIM=$dimc \ -
trunk/LMDZ.GENERIC/makegcm_pgf90
r1403 r1521 34 34 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include 35 35 #### 36 # Adapt example below to your personal machine (here "antolini"), if necessary 37 if (`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 40 endif 36 41 37 42 setenv localdir "`pwd`" … … 405 410 set phys="L_PHY= LIBPHY=" 406 411 else 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' 409 415 endif 410 416 set libdyn_phy="" … … 785 791 LIBO=$libo \ 786 792 $phys \ 793 LIBPHY_COMMON=${LIBPHY_COMMON} \ 787 794 LIBDYN_PHYS=${LIBDYN_PHYS} \ 788 795 DIM=$dimc \ … … 813 820 LIBO=$libo \ 814 821 $phys \ 822 LIBPHY_COMMON=${LIBPHY_COMMON} \ 815 823 LIBDYN_PHYS=${LIBDYN_PHYS} \ 816 824 DIM=$dimc \
Note: See TracChangeset
for help on using the changeset viewer.