Skip to content

Change configury logic to prefer external hwloc/libevent/pmix #5031

Closed
@jsquyres

Description

@jsquyres

Based on Dallas March 2018 face-to-face meeting notes, we want to shift the focus in v4.0.x away from the embedded hwloc, libevent, and pmix to external versions of these libraries.

Specifically, change the configury logic:

  1. If user preference for external was specified:
    • Look for external support.
    • If external support is found and is compatible (e.g., the version/API/ABI/whatever is good), use it.
    • Otherwise, abort configure
  2. If user preference for internal was specified:
    • Use it.
  3. If no user preference was specified, look for external support.
    1. If external support is found:
      • If the external version is compatible (e.g., the version/API/ABI/whatever is good):
        • If the external version is >= the internal version, use the external version.
        • If the external version is < the internal version, emit a warning and use the internal version.
      • If the external version is not compatible:
        • Emit a warning and use the internal version.
    2. If external support is not found
      • Use the internal version.

Also add relevant ompi_info output somewhere indicating whether we are using internal or external versions, and give the reason why.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions