Changeset 5982 for LMDZ6/trunk


Ignore:
Timestamp:
Dec 19, 2025, 3:05:08 PM (11 days ago)
Author:
yann meurdesoif
Message:

Miss this file for commit r5971 (gpu_port of surf_land) + merge of commit 5931 ( Forgotten variables remaining in klon instead of knon declared on the stack).

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/surf_land_mod.F90

    r5942 r5982  
    2929#endif               
    3030               )
     31!$gpum horizontal knon klon
    3132
    3233    USE dimphy
    3334    USE surface_data, ONLY    : ok_veget
    34     USE carbon_cycle_mod
    35 
    3635
    3736    ! See comments in each module surf_land_orchidee_xxx for compatiblity with ORCHIDEE
     
    5756#else
    5857    ! Default version
    59     USE surf_land_orchidee_mod
     58    USE surf_land_orchidee_mod, ONLY : surf_land_orchidee
    6059#endif
    6160#endif
     
    6463#endif
    6564   
    66     USE surf_land_bucket_mod
    67     USE surf_land_bucket_hetero_mod
    68     USE calcul_fluxs_mod
    69     USE indice_sol_mod
     65    USE surf_land_bucket_mod, ONLY : surf_land_bucket
     66    USE surf_land_bucket_hetero_mod, ONLY : surf_land_bucket_hetero
     67    USE calcul_fluxs_mod, ONLY : calcul_flux_wind
     68    USE indice_sol_mod, ONLY: nbsrf
    7069#ifdef ISO
    7170    use infotrac_phy, ONLY: ntiso,niso
     
    7675#endif
    7776
    78 USE dimpft_mod_h
    79         USE clesphys_mod_h
    80     USE yomcst_mod_h
    81 USE print_control_mod, ONLY: lunout
     77    USE dimpft_mod_h, ONLY: nvm_lmdz
     78    USE clesphys_mod_h, ONLY : nsw, ok_bs
     79    USE yomcst_mod_h, ONLY: RCPD, RKAPPA
     80    USE print_control_mod, ONLY: lunout
    8281    USE dimsoil_mod_h, ONLY: nsoilmx
    83     USE compbl_mod_h
     82    USE compbl_mod_h, ONLY: iflag_hetero_surf
    8483
    8584! Input variables 
     
    173172
    174173!albedo SB >>>
    175     REAL, DIMENSION(klon)      :: alb1_new,alb2_new
     174    REAL, DIMENSION(knon)      :: alb1_new,alb2_new
    176175!albedo SB <<<
    177176
     
    250249
    251250       ! temporary for keeping same results using lwdown_m instead of lwdown
     251!$gpum nocall
    252252       CALL surf_land_orchidee(itime, dtime, date0, knon, &
    253253            knindex, rlon, rlat, yrmu0, pctsrf, &
     
    306306        IF (klon .EQ. 1) THEN
    307307          !
     308!$gpum nocall
    308309          CALL surf_land_bucket_hetero(itime, jour, knon, knindex, debut, dtime,&
    309310              tsurf, p1lay, cdragh, precip_rain, precip_totsnow, temp_air, &
Note: See TracChangeset for help on using the changeset viewer.