Changeset 4384 for LMDZ6/trunk/libf/dyn3dmem
- Timestamp:
- Jan 13, 2023, 4:28:37 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3dmem/qminimum_loc.F
r4143 r4384 55 55 c 56 56 57 c$OMP BARRIER 58 57 59 !write(lunout,*) 'qminimum 52: entree' 58 60 IF(first) THEN … … 66 68 ije=ij_end 67 69 68 zx_defau_diag(ijb:ije,:,:)=0.0 69 q_follow(ijb:ije,:,1:2)=q(ijb:ije,:,1:2) 70 DO k = 1, llm 71 c$OMP DO SCHEDULE(STATIC) 72 DO i = ijb, ije 73 zx_defau_diag(i,k,1)=0.0 74 zx_defau_diag(i,k,2)=0.0 75 q_follow(i,k,1)=q(i,k,1) 76 q_follow(i,k,2)=q(i,k,2) 77 ENDDO 78 c$OMP END DO NOWAIT 79 ENDDO 70 80 71 81 !write(lunout,*) 'qminimum 57' 72 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK)73 82 DO 1000 k = 1, llm 83 c$OMP DO SCHEDULE(STATIC) 74 84 DO 1040 i = ijb, ije 75 85 if (seuil_liq - q(i,k,iq_liq) .gt. 0.d0 ) then … … 82 92 endif 83 93 1040 CONTINUE 94 c$OMP END DO NOWAIT 84 95 1000 CONTINUE 85 c$OMP END DO NOWAIT86 c$OMP BARRIER87 c ---> SYNCHRO OPENMP ICI88 89 96 90 97 c … … 113 120 c$OMP END DO NOWAIT 114 121 ENDDO 115 c$OMP BARRIER116 122 117 123 c … … 130 136 ENDIF 131 137 ENDDO 132 c$OMP END DO 138 c$OMP END DO NOWAIT 133 139 ! pompe = SSUM(ije-ijb+1,zx_pump(ijb),1) 134 140 … … 162 168 endif !if (zx_pump(i).gt.0.0) then 163 169 enddo !DO i = ijb, ije 164 c$OMP END DO 170 c$OMP END DO NOWAIT 165 171 166 172 ! 2) transfert de vap vers les couches plus hautes … … 243 249 endif !if (zx_defau_diag(i,k,iq_vap).gt.0.0) then 244 250 enddo !DO i = 1, ip1jmp1 245 c$OMP END DO 251 c$OMP END DO NOWAIT 246 252 enddo !do k=2,llm 247 253 … … 272 278 endif !if (zx_defau_diag(i,k,iq_vap).gt.0.0) then 273 279 enddo !DO i = ijb, ije 274 c$OMP END DO 280 c$OMP END DO NOWAIT 275 281 enddo !do k=2,llm 276 282 … … 279 285 endif !if (niso > 0) then 280 286 !write(*,*) 'qminimum 188' 287 c$OMP BARRIER 288 281 289 c 282 290 RETURN
Note: See TracChangeset
for help on using the changeset viewer.