4acfbe6554
as simple as I or Ralph had hoped. This should be the real fix, or very close to it. I can now see both the sensor and rmcast information from ompi_info when configured with --enable-monitoring --enable_multicast This commit was SVN r22131. The following SVN revision numbers were found above: r22129 --> open-mpi/ompi@02ff00dfb5
62 строки
1005 B
C
62 строки
1005 B
C
/*
|
|
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
/** @file:
|
|
*/
|
|
|
|
#ifndef ORTE_MCA_RMCAST_BASE_H
|
|
#define ORTE_MCA_RMCAST_BASE_H
|
|
|
|
/*
|
|
* includes
|
|
*/
|
|
#include "orte_config.h"
|
|
|
|
#ifdef HAVE_NETINET_IN_H
|
|
#include <netinet/in.h>
|
|
#endif
|
|
|
|
#include "opal/event/event.h"
|
|
|
|
#include "orte/mca/rmcast/rmcast.h"
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
ORTE_DECLSPEC int orte_rmcast_base_open(void);
|
|
|
|
#if !ORTE_DISABLE_FULL_SUPPORT
|
|
|
|
|
|
/*
|
|
* globals that might be needed
|
|
*/
|
|
typedef struct {
|
|
int rmcast_output;
|
|
opal_list_t rmcast_opened;
|
|
uint32_t xmit_network;
|
|
char *my_group_name;
|
|
uint8_t my_group_number;
|
|
uint32_t interface;
|
|
uint16_t ports[256];
|
|
} orte_rmcast_base_t;
|
|
|
|
ORTE_DECLSPEC extern orte_rmcast_base_t orte_rmcast_base;
|
|
|
|
|
|
/*
|
|
* function definitions
|
|
*/
|
|
ORTE_DECLSPEC int orte_rmcast_base_select(void);
|
|
ORTE_DECLSPEC int orte_rmcast_base_close(void);
|
|
|
|
#endif /* ORTE_DISABLE_FULL_SUPPORT */
|
|
|
|
END_C_DECLS
|
|
|
|
#endif
|