Changeset 1521
- Timestamp:
- Mar 25, 2016, 10:34:35 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 23 deleted
- 22 edited
- 23 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/DOC/chantiers/commit_importants.log
r1508 r1521 1603 1603 - and no isotopes-relates changes in dyn3dpar (since these changes 1604 1604 have been made in LMDZ5 dyn3dmem). 1605 1606 ********************** 1607 **** commit_v1521 **** 1608 ********************** 1609 Ehouarn: Updates to make planetary codes (+Earth) setups converge. 1610 * Made a "phy_common" directory in libf, to contain routines common (wrt 1611 structural nature of underlying code/grid) to all LMDZ-related physics 1612 packages. 1613 * moved all "mod_phys_*" and "mod_grid_phy_lmdz" files from dynlonlat_phylonlat 1614 to "phy_common" 1615 * moved "ioipsl_getincom_p.F90 from "misc" to "phy_common" and modified 1616 it to match Earth GCM version and renamed it ioipsl_getin_p_mod.F90 1617 * added an "abort_physics" (as in Earth GCM) in "phy_common" 1618 * added a "print_control_mod.F90 (as in Earth GCM) in phy_common 1619 * made similar changes in LMDZ.GENERIC and LMDZ.MARS -
trunk/LMDZ.COMMON/bld.cfg
r1406 r1521 34 34 src::misc %SRC_PATH/misc 35 35 src::dyn3d_common %DYN_COMMON 36 src::phy_common %PHY_COMMON 36 37 src::cosp %COSP 37 38 src::chem %CHEM -
trunk/LMDZ.COMMON/create_make_gcm
r1403 r1521 65 65 echo 'L_FILTRE = -l$(FILTRE)' 66 66 echo 'L_DYN_PHY = -ldynlmdz_phy$(PHYS) ' 67 echo 'L_PHY = -lphy$(PHYS) '67 echo 'L_PHY = -lphy$(PHYS) -lphy_common' 68 68 echo 'L_MISC = -lmisc' 69 69 echo 'L_ADJNT =' … … 101 101 echo 102 102 #echo 'main : chimie $(DYN) bibio phys $(OPTION_DEP) ' 103 echo 'main : $(DYN) misc phys dyn_phy $(OPTION_DEP) '103 echo 'main : $(DYN) misc phys phy_common dyn_phy $(OPTION_DEP) ' 104 104 echo ' cd $(LIBO) ; $(RANLIB) lib*.a ; cd $(GCM) ;\' 105 105 echo ' cd $(LOCAL_DIR); \' … … 108 108 echo 109 109 echo 'phys : $(LIBPHY)' 110 echo 'phy_common : $(LIBPHY_COMMON)' 110 111 echo 'dyn3d : $(LIBO)/libdyn$(DIM)d$(FLAG_PARA).a $(LIBO)/lib$(FILTRE).a $(LIBO)/libdyn3d_common.a' 111 112 echo 'dyn2d : $(LIBO)/libdyn2d.a' -
trunk/LMDZ.COMMON/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.COMMON/makelmdz
r1444 r1521 308 308 then 309 309 #We'll use some physics 310 src_dirs="$src_dirs phy $physique"310 src_dirs="$src_dirs phy_common phy$physique" 311 311 LIBPHY='$(LIBO)/libphy'"$physique"'.a' 312 lib_phy='-lphy'"$physique" 312 LIBPHY_COMMON='$(LIBO)/libphy_common.a' 313 lib_phy='-lphy'"$physique"' -lphy_common' 313 314 CPP_KEY="$CPP_KEY CPP_PHYS" 314 315 if [[ "${phys_root}" == "lmd" ]] … … 810 811 "PHYS=$physique" \ 811 812 LIBPHY=${LIBPHY} \ 813 LIBPHY_COMMON=${LIBPHY_COMMON} \ 812 814 LIBDYN_PHYS=${LIBDYN_PHYS} \ 813 815 DIM=$dimc \ … … 845 847 "PHYS=$physique" \ 846 848 LIBPHY=${LIBPHY} \ 849 LIBPHY_COMMON=${LIBPHY_COMMON} \ 847 850 LIBDYN_PHYS=${LIBDYN_PHYS} \ 848 851 DIM=$dimc \ -
trunk/LMDZ.COMMON/makelmdz_fcm
r1441 r1521 45 45 DYN_PHYS_PATH=$LMDGCM/.void_dir 46 46 DYN_PHYS_SUB_PATH=$LMDGCM/.void_dir 47 PHY_COMMON_PATH=$LMDGCM/.void_dir 47 48 RRTM_PATH=$LMDGCM/.void_dir 48 49 SISVAT_PATH=$LMDGCM/.void_dir … … 260 261 CPP_KEY="$CPP_KEY CPP_EARTH" 261 262 fi 263 # set physics common utilities path 264 PHY_COMMON_PATH="${LIBFGCM}/phy_common" 262 265 # set the dyn/phys interface path 263 266 DYN_PHYS_PATH="${LIBFGCM}/dynlonlat_phylonlat" … … 599 602 echo "%DYN $DYN" >> $config_fcm 600 603 echo "%DYN_COMMON $DYN_COMMON_PATH" >> $config_fcm 604 echo "%PHY_COMMON $PHY_COMMON_PATH" >> $config_fcm 601 605 echo "%FILTRE $FILTRE_PATH" >> $config_fcm 602 606 echo "%PHYS phy${physique}" >> $config_fcm -
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 \ -
trunk/LMDZ.MARS/README
r1507 r1521 2213 2213 Now works for any (klon,...) field. 2214 2214 2215 == 25/03/2016 == EM 2216 - Code reorganization (to mach comming evolutions on all planetary models), 2217 created a "phy_common" directory to contain routines common (wrt structural 2218 nature of underlying code/grid) to all LMDZ-related physics packages. 2219 - Adapted "create_make_gcm" and "makegcm*" scripts accordingly 2220 (deleted obsolete makegcm_g95) -
trunk/LMDZ.MARS/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 aeronomars $(OPTION_DEP) '102 echo 'main : $(DYN) misc phys phy_common dyn_phy aeronomars $(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' ] ; 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 106 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) $(L_PHY) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o ' 111 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.MARS/makegcm_gfortran
r1499 r1521 29 29 # You may set LIBOGCM to something else; otherwise we default to: 30 30 setenv 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 34 32 setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_gfortran/lib 35 33 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_gfortran/include 36 #else37 # setenv NCDFLIB /donnees/emlmd/netcdf-4.0.1_gfortran/lib38 # setenv NCDFINC /donnees/emlmd/netcdf-4.0.1_gfortran/include39 #endif40 34 #### 35 # Adapt example below to your personal machine (here "antolini"), if necessary 36 if (`hostname -s` == "antolini" ) then 37 setenv NCDFLIB /home/MILLOUR/netcdf64-4.0.1_gfortran/lib 38 setenv NCDFINC /home/MILLOUR/netcdf64-4.0.1_gfortran/include 39 endif 41 40 42 41 setenv localdir "`pwd`" … … 413 412 set phys="L_PHY= LIBPHY=" 414 413 else 415 set src_dirs="$src_dirs aerono$physique phy$physique" 416 set include="$include "'-I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique" 414 set src_dirs="$src_dirs phy_common aerono$physique phy$physique" 415 set include="$include "'-I$(LIBF)/phy_common -I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique" 416 set LIBPHY_COMMON='$(LIBO)/libphy_common.a' 417 417 endif 418 418 set libdyn_phy="" … … 796 796 LIBO=$libo \ 797 797 $phys \ 798 LIBPHY_COMMON=${LIBPHY_COMMON} \ 798 799 LIBDYN_PHYS=${LIBDYN_PHYS} \ 799 800 DIM=$dimc \ … … 824 825 LIBO=$libo \ 825 826 $phys \ 827 LIBPHY_COMMON=${LIBPHY_COMMON} \ 826 828 LIBDYN_PHYS=${LIBDYN_PHYS} \ 827 829 DIM=$dimc \ -
trunk/LMDZ.MARS/makegcm_ifort
r1499 r1521 443 443 set phys="L_PHY= LIBPHY=" 444 444 else 445 set src_dirs="$src_dirs aerono$physique phy$physique" 446 set include="$include "'-I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique" 445 set src_dirs="$src_dirs phy_common aerono$physique phy$physique" 446 set include="$include "'-I$(LIBF)/phy_common -I$(LIBF)/aerono'"$physique"' -I$(LIBF)/phy'"$physique" 447 set LIBPHY_COMMON='$(LIBO)/libphy_common.a' 447 448 endif 448 449 set libdyn_phy="" … … 825 826 LIBO=$libo \ 826 827 $phys \ 828 LIBPHY_COMMON=${LIBPHY_COMMON} \ 827 829 LIBDYN_PHYS=${LIBDYN_PHYS} \ 828 830 DIM=$dimc \ … … 853 855 LIBO=$libo \ 854 856 $phys \ 857 LIBPHY_COMMON=${LIBPHY_COMMON} \ 855 858 LIBDYN_PHYS=${LIBDYN_PHYS} \ 856 859 DIM=$dimc \ -
trunk/LMDZ.MARS/makegcm_pgf
r1499 r1521 29 29 # You may set LIBOGCM to something else; otherwise we default to: 30 30 setenv 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 34 32 setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_pgi/lib 35 33 setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_pgi/include 36 #else37 # setenv NCDFLIB /donnees/emlmd/netcdf-4.0.1_pgi/lib38 # setenv NCDFINC /donnees/emlmd/netcdf-4.0.1_pgi/include39 #endif40 34 #### 35 # Adapt example below to your personal machine (here "antolini"), if necessary 36 if (`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 39 endif 41 40 42 41 setenv localdir "`pwd`" … … 417 416 set phys="L_PHY= LIBPHY=" 418 417 else 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' 421 421 endif 422 422 set libdyn_phy="" … … 797 797 LIBO=$libo \ 798 798 $phys \ 799 LIBPHY_COMMON=${LIBPHY_COMMON} \ 799 800 LIBDYN_PHYS=${LIBDYN_PHYS} \ 800 801 DIM=$dimc \ … … 825 826 LIBO=$libo \ 826 827 $phys \ 828 LIBPHY_COMMON=${LIBPHY_COMMON} \ 827 829 LIBDYN_PHYS=${LIBDYN_PHYS} \ 828 830 DIM=$dimc \
Note: See TracChangeset
for help on using the changeset viewer.