Skip to content

Conversation

@awlauria
Copy link
Contributor

Make base directories compile only the bare minimum
when disabling ompio. These can make mca_ompio calls, which will
lead to a linking error.

Signed-off-by: Austen Lauria awlauria@us.ibm.com

Make base directories compile only the bare minimum
when disabling ompio. These can make mca_ompio calls, which will
lead to a linking error.

Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
@awlauria awlauria requested a review from edgargabriel January 25, 2022 23:56
@awlauria
Copy link
Contributor Author

@edgargabriel I could have put this macro around only the offending calls, but went for the harder hammer approach to try and be a bit defensive. I'm open to either way.

@awlauria awlauria linked an issue Jan 25, 2022 that may be closed by this pull request
Copy link
Member

@edgargabriel edgargabriel left a comment

Choose a reason for hiding this comment

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

I am conceptually fine with the solution, and I can confirm that if a user does not set the --disable-ompio option, ompio still builds correctly.

@awlauria awlauria merged commit a2aae17 into open-mpi:master Jan 26, 2022
@awlauria awlauria deleted the fix_no_ompio_option branch January 26, 2022 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disabling io-ompio builds broken on master

2 participants