Ignore:
Timestamp:
Oct 6, 2008, 10:43:22 AM (16 years ago)
Author:
Laurent Fairhead
Message:
  • Modifs sur le parallelisme: masquage dans la physique
  • Inclusion strato
  • mise en coherence etat0
  • le mode offline fonctionne maintenant en parallele,
  • les fichiers de la dynamiques sont correctement sortis et peuvent etre reconstruit avec rebuild
  • la version parallele de la dynamique peut s'executer sans MPI (sur 1 proc)
  • L'OPENMP fonctionne maintenant sans la parallelisation MPI.

YM
LF

File:
1 edited

Legend:

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

    r995 r1000  
    7676#include "advtrac.h"
    7777     
    78       include 'mpif.h'
    7978      integer nq
    8079
     
    237236c$OMP MASTER
    238237
    239 !$OMP CRITICAL (MPI)
    240       call MPI_BARRIER(COMM_LMDZ,ierr)
    241 !$OMP END CRITICAL (MPI)
    242 
     238      CALL barrier
     239     
    243240c$OMP END MASTER
    244241c$OMP BARRIER
     
    736733        call Register_SwapFieldHallo(flxw,flxw,ip1jmp1,llm,
    737734     *                               jj_Nb_physic,2,2,Request_physic)
    738         call SetDistrib(jj_nb_Physic)
    739735       
    740736        call SendRequest(Request_Physic)
     
    853849c      ajout des tendances physiques:
    854850c      ------------------------------
     851         IF (ok_strato) THEN
     852           CALL top_bound_p( vcov,ucov,teta, dufi,dvfi,dtetafi)
     853         ENDIF
     854       
    855855          CALL addfi_p( nqmx, dtphys, leapf, forward   ,
    856856     $                  ucov, vcov, teta , q   ,ps ,
     
    12891289c$OMP BARRIER
    12901290              call WaitRequest(TestRequest)
     1291c$OMP BARRIER
    12911292c$OMP MASTER
    12921293              CALL writedynav_p(histaveid, nqmx, itau,vcov ,
     
    13401341        CALL writehist_p(histid,histvid, nqmx,itau,vcov,
    13411342     s                       ucov,teta,phi,q,masse,ps,phis)
    1342 c#else
    1343 c       call Gather_Field(unat,ip1jmp1,llm,0)
    1344 c       call Gather_Field(vnat,ip1jm,llm,0)
    1345 c       call Gather_Field(teta,ip1jmp1,llm,0)
    1346 c       call Gather_Field(ps,ip1jmp1,1,0)
    1347 c       do iq=1,nqmx
    1348 c        call Gather_Field(q(1,1,iq),ip1jmp1,llm,0)
    1349 c       enddo
    1350 c     
    1351 c       if (mpi_rank==0) then
    1352 c#include "write_grads_dyn.h"
    1353 c       endif
     1343
    13541344#endif
    13551345c$OMP END MASTER
     
    14451435              call WaitRequest(TestRequest)
    14461436
     1437c$OMP BARRIER
    14471438c$OMP MASTER
    14481439              CALL writedynav_p(histaveid, nqmx, itau,vcov ,
Note: See TracChangeset for help on using the changeset viewer.