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 9321 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/TRD – NEMO

Ignore:
Timestamp:
2018-02-12T14:29:34+01:00 (6 years ago)
Author:
davestorkey
Message:

UKMO/dev_r5518_GO6_package branch: allow timing of I/O and coupling only.
See GMED ticket 374.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl_rst.F90

    r6486 r9321  
    1616   USE iom             ! I/O module 
    1717   USE restart         ! only for lrst_oce 
     18   USE timing 
    1819 
    1920   IMPLICIT NONE 
     
    7980         WRITE(numout,*) 
    8081      ENDIF 
    81  
     82      IF(nn_timing == 2)  CALL timing_start('iom_rstput') 
    8283      IF( ln_trdmxl_instant ) THEN  
    8384         !-- Temperature 
     
    115116         CALL iom_rstput( kt, nitrst, nummxlw, 'smltrd_atf_sumb' , smltrd_atf_sumb ) 
    116117      ENDIF 
     118      IF(nn_timing == 2)  CALL timing_stop('iom_rstput') 
    117119      ! 
    118120      IF( kt == nitrst ) THEN 
     
    158160 
    159161      CALL iom_open( TRIM(clpath)//TRIM(cn_trdrst_in), inum, kiolib = jlibalt )  
    160  
     162      IF(nn_timing == 2)  CALL timing_start('iom_rstget') 
    161163      IF( ln_trdmxl_instant ) THEN  
    162164         !-- Temperature 
     
    194196         CALL iom_get( inum, jpdom_autoglo, 'smltrd_atf_sumb' , smltrd_atf_sumb) 
    195197         ! 
    196          CALL iom_close( inum ) 
    197       ENDIF 
     198      ENDIF 
     199      IF(nn_timing == 2)  CALL timing_stop('iom_rstget') 
     200      CALL iom_close( inum ) 
    198201      ! 
    199202   END SUBROUTINE trd_mxl_rst_read 
Note: See TracChangeset for help on using the changeset viewer.