Skip to content

Adding -check nouninit flag to debugging flags in mkmf.tempate.ifx.linux#1049

Merged
hkershaw-brown merged 1 commit intomainfrom
ifx-uninitialized
Feb 27, 2026
Merged

Adding -check nouninit flag to debugging flags in mkmf.tempate.ifx.linux#1049
hkershaw-brown merged 1 commit intomainfrom
ifx-uninitialized

Conversation

@mjs2369
Copy link
Contributor

@mjs2369 mjs2369 commented Feb 19, 2026

Description:

Please provide a summary of the change and include any relevant motivation and context.

DART fails to compile with the more recent versions of ifx on Derecho due to a DART-independent error from the Memory Sanitizer in the libc. This error occurs when compiling any program with ifx and the compiler flag "-check uninit", which is done by default when using the debugging flags in the mkmf.template

This PR adds a new debugging flag "-check nouninit" to mkmf.tempate.ifx.linux to get around this compiler based error.

This means that the DART code is not checked for unitialized values when debugging with ifx. This is noted in the mkmf.template

Fixes issue

#1046

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Documentation changes needed?

  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.

Tests

Please describe any tests you ran to verify your changes.

Compiled and run DART with several models using the latest, default intel-oneapi module (intel-oneapi/2024.2.1)

Checklist for merging

  • Updated changelog entry
  • Documentation updated
  • Update conf.py

Checklist for release

  • Merge into main
  • Create release from the main branch with appropriate tag
  • Delete feature-branch

Testing Datasets

  • Dataset needed for testing available upon request
  • Dataset download instructions included
  • No dataset needed

Copy link
Member

@hkershaw-brown hkershaw-brown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch Marlee!
Shame we have to remove this check, hopefully the ifx/glibc/whatever interaction is triggering this is fixed in the future.

@hkershaw-brown hkershaw-brown added the release! bundle with next release label Feb 20, 2026
…nux; needed to compiler with later versions ifx
@hkershaw-brown hkershaw-brown merged commit 78d14ad into main Feb 27, 2026
4 checks passed
@hkershaw-brown hkershaw-brown deleted the ifx-uninitialized branch February 27, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release! bundle with next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants