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 1581 for trunk/NEMO/TOP_SRC/PISCES – NEMO

Ignore:
Timestamp:
2009-08-05T16:53:12+02:00 (15 years ago)
Author:
smasson
Message:

ctlopn cleanup, see ticket:515 and ticket:237

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/PISCES/trclsm_pisces.F90

    r1457 r1581  
    1919   USE trc             ! TOP variables 
    2020   USE sms_pisces      ! sms trends 
     21   USE in_out_manager  ! I/O manager 
    2122 
    2223 
     
    4546      !!                       natkriest ("key_kriest") 
    4647      !!---------------------------------------------------------------------- 
    47       CHARACTER (len=32) ::  clname 
    4848      !! 
    4949#if defined key_trc_diaadd && ! defined key_iomput 
     
    7878      !                               ! Open the namelist file 
    7979      !                               ! ---------------------- 
    80       clname ='namelist_pisces' 
    81       CALL ctlopn( numnat, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', 1, numout, .FALSE., 1 ) 
     80      CALL ctl_opn( numnat, 'namelist_pisces', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) 
    8281 
    8382      REWIND( numnat )                     
Note: See TracChangeset for help on using the changeset viewer.