
With Open MPI 5.0, the decision was made to stop building 3rd-party packages, such as Libevent, HWLOC, PMIx, and PRRTE as MCA components and instead 1) start relying on external libraries whenever possible and 2) Open MPI builds the 3rd party libraries (if needed) as independent libraries, rather than linked into libopen-pal. This patch moves the PMIx library bundled with Open MPI from a MCA framework to a stand-alone library built outside of OPAL. Due to the amount of code in the MCA base (and its assumptions about being part of an MCA framework), the framework is left with no active components. Any pre-installed version of PMIx 3.0.0 or newer is preferred over the internal version. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
31 строка
778 B
C
31 строка
778 B
C
/*
|
|
* Copyright (c) 2020 Amazon.com, Inc. or its affiliates.
|
|
* All Rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
/*
|
|
* TODO: UGLY HACK ALERT!
|
|
*
|
|
* PRRTE uses --with-pmix-header as a key that it is using an internal
|
|
* PMIx build (same with libevent/hwloc), and that header has to
|
|
* include all the files that the prrte source expects. This is a
|
|
* pain and the long term fix is to add the "cobuild" support to PRRTE
|
|
* similar to what was done for PMIx. Until those patches land, this
|
|
* header includes all the right pieces required.
|
|
*/
|
|
|
|
#ifndef OPAL_PMIX_3RDPARTY_H
|
|
#define OPAL_PMIX_3RDPARTY_H
|
|
|
|
#include <pmix.h>
|
|
#include <pmix_server.h>
|
|
#include <pmix_tool.h>
|
|
#include <pmix_version.h>
|
|
|
|
#endif
|