Skip to content

ESMF: workaround for legacy linking to MPI C++ interface#1856

Merged
tldahlgren merged 1 commit intospack:developfrom
climbfuji:bugfix/esmf_lmpi_cxx_upstream
Oct 6, 2025
Merged

ESMF: workaround for legacy linking to MPI C++ interface#1856
tldahlgren merged 1 commit intospack:developfrom
climbfuji:bugfix/esmf_lmpi_cxx_upstream

Conversation

@climbfuji
Copy link
Copy Markdown
Contributor

Description

repos/spack_repo/builtin/packages/esmf/package.py: workaround for legacy linking to MPI C++ interface.

A fix for this will be made upstream for newer versions of ESMF (release/beta snapshot unknown). The filter_file function doesn't cause any harm if the search string can't be found, therefore not applying any version bounds to this patch.

Issues

See esmf-org/esmf#497.

Testing

Tested on Navy DSRC Nautilus system that has the MPI C++ bindings installed.

@theurich
Copy link
Copy Markdown
Contributor

theurich commented Oct 6, 2025

A fix for this has been implemented upstream with https://github.com/esmf-org/esmf/releases/tag/v9.0.0b04 and later.

As @climbfuji points out, this spack-packages PR is safe independent of ESMF version (with or without the upstream fix), therefore good to have!

Copy link
Copy Markdown
Contributor

@theurich theurich left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you!

@climbfuji climbfuji requested a review from tldahlgren October 6, 2025 15:40
@tldahlgren tldahlgren enabled auto-merge (squash) October 6, 2025 15:45
@tldahlgren tldahlgren self-assigned this Oct 6, 2025
@tldahlgren tldahlgren merged commit dbc603d into spack:develop Oct 6, 2025
17 checks passed
mkrack pushed a commit to mkrack/spack-packages that referenced this pull request Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants