
Will be replaced by PRRTE. Ensure that OMPI and OPAL layers build without reference to ORTE. Setup opal/pmix framework to be static. Remove support for all PMI-1 and PMI-2 libraries. Add support for "external" pmix component as well as internal v4 one. remove orte: misc fixes - UCX fixes - VPATH issue - oshmem fixes - remove useless definition - Add PRRTE submodule - Get autogen.pl to traverse PRRTE submodule - Remove stale orcm reference - Configure embedded PRRTE - Correctly pass the prefix to PRRTE - Correctly set the OMPI_WANT_PRRTE am_conditional - Move prrte configuration to the end of OMPI's configure.ac - Make mpirun a symlink to prun, when available - Fix makedist with --no-orte/--no-prrte option - Add a `--no-prrte` option which is the same as the legacy `--no-orte` option. - Remove embedded PMIx tarball. Replace it with new submodule pointing to OpenPMIx master repo's master branch - Some cleanup in PRRTE integration and add config summary entry - Correctly set the hostname - Fix locality - Fix singleton operations - Fix support for "tune" and "am" options Signed-off-by: Ralph Castain <rhc@pmix.org> Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp> Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
68 строки
1.9 KiB
C
68 строки
1.9 KiB
C
/*
|
|
* Copyright (c) 2015-2020 Intel, Inc. All rights reserved.
|
|
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
/* This header contains macros to help minimize usnic BTL differences
|
|
* between v1.7/v1.8 and v1.9/v2.0. */
|
|
|
|
#ifndef MTL_OFI_COMPAT_H
|
|
#define MTL_OFI_COMPAT_H
|
|
|
|
/************************************************************************/
|
|
|
|
/* v2.0 and beyond */
|
|
|
|
#if (OPAL_MAJOR_VERSION >= 2)
|
|
|
|
#include "opal/mca/pmix/pmix-internal.h"
|
|
|
|
#define OFI_COMPAT_MODEX_RECV(ret, mtl_version, proc, ep_name, size) \
|
|
OPAL_MODEX_RECV((ret), (mtl_version), &(proc)->super.proc_name, (ep_name), (size));
|
|
|
|
#define OFI_COMPAT_MODEX_SEND(ret, mtl_version, ep_name, namelen) \
|
|
OPAL_MODEX_SEND((ret), \
|
|
PMIX_GLOBAL, \
|
|
(mtl_version), \
|
|
(ep_name)[0], \
|
|
(namelen));
|
|
|
|
#define OFI_COMPAT_MCA_VERSION \
|
|
MCA_BASE_MAKE_VERSION(component, \
|
|
OMPI_MAJOR_VERSION, \
|
|
OMPI_MINOR_VERSION, \
|
|
OMPI_RELEASE_VERSION)
|
|
|
|
|
|
/************************************************************************/
|
|
|
|
/* v1.7, v1.8, and v1.10 (there was no v1.9) */
|
|
|
|
#elif (OPAL_MAJOR_VERSION == 1 && OPAL_MINOR_VERSION >= 7)
|
|
|
|
#include "ompi/runtime/ompi_module_exchange.h"
|
|
|
|
#define OFI_COMPAT_MODEX_RECV(ret, mtl_version, proc, ep_name, size) \
|
|
(ret) = ompi_modex_recv((mtl_version), (proc), (ep_name), (size));
|
|
|
|
#define OFI_COMPAT_MODEX_SEND(ret, mtl_version, ep_name, namelen) \
|
|
(ret) = ompi_modex_send((mtl_version), (ep_name), (namelen));
|
|
|
|
#define OFI_COMPAT_MCA_VERSION \
|
|
OMPI_MAJOR_VERSION, \
|
|
OMPI_MINOR_VERSION, \
|
|
OMPI_RELEASE_VERSION
|
|
|
|
/************************************************************************/
|
|
|
|
#else
|
|
# error OMPI version too old (< 1.7)
|
|
#endif
|
|
|
|
#endif /* MTL_OFI_COMPAT_H */
|