Skip to content

LESTKF RELEASE build produces different results than DEBUG #75

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions