Skip to content

LESTKF RELEASE build produces different results than DEBUG #75

@jjokella

Description

@jjokella

Found in

Addressed by

Problem

When running LST-DA data assimilation experiments with the LESTKF filter, results in the RELEASE build differ from the DEBUG build. Specifically:

  • LESTKF experiments using PDAF-OMI and PDAF-non-OMI produce different results in RELEASE, but are identical in DEBUG.
  • EnKF experiments are identical across both build types, suggesting the issue is localized to the LESTKF localization routines.

Root Cause (Assumption)

Intel's default floating-point optimization (-O2) appears to trigger numerically inconsistent results in the LESTKF localization routines. Adding -fp-model=precise to the Intel Fortran compiler flags for RELEASE builds restores identical results.

Reference: https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-0/fp-model-fp.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions