1
1
openmpi/orte/mca/grpcomm/basic/grpcomm_basic.h
Brian Barrett 39a6057fc6 A number of improvements / changes to the RML/OOB layers:
* General TCP cleanup for OPAL / ORTE
  * Simplifying the OOB by moving much of the logic into the RML
  * Allowing the OOB RML component to do routing of messages
  * Adding a component framework for handling routing tables
  * Moving the xcast functionality from the OOB base to its own framework

Includes merge from tmp/bwb-oob-rml-merge revisions:

    r15506, r15507, r15508, r15510, r15511, r15512, r15513

This commit was SVN r15528.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r15506
  r15507
  r15508
  r15510
  r15511
  r15512
  r15513
2007-07-20 01:34:02 +00:00

83 строки
2.0 KiB
C

/* -*- C -*-
*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2006 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*
*/
#ifndef GRPCOMM_BASIC_H
#define GRPCOMM_BASIC_H
#include "orte_config.h"
#include "orte/orte_types.h"
#include "orte/orte_constants.h"
#include "opal/threads/mutex.h"
#include "opal/threads/condition.h"
#include "opal/class/opal_object.h"
#include "orte/mca/grpcomm/grpcomm.h"
#if defined(c_plusplus) || defined(__cplusplus)
extern "C" {
#endif
/*
* globals
*/
/*
* globals needed within component
*/
typedef struct {
int output;
int xcast_linear_xover;
int xcast_binomial_xover;
orte_std_cntr_t num_active;
opal_mutex_t mutex;
opal_condition_t cond;
} orte_grpcomm_basic_globals_t;
extern orte_grpcomm_basic_globals_t orte_grpcomm_basic;
/*
* Module open / close
*/
int orte_grpcomm_basic_open(void);
int orte_grpcomm_basic_close(void);
orte_grpcomm_base_module_t* orte_grpcomm_basic_init(int *priority);
/*
* Startup / Shutdown
*/
int orte_grpcomm_basic_module_init(void);
int orte_grpcomm_basic_finalize(void);
/*
* xcast interfaces
*/
void orte_ns_replica_recv(int status, orte_process_name_t* sender,
orte_buffer_t* buffer, orte_rml_tag_t tag, void* cbdata);
ORTE_MODULE_DECLSPEC extern orte_grpcomm_base_component_t orte_grpcomm_basic_component;
extern orte_grpcomm_base_module_t orte_grpcomm_basic_module;
#if defined(c_plusplus) || defined(__cplusplus)
}
#endif
#endif