Opened 15 years ago

Closed 15 years ago

#234 closed bug (Fixed)

Pointer association in nf_fread*d routines

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

Description (last modified by arango)

It turns out that we need to follow the point association rules for array IJwater in the call to mp_scatter in input routines nf_fread2d.F, nf_fread3d.F, and nf_fread4d.F when the READ_WATER option is activated. Although these input routines are not inside a module, the mp_scatter routine is and this array is passed as a pointer using the SCALARS(ng)%IJwater synthax. This problem is also found in routine white_noise.F.

This is similar to src:ticket:228 and discovered using ifort 10.1. Many thanks to Mathieu Dutour for reporting this problem.

Change History (1)

comment:1 by arango, 15 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.