Skip to content

Open MPI main/6.0.x fails in configury in messy way if python 3.7 or newer not available #13493

@hppritcha

Description

@hppritcha

The PMIx version needed by Open MPI main and 6.0.x requires a python 3.7 or newer be available.
The PMIx configury has a check for this and bails out if this requirement is not met.

But the Open MPI configury contains on hoping for the best as it configures prrte, which then fails if it can't find a PMIx 6 or newer installed and the resulting output is confusing (potentially)

checking if we need Python... yes
checking for a Python interpreter with version >= 3.7... none
configure: error: OpenPMIx requires Python >= 3.7 to build. Aborting.
configure: ===== done with 3rd-party/openpmix configure =====
checking for pmix pkg-config name... pmix
checking if pmix pkg-config module exists... no
checking for pmix wrapper compiler... pmixcc
checking if pmix wrapper compiler works... no
configure: Searching for pmix in default search paths
checking for pmix cppflags... 
checking for pmix ldflags... 
checking for pmix libs... -lpmix
checking for pmix static libs... -lpmix
checking pmix.h usability... no
checking pmix.h presence... no
checking for pmix.h... no
configure: error: Could not find viable pmix build.

Are we okay with this? Or maybe have a more verbose warning in our top level configury? I do not think we want to error out as there's always hope that the prrte configure will find a new enough pmix somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions