Opened 6 years ago

Closed 6 years ago

#784 closed defect (Fixed)

INLINE_2DIO and PERFECT_RESTART incompatibility

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

Description (last modified by arango)

It may be worth noting that INLINE_2DIO and PERFECT_RESTART are incompatible, because nf_fread4d.F and nf_fwrite4d.F are not configured for INLINE_2DIO. This incompatibility can cause crashes due to insufficient memory during reading and writing of restart files if the problem is indeed memory constrained.

I'm attaching my modifications to these files following nf_fread3d.F and nf_fwrite4d.F, which are very minor and seem to fix the incompatibility.

Attachments (2)

nf_fread4d.F (25.2 KB ) - added by dwhitt 6 years ago.
nf_fwrite4d.F (20.5 KB ) - added by dwhitt 6 years ago.

Download all attachments as: .zip

Change History (3)

by dwhitt, 6 years ago

Attachment: nf_fread4d.F added

by dwhitt, 6 years ago

Attachment: nf_fwrite4d.F added

comment:1 by arango, 6 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed

Indeed. Thank you for suggesting and modifying the code to do such. Nowadays, I am very conscious of the memory needs for a particular application. I coded some estimate of dynamic and automatic memory requirements. Obviously, I/O is a bottleneck as the number of CPUs increased in the distributed memory paradigm. I am studying alternatives, but I haven't found a satisfactory strategy yet. Applications like data assimilation are I/O intensive.

Note: See TracTickets for help on using tickets.