mpl: pass MPL's CFLAGS back to MPICH #7152
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
PR#7074 consolidated SSE2 and AVX related optimization options into MPL's configure because only MPL explicitly use them. MPICH's CFLAGS no longer has those options. However, with Intel compilers, this does results in some performance degradation. Therefore, we need to propagate the CFLAGS in MPL back into the MPICH configure.
This PR creates a
MPL_CFLAGS
in the localdefs that allows the PAC_CONFIG_MPL macro to add it to the main CFLAGS.This is an alternative and probably better solution than the 2nd commit in #7150 .
Author Checklist
Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
Commits are self-contained and do not do two things at once.
Commit message is of the form:
module: short description
Commit message explains what's in the commit.
Whitespace checker. Warnings test. Additional tests via comments.
For non-Argonne authors, check contribution agreement.
If necessary, request an explicit comment from your companies PR approval manager.