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/p4zpoc.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/p4zpoc.F90

    r7753 r9124  
    1717   USE prtctl_trc      !  print control for debugging 
    1818   USE iom             !  I/O manager 
    19  
    2019 
    2120   IMPLICIT NONE 
     
    6968      !!--------------------------------------------------------------------- 
    7069      ! 
    71       IF( nn_timing == 1 )  CALL timing_start('p4z_poc') 
     70      IF( ln_timing )  CALL timing_start('p4z_poc') 
    7271      ! 
    7372      ! Allocate temporary workspace 
     
    470469      DEALLOCATE( alphag ) 
    471470      ! 
    472       IF( nn_timing == 1 )  CALL timing_stop('p4z_poc') 
     471      IF( ln_timing )   CALL timing_stop('p4z_poc') 
    473472      ! 
    474473   END SUBROUTINE p4z_poc 
     
    487486      !! 
    488487      !!---------------------------------------------------------------------- 
    489       INTEGER :: jn 
     488      INTEGER ::   ios, ifault   ! Local integer 
     489      INTEGER ::   jn 
    490490      REAL(wp) :: remindelta, reminup, remindown 
    491       INTEGER  :: ifault 
    492  
    493       NAMELIST/nampispoc/ xremip, jcpoc, rshape,  & 
    494          &     xremipc, xremipn, xremipp 
    495  
    496  
    497       INTEGER :: ios                 ! Local integer output status for namelist read 
     491      !! 
     492      NAMELIST/nampispoc/ xremip , jcpoc  , rshape,  & 
     493         &                xremipc, xremipn, xremipp 
     494      !!---------------------------------------------------------------------- 
    498495 
    499496      REWIND( numnatp_ref )              ! Namelist nampisrem in reference namelist : Pisces remineralization 
     
    503500      REWIND( numnatp_cfg )              ! Namelist nampisrem in configuration namelist : Pisces remineralization 
    504501      READ  ( numnatp_cfg, nampispoc, IOSTAT = ios, ERR = 902 ) 
    505 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampispoc in configuration namelist', lwp ) 
     502902   IF( ios > 0 ) CALL ctl_nam ( ios , 'nampispoc in configuration namelist', lwp ) 
    506503      IF(lwm) WRITE ( numonp, nampispoc ) 
    507504 
Note: See TracChangeset for help on using the changeset viewer.