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 9015 for branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfosm.F90 – NEMO

Ignore:
Timestamp:
2017-12-13T15:10:30+01:00 (6 years ago)
Author:
acc
Message:

Branch dev_CNRS_2017. Tidy up timing calls. Correct a few inconsistent labels and fix incorrect call in trc_sub_stp. Remove timing from icethd_pnd which is not always called by all processors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfosm.F90

    r8946 r9015  
    253253      !!-------------------------------------------------------------------- 
    254254      ! 
    255       IF( nn_timing == 1 )  CALL timing_start('zdf_osm') 
     255      IF( ln_timing )  CALL timing_start('zdf_osm') 
    256256      ! 
    257257      ALLOCATE( lconv(jpi,jpj),  STAT= i_lconv_alloc ) 
     
    13521352      CALL lbc_lnk( p_avt(:,:,:), 'W', 1. ) 
    13531353      ! 
     1354      IF( ln_timing )  CALL timing_stop('zdf_osm') 
     1355      ! 
    13541356   END SUBROUTINE zdf_osm 
    13551357 
     
    13751377     !!---------------------------------------------------------------------- 
    13761378     ! 
    1377      IF( nn_timing == 1 )  CALL timing_start('zdf_osm_init') 
     1379     IF( ln_timing )  CALL timing_start('zdf_osm_init') 
    13781380     ! 
    13791381     REWIND( numnam_ref )              ! Namelist namzdf_osm in reference namelist : Osmosis ML model 
     
    15031505 
    15041506     ! 
    1505      IF( nn_timing == 1 )  CALL timing_stop('zdf_osm_init') 
     1507     IF( ln_timing )  CALL timing_stop('zdf_osm_init') 
    15061508     ! 
    15071509   END SUBROUTINE zdf_osm_init 
     
    16141616      INTEGER :: ji, jj, jk 
    16151617      ! 
    1616       IF( nn_timing == 1 )  CALL timing_start('tra_osm') 
     1618      IF( ln_timing )  CALL timing_start('tra_osm') 
    16171619      ! 
    16181620      IF( kt == nit000 ) THEN 
     
    16571659      ENDIF 
    16581660      ! 
    1659       IF( nn_timing == 1 )  CALL timing_stop('tra_osm') 
     1661      IF( ln_timing )  CALL timing_stop('tra_osm') 
    16601662      ! 
    16611663   END SUBROUTINE tra_osm 
     
    16931695      !!---------------------------------------------------------------------- 
    16941696      ! 
    1695       IF( nn_timing == 1 )  CALL timing_start('dyn_osm') 
     1697      IF( ln_timing )  CALL timing_start('dyn_osm') 
    16961698      ! 
    16971699      IF( kt == nit000 ) THEN 
     
    17171719      ! code for saving tracer trends removed 
    17181720      ! 
    1719       IF( nn_timing == 1 )  CALL timing_stop('dyn_osm') 
     1721      IF( ln_timing )  CALL timing_stop('dyn_osm') 
    17201722      ! 
    17211723   END SUBROUTINE dyn_osm 
Note: See TracChangeset for help on using the changeset viewer.