- Timestamp:
- Oct 23, 2007, 1:50:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4_V3_patches/libf/dyn3dpar/vlspltgen_p.F
r774 r853 184 184 185 185 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 186 & ij_begin,ij_begin+2*iip1-1) 187 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu, 188 & ij_end-2*iip1+1,ij_end) 186 & ij_begin,ij_end) 189 187 190 188 c$OMP MASTER … … 197 195 198 196 call vlxqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,qsat, 199 & ij_begin,ij_begin+2*iip1-1) 200 call vlxqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,qsat, 201 & ij_end-2*iip1+1,ij_end) 197 & ij_begin,ij_end) 202 198 c$OMP MASTER 203 199 call VTb(VTHallo) … … 219 215 call VTb(VTHallo) 220 216 call SendRequest(MyRequest1) 221 call VTe(VTHallo)222 c$OMP END MASTER223 c$OMP BARRIER224 do iq=1,nqmx225 226 if(iadv(iq) == 0) then227 228 cycle229 230 else if (iadv(iq)==10) then231 232 call vlx_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,233 & ij_begin+2*iip1,ij_end-2*iip1)234 235 else if (iadv(iq)==14) then236 237 call vlxqs_p(zq(1,1,iq),pente_max,zm(1,1,iq),mu,qsat,238 & ij_begin+2*iip1,ij_end-2*iip1)239 240 else241 242 stop 'vlspltgen_p : schema non parallelise'243 244 endif245 246 enddo247 c$OMP BARRIER248 c$OMP MASTER249 call VTb(VTHallo)250 217 call WaitRecvRequest(MyRequest1) 251 218 call WaitSendRequest(MyRequest1) … … 286 253 c$OMP BARRIER 287 254 call vlz_p(zq(1,1,iq),pente_max,zm(1,1,iq),mw, 288 & ij_begin,ij_begin+2*iip1-1) 289 call vlz_p(zq(1,1,iq),pente_max,zm(1,1,iq),mw, 290 & ij_end-2*iip1+1,ij_end) 255 & ij_begin,ij_end) 291 256 c$OMP BARRIER 292 257 … … 309 274 call VTb(VTHallo) 310 275 call SendRequest(MyRequest2) 311 call VTe(VTHallo)312 c$OMP END MASTER313 c$OMP BARRIER314 do iq=1,nqmx315 316 if(iadv(iq) == 0) then317 318 cycle319 320 else if (iadv(iq)==10 .or. iadv(iq)==14 ) then321 c$OMP BARRIER322 call vlz_p(zq(1,1,iq),pente_max,zm(1,1,iq),mw,323 & ij_begin+2*iip1,ij_end-2*iip1)324 c$OMP BARRIER325 else326 327 stop 'vlspltgen_p : schema non parallelise'328 329 endif330 331 enddo332 333 c$OMP BARRIER334 c$OMP MASTER335 call VTb(VTHallo)336 276 call WaitRecvRequest(MyRequest2) 337 277 call WaitSendRequest(MyRequest2)
Note: See TracChangeset
for help on using the changeset viewer.