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 1685 for trunk/NEMO/TOP_SRC/TRP – NEMO

Ignore:
Timestamp:
2009-10-28T11:28:21+01:00 (15 years ago)
Author:
smasson
Message:

cleaning of logical units (use, flush and close), see ticket:570

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/TRP/trdmld_trc.F90

    r1581 r1685  
    12131213      !! 
    12141214      !!---------------------------------------------------------------------- 
     1215      INTEGER :: inum   ! logical unit 
    12151216      INTEGER :: ilseq, jl, jn 
    12161217      REAL(wp) ::   zjulian, zsto, zout 
     
    13641365      ! ---------------------------------------------- 
    13651366      IF( nctls_trc == 1 ) THEN 
    1366          CALL ctl_opn( numbol, 'ctlsurf_idx', 'OLD', 'UNFORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
    1367          READ ( numbol ) nbol_trc 
    1368          CLOSE( numbol ) 
     1367         CALL ctl_opn( inum, 'ctlsurf_idx', 'OLD', 'UNFORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
     1368         READ ( inum ) nbol_trc 
     1369         CLOSE( inum ) 
    13691370      ENDIF 
    13701371 
Note: See TracChangeset for help on using the changeset viewer.