2005-01-21 17:49:14 +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.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2005-01-21 17:49:14 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
#ifndef ORTE_MCA_ERRMGR_BASE_H
|
|
|
|
#define ORTE_MCA_ERRMGR_BASE_H
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "orte_config.h"
|
|
|
|
#include "include/orte_constants.h"
|
2005-01-21 17:49:14 +00:00
|
|
|
|
2005-07-03 16:22:16 +00:00
|
|
|
#include "opal/class/opal_list.h"
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
#include "mca/mca.h"
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "mca/ns/ns_types.h"
|
2005-01-21 17:49:14 +00:00
|
|
|
#include "mca/errmgr/errmgr.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Global functions for MCA overall collective open and close
|
|
|
|
*/
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Internal definitions
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* function definitions
|
|
|
|
*/
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_DECLSPEC int orte_errmgr_base_open(void);
|
|
|
|
OMPI_DECLSPEC int orte_errmgr_base_select(bool *allow_multi_user_threads,
|
2005-01-21 17:49:14 +00:00
|
|
|
bool *have_hidden_threads);
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_DECLSPEC int orte_errmgr_base_close(void);
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Base functions that are common to all implementations - can be overridden
|
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_DECLSPEC void orte_errmgr_base_log(int error_code, char *filename, int line);
|
|
|
|
|
|
|
|
OMPI_DECLSPEC void orte_errmgr_base_proc_aborted(orte_process_name_t *proc);
|
|
|
|
|
|
|
|
OMPI_DECLSPEC void orte_errmgr_base_incomplete_start(orte_jobid_t job);
|
|
|
|
|
|
|
|
OMPI_DECLSPEC void orte_errmgr_base_error_detected(int error_code);
|
|
|
|
|
|
|
|
OMPI_DECLSPEC int orte_errmgr_base_register_job(orte_jobid_t job);
|
|
|
|
|
|
|
|
OMPI_DECLSPEC void orte_errmgr_base_abort(void);
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* globals that might be needed
|
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_DECLSPEC extern int orte_errmgr_base_output;
|
|
|
|
OMPI_DECLSPEC extern bool orte_errmgr_base_selected;
|
|
|
|
OMPI_DECLSPEC extern bool orte_errmgr_initialized;
|
2005-07-03 16:22:16 +00:00
|
|
|
OMPI_DECLSPEC extern opal_list_t orte_errmgr_base_components_available;
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_DECLSPEC extern mca_errmgr_base_component_t orte_errmgr_base_selected_component;
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* external API functions will be documented in the mca/errmgr/errmgr.h file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|