Ignore:
Timestamp:
Mar 18, 2016, 12:09:23 PM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2434:2457 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r2435 r2471  
    4747#ifdef INCA
    4848  USE indice_sol_mod, ONLY: nbsrf, is_oce, is_sic, is_ter, is_lic
    49   USE parallel_lmdz, ONLY : mpi_size
    50   USE mod_const_mpi, ONLY : COMM_LMDZ
     49#ifdef CPP_PARA
     50  USE parallel_lmdz, ONLY : mpi_size, mpi_rank
    5151  USE bands, ONLY : distrib_phys
     52#endif
    5253  USE mod_phys_lmdz_omp_data, ONLY: klon_omp
    5354#endif
     
    115116  REAL,ALLOCATABLE,SAVE :: boundslatfi(:,:)
    116117!$OMP THREADPRIVATE (latfi,lonfi,cufi,cvfi,airefi,boundslonfi,boundslatfi)
     118
     119#ifndef CPP_PARA
     120  INTEGER,PARAMETER :: mpi_rank=0
     121  INTEGER, PARAMETER :: mpi_size = 1
     122  INTEGER :: distrib_phys(mpi_rank:mpi_rank)=(jjm-1)*iim+2
     123#endif
    117124
    118125  ! Initialize Physics distibution and parameters and interface with dynamics
     
    295302#ifdef INCA
    296303     call init_const_lmdz( &
    297           anneeref,dayref, &
    298           iphysiq,day_step,nday,  &
    299           nbsrf, is_oce,is_sic, &
    300           is_ter,is_lic, calend)
     304          anneeref,dayref, iphysiq,day_step,nday,  &
     305          nbsrf, is_oce,is_sic, is_ter,is_lic, calend)
    301306     call init_inca_para( &
    302307          nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, &
    303           distrib_phys,COMM_LMDZ)
     308          distrib_phys,communicator)
    304309#endif
    305310  END IF
Note: See TracChangeset for help on using the changeset viewer.