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 9124 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p5zprod.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:26:25+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: ln_timing instead of nn_timing + restricted timing to nemo_init and routine called by step in OPA_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p5zprod.F90

    r7646 r9124  
    9898      !!--------------------------------------------------------------------- 
    9999      ! 
    100       IF( nn_timing == 1 )  CALL timing_start('p5z_prod') 
     100      IF( ln_timing )   CALL timing_start('p5z_prod') 
    101101      ! 
    102102      !  Allocate temporary workspace 
     
    571571      CALL wrk_dealloc( jpi, jpj, jpk, zcroissp, zcroissn, zcroissd ) 
    572572      ! 
    573       IF( nn_timing == 1 )  CALL timing_stop('p5z_prod') 
     573      IF( ln_timing )   CALL timing_stop('p5z_prod') 
    574574      ! 
    575575   END SUBROUTINE p5z_prod 
     
    587587      !! ** input   :   Namelist nampisprod 
    588588      !!---------------------------------------------------------------------- 
    589       ! 
     589      INTEGER :: ios                 ! Local integer output status for namelist read 
     590      !! 
    590591      NAMELIST/namp5zprod/ pislopen, pislopep, pisloped, excretn, excretp, excretd,     & 
    591592         &                 thetannm, thetanpm, thetandm, chlcmin, grosip, bresp, xadap 
    592  
    593       INTEGER :: ios                 ! Local integer output status for namelist read 
    594593      !!---------------------------------------------------------------------- 
    595594 
     
    600599      REWIND( numnatp_cfg )              ! Namelist nampisprod in configuration namelist : Pisces phytoplankton production 
    601600      READ  ( numnatp_cfg, namp5zprod, IOSTAT = ios, ERR = 902 ) 
    602 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zprod in configuration namelist', lwp ) 
     601902   IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zprod in configuration namelist', lwp ) 
    603602      IF(lwm) WRITE ( numonp, namp5zprod ) 
    604603 
Note: See TracChangeset for help on using the changeset viewer.