Changeset 604 for codes/icosagcm/trunk/src/dynamics
- Timestamp:
- 10/24/17 01:32:57 (7 years ago)
- Location:
- codes/icosagcm/trunk/src/dynamics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/dynamics/caldyn_kernels_base.F90
r580 r604 43 43 !$OMP BARRIER 44 44 45 CALL distrib_level(ij_end_ext-ij_begin_ext+1,ij_omp_begin_ext,ij_omp_end_ext) 46 ij_omp_begin_ext=ij_omp_begin_ext+ij_begin_ext-1 47 ij_omp_end_ext=ij_omp_end_ext+ij_begin_ext-1 45 CALL distrib_level(ij_begin_ext,ij_end_ext, ij_omp_begin_ext,ij_omp_end_ext) 48 46 49 47 Rd = kappa*cpp … … 190 188 CALL trace_start("compute_caldyn_vert") 191 189 192 CALL distrib_level(ij_end-ij_begin+1,ij_omp_begin,ij_omp_end) 193 ij_omp_begin=ij_omp_begin+ij_begin-1 194 ij_omp_end=ij_omp_end+ij_begin-1 190 CALL distrib_level(ij_begin,ij_end, ij_omp_begin,ij_omp_end) 195 191 196 192 ! REAL(rstd) :: wwuu(iim*3*jjm,llm+1) ! tmp var, don't know why but gain 30% on the whole code in opemp -
codes/icosagcm/trunk/src/dynamics/caldyn_kernels_hevi.F90
r580 r604 122 122 INTEGER :: iter, ij, l, ij_omp_begin_ext, ij_omp_end_ext 123 123 124 CALL distrib_level(ij_end_ext-ij_begin_ext+1,ij_omp_begin_ext,ij_omp_end_ext) 125 ij_omp_begin_ext=ij_omp_begin_ext+ij_begin_ext-1 126 ij_omp_end_ext=ij_omp_end_ext+ij_begin_ext-1 124 CALL distrib_level(ij_begin_ext,ij_end_ext, ij_omp_begin_ext,ij_omp_end_ext) 127 125 128 126 IF(dysl) THEN
Note: See TracChangeset
for help on using the changeset viewer.