Ignore:
Timestamp:
Aug 23, 2013, 2:20:58 PM (11 years ago)
Author:
yann meurdesoif
Message:

Solve performance problem comming from declarations of a derived type.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F

    r1823 r1848  
    449449      IF (ok_start_timer) THEN
    450450        CALL InitTime
    451 !        ok_start_timer=.FALSE.
    452         ok_start_timer=.TRUE.
     451        ok_start_timer=.FALSE.
    453452      ENDIF     
    454453c$OMP END MASTER     
     
    624623      True_itau=True_itau+1
    625624
    626 c$OMP MASTER     
    627       PRINT *,"---> itau=",itau,"  True_itau=",True_itau
    628 c$OMP END MASTER
    629 
    630625c$OMP MASTER
    631626      IF (prt_level>9) THEN
     
    10861081
    10871082      IF(iflag_phys.EQ.2) THEN ! "Newtonian" case
     1083c$OMP MASTER
     1084         if (FirstPhysic) then
     1085           ok_start_timer=.TRUE.
     1086           FirstPhysic=.false.
     1087         endif
     1088c$OMP END MASTER
     1089
     1090
    10881091c   Calcul academique de la physique = Rappel Newtonien + fritcion
    10891092c   --------------------------------------------------------------
     
    13881391c$OMP MASTER
    13891392            call allgather_timer_average
    1390 
     1393      call barrier
    13911394      if (mpi_rank==0) then
    13921395       
     
    14241427       
    14251428      endif 
    1426      
     1429      CALL barrier
    14271430      print *,'Taille du Buffer MPI (REAL*8)',MaxBufferSize
    14281431      print *,'Taille du Buffer MPI utilise (REAL*8)',MaxBufferSize_Used
Note: See TracChangeset for help on using the changeset viewer.