Changeset 2604 for LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F
- Timestamp:
- Jul 26, 2016, 5:37:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F
r2601 r2604 162 162 REAL,ALLOCATABLE,SAVE :: zufi(:,:), zvfi(:,:), zrfi(:,:) 163 163 REAL,ALLOCATABLE,SAVE :: ztfi(:,:),zqfi(:,:,:) 164 REAL,ALLOCATABLE,SAVE :: zpk(:,:) 164 165 c 165 166 REAL,ALLOCATABLE,SAVE :: pcvgu(:,:), pcvgv(:,:) … … 174 175 REAL,ALLOCATABLE,SAVE :: zplev_omp(:,:) 175 176 REAL,ALLOCATABLE,SAVE :: zplay_omp(:,:) 177 REAL,ALLOCATABLE,SAVE :: zpk_omp(:,:) 176 178 REAL,ALLOCATABLE,SAVE :: zphi_omp(:,:) 177 179 REAL,ALLOCATABLE,SAVE :: zphis_omp(:) … … 211 213 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 212 214 213 c$OMP THREADPRIVATE(zplev_omp,zplay_omp,zp hi_omp,zphis_omp,215 c$OMP THREADPRIVATE(zplev_omp,zplay_omp,zpk_omp,zphi_omp,zphis_omp, 214 216 c$OMP+ presnivs_omp,zufi_omp,zvfi_omp,ztfi_omp, 215 217 c$OMP+ zrfi_omp,zqfi_omp,zdufi_omp,zdvfi_omp, … … 275 277 ALLOCATE(zdufi2(klon+iim,llm),zdvfi2(klon+iim,llm)) 276 278 ALLOCATE(flxwfi(klon,llm)) 279 ALLOCATE(zpk(klon,llm)) 277 280 c$OMP END MASTER 278 281 c$OMP BARRIER … … 328 331 ENDDO 329 332 c$OMP END DO NOWAIT 333 334 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 335 DO l=1,llm 336 do ig0=1,klon 337 i=index_i(ig0) 338 j=index_j(ig0) 339 zpk(ig0,l)=ppk(i,j,l) 340 enddo 341 ENDDO 342 c$OMP END DO NOWAIT 343 330 344 c 331 345 c … … 537 551 allocate(zplev_omp(klon,llm+1)) 538 552 allocate(zplay_omp(klon,llm)) 553 allocate(zpk_omp(klon,llm)) 539 554 allocate(zphi_omp(klon,llm)) 540 555 allocate(zphis_omp(klon)) … … 574 589 enddo 575 590 591 do l=1,llm 592 do i=1,klon 593 zpk_omp(i,l)=zpk(offset+i,l) 594 enddo 595 enddo 596 576 597 do l=1,llm 577 598 do i=1,klon … … 680 701 & jD_cur,jH_cur_split,zdt_split, 681 702 & zplev_omp,zplay_omp, 682 & zp hi_omp,zphis_omp,703 & zpk_omp,zphi_omp,zphis_omp, 683 704 & presnivs_omp, 684 705 & zufi_omp,zvfi_omp,zrfi_omp,ztfi_omp,zqfi_omp,
Note: See TracChangeset
for help on using the changeset viewer.