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 625 for trunk/NEMO/TOP_SRC/SMS/trclsm.cfc.h90 – NEMO

Ignore:
Timestamp:
2007-02-27T16:51:00+01:00 (17 years ago)
Author:
opalod
Message:

nemo_v2_bugfix_025:RB: suppress hard-coded logical units

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/SMS/trclsm.cfc.h90

    r348 r625  
    2626         clname = 'namelist.trc.sms' 
    2727      INTEGER ::  & 
    28          numnat = 80 
     28         numnat 
    2929 
    3030      NAMELIST/namdates/ndate_beg, nyear_res 
     
    4141      ENDIF 
    4242 
    43       OPEN( UNIT=numnat, FILE=clname, FORM='FORMATTED', STATUS='OLD' ) 
     43      CALL ctlopn( numnat, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL',   & 
     44         &           1, numout, .FALSE., 1 ) 
    4445      READ( numnat , namdates ) 
    4546 
Note: See TracChangeset for help on using the changeset viewer.