Changeset 2457
- Timestamp:
- Mar 3, 2016, 5:14:54 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/dynphy_lonlat/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90
r2353 r2457 27 27 USE iniphysiq_mod, ONLY: iniphysiq 28 28 USE mod_const_mpi, ONLY: comm_lmdz 29 #ifdef inca30 USE indice_sol_mod, ONLY: nbsrf, is_oce, is_sic, is_ter, is_lic31 #endif32 29 #ifdef CPP_PARA 33 30 USE mod_const_mpi, ONLY: init_const_mpi 34 USE parallel_lmdz, ONLY: init_parallel, mpi_rank, omp_rank , mpi_size31 USE parallel_lmdz, ONLY: init_parallel, mpi_rank, omp_rank 35 32 USE bands, ONLY: read_distrib, distrib_phys 36 33 USE mod_hallo, ONLY: init_mod_hallo … … 116 113 117 114 !--- Tracers initializations 118 IF (type_trac == 'inca') THEN119 #ifdef INCA120 CALL init_const_lmdz(nbtr,anneeref,dayref,iphysiq,day_step,nday,&121 nbsrf,is_oce,is_sic,is_ter,is_lic,calend)122 CALL init_inca_para(iim,jjp1,llm,klon_glo,mpi_size,distrib_phys,&123 COMM_LMDZ)124 WRITE(lunout,*)'nbtr =' , nbtr125 #endif126 END IF127 115 CALL infotrac_init() 128 116 -
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90
r2396 r2457 47 47 #ifdef INCA 48 48 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_LMDZ49 #ifdef CPP_PARA 50 USE parallel_lmdz, ONLY : mpi_size, mpi_rank 51 51 USE bands, ONLY : distrib_phys 52 #endif 52 53 USE mod_phys_lmdz_omp_data, ONLY: klon_omp 53 54 #endif … … 115 116 REAL,ALLOCATABLE,SAVE :: boundslatfi(:,:) 116 117 !$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 117 124 118 125 ! Initialize Physics distibution and parameters and interface with dynamics … … 295 302 #ifdef INCA 296 303 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) 301 306 call init_inca_para( & 302 307 nbp_lon,nbp_lat,nbp_lev,klon_glo,mpi_size, & 303 distrib_phys, COMM_LMDZ)308 distrib_phys,communicator) 304 309 #endif 305 310 END IF
Note: See TracChangeset
for help on using the changeset viewer.