Changeset 1543 for trunk/LMDZ.COMMON/libf/dyn3dpar
- Timestamp:
- Apr 22, 2016, 9:02:11 AM (9 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dyn3dpar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/bands.F90
r1019 r1543 1 1 ! 2 ! $Id: bands.F90 1615 2012-02-10 15:42:26Z emillour $2 ! $Id: bands.F90 2351 2015-08-25 15:14:59Z emillour $ 3 3 ! 4 4 module Bands … … 19 19 20 20 subroutine AllocateBands 21 useparallel_lmdz21 USE parallel_lmdz 22 22 implicit none 23 23 … … 33 33 34 34 subroutine Read_distrib 35 useparallel_lmdz35 USE parallel_lmdz 36 36 implicit none 37 37 … … 93 93 SUBROUTINE Set_Bands 94 94 USE parallel_lmdz 95 #ifdef CPP_PHYS96 ! Ehouarn: what follows is only related to // physics97 USE mod_phys_lmdz_para, ONLY : jj_para_begin,jj_para_end98 #endif99 95 IMPLICIT NONE 100 96 INCLUDE 'dimensions.h' 101 INTEGER :: i 102 97 INTEGER :: i, ij 98 INTEGER :: jj_para_begin(0:mpi_size-1) 99 INTEGER :: jj_para_end(0:mpi_size-1) 100 103 101 do i=0,mpi_size-1 104 102 jj_nb_vanleer2(i)=(jjm+1)/mpi_size … … 106 104 enddo 107 105 108 #ifdef CPP_PHYS 106 jj_para_begin(0)=1 107 ij=distrib_phys(0)+iim-1 108 jj_para_end(0)=((ij-1)/iim)+1 109 110 DO i=1,mpi_Size-1 111 ij=ij+1 112 jj_para_begin(i)=((ij-1)/iim)+1 113 ij=ij+distrib_phys(i)-1 114 jj_para_end(i)=((ij-1)/iim)+1 115 ENDDO 116 109 117 do i=0,MPI_Size-1 110 118 jj_Nb_physic(i)=jj_para_end(i)-jj_para_begin(i)+1 … … 127 135 endif 128 136 enddo 129 #endif130 137 131 138 end subroutine Set_Bands … … 134 141 subroutine AdjustBands_caldyn 135 142 use times 136 useparallel_lmdz143 USE parallel_lmdz 137 144 implicit none 138 145 … … 199 206 subroutine AdjustBands_vanleer 200 207 use times 201 useparallel_lmdz208 USE parallel_lmdz 202 209 implicit none 203 210 … … 265 272 subroutine AdjustBands_dissip 266 273 use times 267 useparallel_lmdz274 USE parallel_lmdz 268 275 implicit none 269 276 -
trunk/LMDZ.COMMON/libf/dyn3dpar/gcm.F
r1523 r1543 14 14 USE parallel_lmdz 15 15 USE infotrac 16 #ifdef CPP_PHYS17 USE mod_interface_dyn_phys18 #endif16 !#ifdef CPP_PHYS 17 ! USE mod_interface_dyn_phys 18 !#endif 19 19 USE mod_hallo 20 20 USE Bands … … 40 40 USE mod_phys_lmdz_omp_data, ONLY: klon_omp 41 41 USE dimphy 42 USE comgeomphy43 42 #endif 44 43 USE comconst_mod, ONLY: daysec,dtvr,dtphys,rad,g,r,cpp … … 196 195 call Read_Distrib 197 196 198 #ifdef CPP_PHYS199 CALL init_phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys)197 !#ifdef CPP_PHYS 198 ! CALL init_phys_lmdz(iim,jjp1,llm,mpi_size,distrib_phys) 200 199 !#endif 201 200 ! CALL set_bands 202 201 !#ifdef CPP_PHYS 203 CALL Init_interface_dyn_phys204 #endif202 ! CALL Init_interface_dyn_phys 203 !#endif 205 204 CALL barrier 206 205 … … 497 496 ! & latfi,lonfi,airefi,zcufi,zcvfi,rad,g,r,cpp, 498 497 ! & iflag_phys) 499 CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, 498 CALL iniphysiq(iim,jjm,llm, 499 & distrib_phys(mpi_rank),comm_lmdz, 500 & daysec,day_ini,dtphys/nsplit_phys, 500 501 & rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, 501 502 & iflag_phys)
Note: See TracChangeset
for help on using the changeset viewer.