Ignore:
Timestamp:
Apr 20, 2021, 9:24:46 PM (4 years ago)
Author:
oboucher
Message:

various minor tweaks

Location:
LMDZ6/trunk/libf/phylmd
Files:
3 edited

Legend:

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

    r3865 r3876  
    4545  LOGICAL, PUBLIC :: read_fco2_ocean_cor    ! flag to read corrective oceanic CO2 flux
    4646!$OMP THREADPRIVATE(read_fco2_ocean_cor) 
    47   REAL, SAVE, PUBLIC :: var_fco2_ocean_cor        ! corrective oceanic CO2 flux
     47  REAL, PUBLIC :: var_fco2_ocean_cor        ! corrective oceanic CO2 flux
    4848!$OMP THREADPRIVATE(var_fco2_ocean_cor)
    49   REAL, SAVE, PUBLIC :: ocean_area_tot            ! total oceanic area to convert flux
     49  REAL, PUBLIC :: ocean_area_tot            ! total oceanic area to convert flux
    5050!$OMP THREADPRIVATE(ocean_area_tot)
    5151  LOGICAL, PUBLIC :: read_fco2_land_cor     ! flag to read corrective land CO2 flux
    5252!$OMP THREADPRIVATE(read_fco2_land_cor) 
    53   REAL, SAVE, PUBLIC :: var_fco2_land_cor         ! corrective land CO2 flux
     53  REAL, PUBLIC :: var_fco2_land_cor         ! corrective land CO2 flux
    5454!$OMP THREADPRIVATE(var_fco2_land_cor)
    55   REAL, SAVE, PUBLIC :: land_area_tot             ! total land area to convert flux
     55  REAL, PUBLIC :: land_area_tot             ! total land area to convert flux
    5656!$OMP THREADPRIVATE(land_area_tot)
    5757
     
    108108  REAL, DIMENSION(:), ALLOCATABLE, PUBLIC :: fco2_ocean ! Net flux from ocean [kgCO2/m2/s]
    109109!$OMP THREADPRIVATE(fco2_ocean)
    110   REAL, DIMENSION(:), ALLOCATABLE, SAVE, PUBLIC :: fco2_ocean_cor ! Net corrective flux from ocean [kgCO2/m2/s]
     110  REAL, DIMENSION(:), ALLOCATABLE, PUBLIC :: fco2_ocean_cor ! Net corrective flux from ocean [kgCO2/m2/s]
    111111!$OMP THREADPRIVATE(fco2_ocean_cor)
    112   REAL, DIMENSION(:), ALLOCATABLE, SAVE, PUBLIC :: fco2_land_cor  ! Net corrective flux from land [kgCO2/m2/s]
     112  REAL, DIMENSION(:), ALLOCATABLE, PUBLIC :: fco2_land_cor  ! Net corrective flux from land [kgCO2/m2/s]
    113113!$OMP THREADPRIVATE(fco2_land_cor)
    114114
     
    123123
    124124! Calculated co2 field to be send to the ocean via the coupler and to ORCHIDEE
    125   REAL, DIMENSION(:), ALLOCATABLE, SAVE, PUBLIC :: co2_send ! Field allocated in phyetat0
     125  REAL, DIMENSION(:), ALLOCATABLE, PUBLIC :: co2_send ! Field allocated in phyetat0
    126126!$OMP THREADPRIVATE(co2_send)
    127127
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.F90

    r3863 r3876  
    378378    !Config Desc = activation of output ascii file in inlandsis
    379379    !Config Def  = 1
    380    ok_outfor_omp = .FALSE.
     380    ok_outfor_omp = .FALSE.
    381381    CALL getin('ok_outfor', ok_outfor_omp)
    382 
    383 
    384382
    385383    !==================================================================
     
    11421140    CALL getin('coefw_cld_cv',coefw_cld_cv_omp)
    11431141
    1144 
    1145 
    1146 
    11471142    !
    11481143    !Config Key  = iflag_pdf
     
    11531148    iflag_pdf_omp = 0
    11541149    CALL getin('iflag_pdf',iflag_pdf_omp)
     1150
    11551151    !
    11561152    !Config Key  = fact_cldcon
     
    11791175    ok_newmicro_omp = .TRUE.
    11801176    CALL getin('ok_newmicro',ok_newmicro_omp)
     1177
    11811178    !
    11821179    !Config Key  = ratqsbas
     
    11871184    ratqsbas_omp = 0.01
    11881185    CALL getin('ratqsbas',ratqsbas_omp)
     1186
    11891187    !
    11901188    !Config Key  = ratqshaut
  • LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90

    r3839 r3876  
    4646  INTEGER, SAVE :: iflag_pbl_surface_t2m_bug
    4747  !$OMP THREADPRIVATE(iflag_pbl_surface_t2m_bug)
    48   integer, save :: iflag_new_t2mq2m
     48  INTEGER, SAVE :: iflag_new_t2mq2m
    4949  !$OMP THREADPRIVATE(iflag_new_t2mq2m)
    5050
     
    148148    iflag_pbl_surface_t2m_bug=0
    149149    CALL getin_p('iflag_pbl_surface_t2m_bug',iflag_pbl_surface_t2m_bug)
     150    WRITE(lunout,*) 'iflag_pbl_surface_t2m_bug=',iflag_pbl_surface_t2m_bug
    150151!FC
    151152!    iflag_frein = 0
     
    841842    ! Martin
    842843
    843     real, DIMENSION(klon):: ydelta_sst, ydelta_sal, yds_ns, ydt_ns, ydter, ydser, &
     844    REAL, DIMENSION(klon):: ydelta_sst, ydelta_sal, yds_ns, ydt_ns, ydter, ydser, &
    844845         ytkt, ytks, ytaur, ysss
    845846    ! compression of delta_sst, delta_sal, ds_ns, dt_ns, dter, dser, tkt, tks,
     
    865866       iflag_new_t2mq2m=1
    866867       CALL getin_p('iflag_new_t2mq2m',iflag_new_t2mq2m)
    867        print*,'pbl_iflag_new_t2mq2m=',iflag_new_t2mq2m
     868       WRITE(lunout,*) 'pbl_iflag_new_t2mq2m=',iflag_new_t2mq2m
    868869
    869870       print*,'PBL SURFACE AVEC GUSTINESS'
     
    871872     
    872873       ! Initialize ok_flux_surf (for 1D model)
    873        if (klon_glo>1) ok_flux_surf=.FALSE.
    874        if (klon_glo>1) ok_forc_tsurf=.FALSE.
     874       IF (klon_glo>1) ok_flux_surf=.FALSE.
     875       IF (klon_glo>1) ok_forc_tsurf=.FALSE.
    875876
    876877       ! intialize beta_land
Note: See TracChangeset for help on using the changeset viewer.