Opened 18 years ago
Closed 18 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.
Note:
See TracTickets
for help on using tickets.
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.