Changeset 1394 for LMDZ4


Ignore:
Timestamp:
May 27, 2010, 12:07:16 PM (14 years ago)
Author:
Ehouarn Millour
Message:

OpenMP bug fix for Newtonian case.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3dpar/leapfrog_p.F

    r1363 r1394  
    974974       ijb=ij_begin
    975975       ije=ij_end
    976        teta(ijb:ije,:)=teta(ijb:ije,:)
    977      s  -iphysiq*dtvr*(teta(ijb:ije,:)-tetarappel(ijb:ije,:))/taurappel
     976!$OMP DO SCHEDULE(STATIC,OMP_CHUNK)
     977       do l=1,llm
     978       teta(ijb:ije,l)=teta(ijb:ije,l)
     979     &  -iphysiq*dtvr*(teta(ijb:ije,l)-tetarappel(ijb:ije,l))/taurappel
     980       enddo
     981!$OMP END DO
    978982
    979983       call Register_Hallo(ucov,ip1jmp1,llm,0,1,1,0,Request_Physic)
     
    983987       call WaitRequest(Request_Physic)     
    984988c$OMP BARRIER
     989!$OMP MASTER
    985990       call friction_p(ucov,vcov,iphysiq*dtvr)
     991!$OMP END MASTER
     992!$OMP BARRIER
    986993      ENDIF ! of IF(iflag_phys.EQ.2)
    987994
Note: See TracChangeset for help on using the changeset viewer.