2004-12-15 18:36:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MCA_SOH_BASE_H
|
|
|
|
#define MCA_SOH_BASE_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
|
|
|
#include "ompi_config.h"
|
|
|
|
|
2004-12-20 01:48:37 +00:00
|
|
|
#include "include/constants.h"
|
2004-12-15 18:36:21 +00:00
|
|
|
#include "class/ompi_list.h"
|
|
|
|
#include "mca/mca.h"
|
|
|
|
|
|
|
|
#include "mca/soh/soh.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Global functions for MCA overall collective open and close
|
|
|
|
*/
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
OMPI_DECLSPEC int mca_soh_base_open(void);
|
|
|
|
OMPI_DECLSPEC int mca_soh_base_select(bool *allow_multi_user_threads,
|
|
|
|
bool *have_hidden_threads);
|
|
|
|
OMPI_DECLSPEC int mca_soh_base_close(void);
|
2004-12-20 01:48:37 +00:00
|
|
|
OMPI_DECLSPEC int mca_soh_base_update_cell_soh_not_available(mca_ns_base_cellid_t cellid);
|
2004-12-15 18:36:21 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* globals that might be needed
|
|
|
|
*/
|
|
|
|
|
|
|
|
OMPI_DECLSPEC extern int mca_soh_base_output;
|
|
|
|
OMPI_DECLSPEC extern mca_soh_base_module_t ompi_soh_monitor; /* holds selected module's function pointers */
|
|
|
|
OMPI_DECLSPEC extern bool mca_soh_base_selected;
|
|
|
|
OMPI_DECLSPEC extern ompi_list_t mca_soh_base_components_available;
|
|
|
|
OMPI_DECLSPEC extern mca_soh_base_component_t mca_soh_base_selected_component;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* external API functions will be documented in the mca/soh/soh.h file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|