Opened 17 years ago

Closed 17 years ago

#30 closed bug (Fixed)

Memory Leak in the Lanczos Algorithm

Reported by: arango Owned by: arango
Priority: critical Milestone: Adjoint Based Algorithms
Component: Adjoint Version: 3.1
Keywords: Cc:

Description

The Lanczos conjugate gradient algorithm (IS4DVAR plus LANCZOS) has a segmentation violation at the end of the inner loop when computing the Hessian eigenvectors.

Change History (1)

comment:1 by arango, 17 years ago

Resolution: fixed
Status: newclosed

I have been looking for this bug for several days. The problem was in routine state_initialize. It has different number of arguments. It was missing the land/sea masking arrays. I converted all the state manipilation routines into modules to avoid this problem in the future. I love the strong typing capabilities of modules because this type of bug is easily detected during compilation.

Note: See TracTickets for help on using tickets.