
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>
52 строки
1.0 KiB
C
52 строки
1.0 KiB
C
/*
|
|
* Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
/** @file:
|
|
*/
|
|
|
|
#ifndef MCA_PMI_BASE_H
|
|
#define MCA_PMI_BASE_H
|
|
|
|
#include "opal_config.h"
|
|
#include "opal/types.h"
|
|
#include "opal/threads/threads.h"
|
|
#include "opal/mca/mca.h"
|
|
#include "opal/mca/base/mca_base_framework.h"
|
|
|
|
#include "opal/mca/pmix/pmix-internal.h"
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
OPAL_DECLSPEC extern mca_base_framework_t opal_pmix_base_framework;
|
|
|
|
/**
|
|
* Select a pmix module
|
|
*/
|
|
OPAL_DECLSPEC int opal_pmix_base_select(void);
|
|
|
|
OPAL_DECLSPEC extern bool opal_pmix_base_allow_delayed_server;
|
|
|
|
OPAL_DECLSPEC int opal_pmix_base_exchange(pmix_info_t *info,
|
|
pmix_pdata_t *pdat,
|
|
int timeout);
|
|
|
|
typedef struct {
|
|
opal_event_base_t *evbase;
|
|
int timeout;
|
|
int initialized;
|
|
opal_pmix_lock_t lock;
|
|
} opal_pmix_base_t;
|
|
|
|
extern opal_pmix_base_t opal_pmix_base;
|
|
|
|
#define OPAL_PMIX_CONDITION_STATIC_INIT PTHREAD_COND_INITIALIZER
|
|
|
|
END_C_DECLS
|
|
|
|
#endif
|