Opened 10 years ago

Closed 10 years ago

#509 closed bug (Done)

Corrected initialization of Nfiles in inp_par.F

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.5
Component: Nonlinear Version: 3.5
Keywords: Cc:


The local variable Nfiles used to count the number of files per field(s) during record splitting was initialized before being allocated in inp_par.F. This caused unexpected behavior in some compilers that do not initialize variable to zero by default. Many thanks to Kate Hedstrom for bringing this to my attention.

I also added the following conditional when computing the Infinity variable that it is needed when coupling with SWAN:


This is still not a solution but at least is not used everytime that we run ROMS in other applications. Many thanks to Mark Hadfield for reporting this.

Change History (1)

comment:1 Changed 10 years ago by arango

  • Resolution set to Done
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.