Opened 5 years ago

Closed 5 years ago

#813 closed bug (Fixed)

Memory Usage Underestimated in Report

Reported by: kate Owned by:
Priority: minor Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description (last modified by arango)

The dynamic and automatic memory usage is underestimated in the standard output report because of the local variable size2d needs to be bigger in several modules.

We need to have:

       size2d=REAL((UBi-LBi+1)*(UBj-LBj+1),r8)

instead of
      
       size2d=REAL((UBi-LBi)*(UBj-LBj),r8) 

for the horizontal array size.

Change History (1)

comment:1 by arango, 5 years ago

Description: modified (diff)
Priority: majorminor
Resolution: Fixed
Status: newclosed
Summary: size2d too smallMemory Usage Underestimated in Report

Oops, Indeed. I missed that one. I guess that I cut and paste the definition of size2d in several modules. The memory report is just a diagnostic but is good to have an accurate estimate.

Note: See TracTickets for help on using tickets.