Ignore:
Timestamp:
Apr 20, 2020, 12:13:34 PM (5 years ago)
Author:
lfalletti
Message:

Adding changes for Reprobus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r3579 r3666  
    2727#ifdef REPROBUS
    2828  USE CHEM_REP, ONLY : Init_chem_rep_phys
     29#ifdef CPP_PARA
     30  USE parallel_lmdz, ONLY : mpi_size, mpi_rank
     31  USE bands, ONLY : distrib_phys
     32#endif
     33  USE mod_phys_lmdz_omp_data, ONLY: klon_omp
    2934#endif
    3035  USE control_mod, ONLY: dayref,anneeref,day_step,nday,offline, iphysiq, config_inca
     
    4651  USE ioipsl_getin_p_mod, ONLY: getin_p
    4752  USE slab_heat_transp_mod, ONLY: ini_slab_transp_geom
    48 #ifdef REPROBUS
    49   USE CHEM_REP, ONLY : Init_chem_rep_phys
    50 #endif
    5153  IMPLICIT NONE
    5254
     
    152154  IF (type_trac == 'repr') THEN
    153155#ifdef REPROBUS
    154     CALL Init_chem_rep_phys(klon_omp,nlayer)
     156    call Init_chem_rep_phys(klon_omp,nlayer)
     157    call init_reprobus_para( &
     158          nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, &
     159          distrib_phys,communicator)
    155160#endif
    156161  ENDIF
     
    168173#endif
    169174  END IF
     175  IF (type_trac == 'repr') THEN
     176#ifdef REPROBUS
     177    call init_reprobus_para( &
     178          nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, &
     179          distrib_phys,communicator)
     180#endif
     181  ENDIF
    170182
    171183!!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
Note: See TracChangeset for help on using the changeset viewer.