Changeset 1000 for LMDZ4/trunk/libf/dyn3dpar/leapfrog_p.F
- Timestamp:
- Oct 6, 2008, 10:43:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3dpar/leapfrog_p.F
r995 r1000 76 76 #include "advtrac.h" 77 77 78 include 'mpif.h'79 78 integer nq 80 79 … … 237 236 c$OMP MASTER 238 237 239 !$OMP CRITICAL (MPI) 240 call MPI_BARRIER(COMM_LMDZ,ierr) 241 !$OMP END CRITICAL (MPI) 242 238 CALL barrier 239 243 240 c$OMP END MASTER 244 241 c$OMP BARRIER … … 736 733 call Register_SwapFieldHallo(flxw,flxw,ip1jmp1,llm, 737 734 * jj_Nb_physic,2,2,Request_physic) 738 call SetDistrib(jj_nb_Physic)739 735 740 736 call SendRequest(Request_Physic) … … 853 849 c ajout des tendances physiques: 854 850 c ------------------------------ 851 IF (ok_strato) THEN 852 CALL top_bound_p( vcov,ucov,teta, dufi,dvfi,dtetafi) 853 ENDIF 854 855 855 CALL addfi_p( nqmx, dtphys, leapf, forward , 856 856 $ ucov, vcov, teta , q ,ps , … … 1289 1289 c$OMP BARRIER 1290 1290 call WaitRequest(TestRequest) 1291 c$OMP BARRIER 1291 1292 c$OMP MASTER 1292 1293 CALL writedynav_p(histaveid, nqmx, itau,vcov , … … 1340 1341 CALL writehist_p(histid,histvid, nqmx,itau,vcov, 1341 1342 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 1354 1344 #endif 1355 1345 c$OMP END MASTER … … 1445 1435 call WaitRequest(TestRequest) 1446 1436 1437 c$OMP BARRIER 1447 1438 c$OMP MASTER 1448 1439 CALL writedynav_p(histaveid, nqmx, itau,vcov ,
Note: See TracChangeset
for help on using the changeset viewer.