Skip to content

v3.1.x: fix OFI configury #6369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 12, 2019

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Feb 7, 2019

This PR is the last 2 commits from master PR #6363

Update the OPAL_CHECK_OFI configury macro:

- Make it safe to call the macro multiple times:
  - The checks only execute the first time it is invoked
  - Subsequent invocations, it just emits a friendly "checking..."
    message so that configure output is sensible/logical
- With the goal of ultimately removing opal/mca/common/ofi, rename the
  output variables from OPAL_CHECK_OFI to be
  opal_ofi_{happy|CPPFLAGS|LDFLAGS|LIBS}.
- Update btl/usnic and mtl/ofi for these new conventions.
- Also, don't use AC_REQUIRE to invoke OPAL_CHECK_OFI because that
  causes the macro to be invoked at a fairly random time, which makes
  configure stdout confusing / hard to grok.
- Remove a little left-over kruft in OPAL_CHECK_OFI, too (which
  resulted in an indenting change, making the change to
  opal_check_ofi.m4 look larger than it really is).

Thanks Alastair McKinstry for the report and initial fix.
Thanks Rashika Kheria for the reminder.

Update from master: the v3.1.x branch does not have the OFI BTL.
Therefore, did not include the OFI BTL updates from the master cherry
pick.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit f5e1a67)
It never lived up to its purpose (and has caused amorphous indirect
errors such as open-mpi#2519), so
delete it.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit dd20174)
@bwbarrett bwbarrett merged commit 6061a45 into open-mpi:v3.1.x Feb 12, 2019
@jsquyres jsquyres deleted the pr/v3.1.x/fix-ofi-configury branch December 7, 2021 22:23
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