Changeset 4596 for LMDZ6/trunk


Ignore:
Timestamp:
Jun 30, 2023, 5:03:07 PM (16 months ago)
Author:
Laurent Fairhead
Message:

Resolve an unitialised variable issue
ACaubel

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

Legend:

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

    r4370 r4596  
    141141    CHARACTER (len = 80)               :: abort_message
    142142    LOGICAL, SAVE                      :: cpl_current_omp
     143    INTEGER, DIMENSION(klon_mpi)       :: ind_cell_glo_mpi
    143144
    144145!*    1. Initializations
     
    175176    cpl_current = cpl_current_omp
    176177    WRITE(lunout,*) 'Couple ocean currents, cpl_current = ',cpl_current
     178
     179!************************************************************************************
     180! Gather global index to be used for oasis decomposition
     181!************************************************************************************
     182    CALL gather_omp(ind_cell_glo,ind_cell_glo_mpi)
    177183
    178184!************************************************************************************
     
    291297
    292298      DO jf=1, klon_mpi_para_nb(mpi_rank)
    293         ig_paral(2+jf) = ind_cell_glo(jf)
     299        ig_paral(2+jf) = ind_cell_glo_mpi(jf)
    294300      ENDDO
    295301
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r4590 r4596  
    13151315       irneb= strIdx(tracers(:)%name, addPhase('H2O', 'r'))
    13161316       ibs  = strIdx(tracers(:)%name, addPhase('H2O', 'b'))
    1317        CALL init_etat0_limit_unstruct
    1318        IF (.NOT. create_etat0_limit) CALL init_limit_read(days_elapsed)
     1317!       CALL init_etat0_limit_unstruct
     1318!       IF (.NOT. create_etat0_limit) CALL init_limit_read(days_elapsed)
    13191319       !CR:nvelles variables convection/poches froides
    13201320
     
    13391339            read_climoz, &
    13401340            alp_offset)
     1341       CALL init_etat0_limit_unstruct
     1342       IF (.NOT. create_etat0_limit) CALL init_limit_read(days_elapsed)
    13411343       CALL phys_state_var_init(read_climoz)
    13421344       CALL phys_output_var_init
Note: See TracChangeset for help on using the changeset viewer.