Changeset 882 for LMDZ4


Ignore:
Timestamp:
Jan 31, 2008, 5:48:13 PM (17 years ago)
Author:
Laurent Fairhead
Message:

Modifs pour intégrer le 1D FH
LF

Location:
LMDZ4/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/ocean_forced_mod.F90

    r793 r882  
    4343
    4444  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
    4562!
    4663!****************************************************************************************
     
    269286    IF (soil_model) THEN
    270287! update tsoil and calculate soilcap and soilflux
     288
    271289       CALL soil(dtime, is_sic, knon,snow, tsurf_tmp, tsoil,soilcap, soilflux)
    272290       cal(1:knon) = RCPD / soilcap(1:knon)
     
    338356    pctsrf_sic(:) = pctsrf_lim(:,is_sic)
    339357
     358
    340359  END SUBROUTINE ocean_forced_ice
    341360!
  • LMDZ4/trunk/libf/phylmd/pbl_surface_mod.F90

    r878 r882  
    462462   
    463463!****************************************************************************************
     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!****************************************************************************************
    464471! End of declarations
    465472!****************************************************************************************
     
    824831!****************************************************************************************
    825832! 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
    828843
    829844       CALL climb_hq_up(knon, dtime, yt, yq, &
  • LMDZ4/trunk/makegcm

    r824 r882  
    2727set io=ioipsl
    2828
    29 set FC_LINUX=pgf90
     29set FC_LINUX=g95
    3030
    3131########################################################################
     
    3939#set LMDGCM="`pwd`"
    4040#setenv LIBOGCM $LMDGCM/libo
     41#set LMDGCM=/d4/fairhead/V4/
     42#setenv LIBOGCM $LMDGCM/libo
     43#
    4144#
    4245#setenv IOIPSLDIR /u/fairhead/modipsl_ioipsl_3/lib_i4r4_32bits
     
    4447#setenv NCDFINC /distrib/local/netcdf/pgi_32bits/include
    4548#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
    4653
    4754
     
    247254#     set optimtru90=" -c -Mfree "
    248255   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 "
    252259   else
    253260     echo 'compilateur linux non reconnu'
     
    637644   set dim_=`echo $dim | sed -e 's/[^0-9]/_/g'`
    638645else
    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'`
    641648endif
    642649set nomlib=${nomlib}${physique}_${dim_}_t${ntrac}_$grille
Note: See TracChangeset for help on using the changeset viewer.