Ignore:
Timestamp:
Oct 23, 2007, 2:03:16 PM (17 years ago)
Author:
lsce
Message:

AC + JG + YM + ACo : - Corrected bugs found on 16 and 24 CPUs on ccrt scalar machine platine

  • Added use of lmdz communicator in inca model
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/dyn3dpar/vlspltgen_p.F

    r774 r854  
    184184       
    185185          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)
    189187
    190188c$OMP MASTER
     
    197195     
    198196          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)
    202198c$OMP MASTER
    203199          call VTb(VTHallo)
     
    219215      call VTb(VTHallo)
    220216      call SendRequest(MyRequest1)
    221       call VTe(VTHallo)
    222 c$OMP END MASTER       
    223 c$OMP BARRIER
    224       do iq=1,nqmx
    225 
    226         if(iadv(iq) == 0) then
    227        
    228           cycle
    229        
    230         else if (iadv(iq)==10) then
    231 
    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) then
    236 
    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         else
    241        
    242           stop 'vlspltgen_p : schema non parallelise'
    243      
    244         endif
    245      
    246       enddo
    247 c$OMP BARRIER     
    248 c$OMP MASTER
    249       call VTb(VTHallo)
    250217      call WaitRecvRequest(MyRequest1)
    251218      call WaitSendRequest(MyRequest1)
     
    286253c$OMP BARRIER       
    287254          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)
    291256c$OMP BARRIER
    292257
     
    309274      call VTb(VTHallo)
    310275      call SendRequest(MyRequest2)
    311       call VTe(VTHallo)
    312 c$OMP END MASTER       
    313 c$OMP BARRIER
    314       do iq=1,nqmx
    315 
    316         if(iadv(iq) == 0) then
    317          
    318           cycle
    319        
    320         else if (iadv(iq)==10 .or. iadv(iq)==14 ) then
    321 c$OMP BARRIER       
    322           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 BARRIER       
    325         else
    326        
    327           stop 'vlspltgen_p : schema non parallelise'
    328      
    329         endif
    330      
    331       enddo
    332 
    333 c$OMP BARRIER
    334 c$OMP MASTER
    335       call VTb(VTHallo)
    336276      call WaitRecvRequest(MyRequest2)
    337277      call WaitSendRequest(MyRequest2)
Note: See TracChangeset for help on using the changeset viewer.