New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 4440 for branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2014-02-04T13:15:21+01:00 (10 years ago)
Author:
trackstand2
Message:

Changes to timing calls to better deal with IO-heavy bits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r3432 r4440  
    5151   USE zpermute, ONLY : permute_z_last   ! Re-order a 3d array back to external (z-last) ordering  
    5252   USE prtctl 
     53   USE timing 
    5354 
    5455   IMPLICIT NONE 
     
    148149      END IF 
    149150      ! 
     151      CALL timing_start('dia_wri')  
     152      ! 
    150153      ! Output the initial state and forcings 
    151154      IF( ninist == 1 ) THEN                        
     
    228231         CALL iom_put( "v_heattr", z2d )                  !  heat transport in i-direction 
    229232      ENDIF 
     233      ! 
     234      CALL timing_stop('dia_wri')  
    230235      ! 
    231236      IF( wrk_not_released(2, 1))THEN 
     
    270275      END IF 
    271276      ! 
     277      CALL timing_start('dia_wri')  
     278      ! 
    272279      ! Output the initial state and forcings 
    273280      IF( ninist == 1 ) THEN                        
     
    717724         CALL histclo( nid_W ) 
    718725      ENDIF 
     726      ! 
     727      CALL timing_stop('dia_wri')  
    719728      ! 
    720729      IF( wrk_not_released(2, 1))THEN 
     
    750759      REAL(wp) ::   zsto, zout, zmax, zjulian, zdt 
    751760      !!---------------------------------------------------------------------- 
     761 
     762      CALL timing_start('dia_wri_state')  
    752763 
    753764      ! 0. Initialisation 
     
    854865      ENDIF 
    855866#endif 
     867      CALL timing_stop('dia_wri_state')  
    856868 
    857869   END SUBROUTINE dia_wri_state 
Note: See TracChangeset for help on using the changeset viewer.