Changeset 882 for LMDZ4/trunk
- Timestamp:
- Jan 31, 2008, 5:48:13 PM (17 years ago)
- Location:
- LMDZ4/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/ocean_forced_mod.F90
r793 r882 43 43 44 44 END SUBROUTINE ocean_forced_init 45 ! 46 !**************************************************************************************** 47 !**************************************************************************************** 48 ! 49 SUBROUTINE ocean_forced_final 50 ! Allocate fields needed for this module 51 ! 52 INTEGER :: error 53 CHARACTER (len = 80) :: abort_message 54 CHARACTER (len = 20) :: modname = 'ocean_forced_init' 55 !**************************************************************************************** 56 57 DEALLOCATE(tmp_flux_o) 58 DEALLOCATE(tmp_flux_g) 59 60 61 END SUBROUTINE ocean_forced_final 45 62 ! 46 63 !**************************************************************************************** … … 269 286 IF (soil_model) THEN 270 287 ! update tsoil and calculate soilcap and soilflux 288 271 289 CALL soil(dtime, is_sic, knon,snow, tsurf_tmp, tsoil,soilcap, soilflux) 272 290 cal(1:knon) = RCPD / soilcap(1:knon) … … 338 356 pctsrf_sic(:) = pctsrf_lim(:,is_sic) 339 357 358 340 359 END SUBROUTINE ocean_forced_ice 341 360 ! -
LMDZ4/trunk/libf/phylmd/pbl_surface_mod.F90
r878 r882 462 462 463 463 !**************************************************************************************** 464 ! Declarations specifiques pour le 1D. A reprendre 465 REAL :: fsens,flat 466 LOGICAL ok_flux_surf 467 data ok_flux_surf/.false./ 468 common /flux_arp/fsens,flat,ok_flux_surf 469 470 !**************************************************************************************** 464 471 ! End of declarations 465 472 !**************************************************************************************** … … 824 831 !**************************************************************************************** 825 832 ! H and Q 826 y_flux_t1(:) = yfluxsens(:) 827 y_flux_q1(:) = -yevap(:) 833 print *,'pbl_surface: ok_flux_surf=',ok_flux_surf 834 print *,'pbl_surface: fsens flat RLVTT=',fsens,flat,RLVTT 835 if (ok_flux_surf) then 836 y_flux_t1(:) = fsens 837 y_flux_q1(:) = flat/RLVTT 838 yfluxlat(:) = flat 839 else 840 y_flux_t1(:) = yfluxsens(:) 841 y_flux_q1(:) = -yevap(:) 842 endif 828 843 829 844 CALL climb_hq_up(knon, dtime, yt, yq, & -
LMDZ4/trunk/makegcm
r824 r882 27 27 set io=ioipsl 28 28 29 set FC_LINUX= pgf9029 set FC_LINUX=g95 30 30 31 31 ######################################################################## … … 39 39 #set LMDGCM="`pwd`" 40 40 #setenv LIBOGCM $LMDGCM/libo 41 #set LMDGCM=/d4/fairhead/V4/ 42 #setenv LIBOGCM $LMDGCM/libo 43 # 41 44 # 42 45 #setenv IOIPSLDIR /u/fairhead/modipsl_ioipsl_3/lib_i4r4_32bits … … 44 47 #setenv NCDFINC /distrib/local/netcdf/pgi_32bits/include 45 48 #setenv NCDFLIB /distrib/local/netcdf/pgi_32bits/lib/ 49 #setenv IOIPSLDIR /d4/fairhead/Install_LMDZ4_FH/LMDZ4preV4/modipsl/lib/ 50 #setenv MODIPSLDIR /d4/fairhead/Install_LMDZ4_FH/LMDZ4preV4/modipsl/lib/ 51 #setenv NCDFINC /d4/fairhead/Install_LMDZ4_FH/LMDZ4preV4/netcdf-3.6.1/include 52 #setenv NCDFLIB /d4/fairhead/Install_LMDZ4_FH/LMDZ4preV4/netcdf-3.6.1/lib 46 53 47 54 … … 247 254 # set optimtru90=" -c -Mfree " 248 255 else if ( $FC_LINUX == 'g95' ) then 249 set optim=" $OPT_LINUX -fno-second-underscore -ffixed-form -fstatic"250 set optim90=" $OPT_LINUX -fno-second-underscore -ffixed-form -fstatic"251 set optimtru90=" $OPT_LINUX -fno-second-underscore -ffree-form -fstatic"256 set optim=" $OPT_LINUX " 257 set optim90=" $OPT_LINUX " 258 set optimtru90=" $OPT_LINUX " 252 259 else 253 260 echo 'compilateur linux non reconnu' … … 637 644 set dim_=`echo $dim | sed -e 's/[^0-9]/_/g'` 638 645 else 639 set dim =`echo $dim | sed -n -e 's/[^0-9]/ /gp'`640 set dim _=`echo $dim | sed -n -e 's/[^0-9]/_/gp'`646 set dim_=`echo $dim | sed -e 's/[^0-9]/_/g'` 647 set dim=`echo $dim | sed -e 's/[^0-9]/ /g'` 641 648 endif 642 649 set nomlib=${nomlib}${physique}_${dim_}_t${ntrac}_$grille
Note: See TracChangeset
for help on using the changeset viewer.