Skip to content

Conversation

@wckzhang
Copy link
Contributor

The btl/ofi does not currently utilize the common ofi include/exclude
list. Added verification code similar to the mtl/ofi that will check if
the info object is in the include or exclude list. If it isn't in the
include list or is in the exclude list, validate_info will return
OPAL_ERROR. The btl/ofi will no longer pass a provider name as a hint
when calling getinfo, instead filtering the provider during
validate_info.

This patch also moves the is_in_list MTL function into common code and
adds additional debugging output to the BTL to match the MTL standard.

Signed-off-by: William Zhang [email protected]
(cherry picked from commit 9b8f463)

The btl/ofi does not currently utilize the common ofi include/exclude
list. Added verification code similar to the mtl/ofi that will check if
the info object is in the include or exclude list. If it isn't in the
include list or is in the exclude list, validate_info will return
OPAL_ERROR. The btl/ofi will no longer pass a provider name as a hint
when calling getinfo, instead filtering the provider during
validate_info.

This patch also moves the is_in_list MTL function into common code and
adds additional debugging output to the BTL to match the MTL standard.

Signed-off-by: William Zhang <[email protected]>
(cherry picked from commit 9b8f463)
@wckzhang
Copy link
Contributor Author

Original PR: #7975

@jsquyres jsquyres changed the title btl/ofi: Use common provider include/exclude list v4.1.x: btl/ofi: Use common provider include/exclude list Aug 10, 2020
@jsquyres jsquyres added this to the v4.1.0 milestone Aug 10, 2020
@bwbarrett bwbarrett merged commit 22163d3 into open-mpi:v4.1.x Aug 11, 2020
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