2004-12-20 01:48:37 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2006-08-16 16:35:09 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-12-20 01:48:37 +00:00
|
|
|
* 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.
|
2004-12-20 01:48:37 +00:00
|
|
|
* $COPYRIGHT$
|
2006-08-16 16:35:09 +00:00
|
|
|
*
|
2004-12-20 01:48:37 +00:00
|
|
|
* Additional copyrights may follow
|
2006-08-16 16:35:09 +00:00
|
|
|
*
|
2004-12-20 01:48:37 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/** @file:
|
|
|
|
*/
|
|
|
|
|
2006-08-16 16:35:09 +00:00
|
|
|
#ifndef MCA_SMR_BASE_H
|
|
|
|
#define MCA_SMR_BASE_H
|
|
|
|
|
2004-12-20 01:48:37 +00:00
|
|
|
/*
|
|
|
|
* includes
|
|
|
|
*/
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "orte_config.h"
|
2006-08-16 16:35:09 +00:00
|
|
|
#include "orte/orte_constants.h"
|
|
|
|
#include "orte/orte_types.h"
|
2004-12-20 01:48:37 +00:00
|
|
|
|
2005-07-03 16:22:16 +00:00
|
|
|
#include "opal/class/opal_list.h"
|
2006-08-16 16:35:09 +00:00
|
|
|
#include "orte/dss/dss_types.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "opal/mca/mca.h"
|
2006-08-16 16:35:09 +00:00
|
|
|
/* #include "orte/mca/ns/ns_types.h" */
|
|
|
|
#include "orte/mca/smr/smr.h"
|
2004-12-20 01:48:37 +00:00
|
|
|
|
|
|
|
|
2006-08-16 16:35:09 +00:00
|
|
|
/*
|
|
|
|
* Global functions for MCA overall collective open and close
|
|
|
|
*/
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2005-03-14 20:57:21 +00:00
|
|
|
|
2006-08-20 15:54:04 +00:00
|
|
|
ORTE_DECLSPEC int orte_smr_base_open(void);
|
|
|
|
ORTE_DECLSPEC int orte_smr_base_select(void);
|
|
|
|
ORTE_DECLSPEC int orte_smr_base_close(void);
|
2005-03-14 20:57:21 +00:00
|
|
|
|
2006-08-16 16:35:09 +00:00
|
|
|
typedef struct orte_smr_base_t {
|
|
|
|
int smr_output;
|
|
|
|
opal_list_t smr_components;
|
|
|
|
} orte_smr_base_t;
|
2005-03-14 20:57:21 +00:00
|
|
|
|
2006-08-20 15:54:04 +00:00
|
|
|
ORTE_DECLSPEC extern orte_smr_base_t orte_smr_base;
|
2005-03-14 20:57:21 +00:00
|
|
|
|
2005-03-22 00:31:17 +00:00
|
|
|
|
2006-08-16 16:35:09 +00:00
|
|
|
/*
|
|
|
|
* external API functions will be documented in the mca/smr/smr.h file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
2004-12-20 01:48:37 +00:00
|
|
|
}
|
2006-08-16 16:35:09 +00:00
|
|
|
#endif
|
|
|
|
#endif
|