1
1
openmpi/orte/mca/common/pmi/common_pmi.h
Nathan Hjelm cdc3c87ba6 move pmi init/finalize into a common component
This commit was SVN r26470.
2012-05-22 15:15:39 +00:00

37 строки
905 B
C

/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2007 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. All
* rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#if !defined(ORTE_MCA_COMMON_PMI)
#define ORTE_MCA_COMMON_PMI
/**
* mca_common_pmi_init:
*
* Attempt to initialize PMI
*
* @retval true PMI successfully initialized
* @retval false PMI could not be initialized
*/
bool mca_common_pmi_init (void);
/**
* mca_common_pmi_finalize:
*
* Finalize PMI. PMI initialization is reference counted. The last
* caller to mca_common_pmi_finalize will cause PMI to be finalized.
*/
void mca_common_pmi_finalize (void);
#endif