35a2af28d1
There are more details in the code regarding how to use this feature. Also shift a few of the orte_output back to opal_output. I'm experiencing an odd problem with locks in the oob/tcp when using orte_output. I haven't had time to track it down yet. This commit was SVN r18439.
71 строка
1.8 KiB
C
71 строка
1.8 KiB
C
/*
|
|
* Copyright (c) 2004-2008 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 (c) 2004-2005 The Regents of the University of California.
|
|
* All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* Coord CRCP component
|
|
*
|
|
*/
|
|
|
|
#ifndef MCA_CRCP_COORD_EXPORT_H
|
|
#define MCA_CRCP_COORD_EXPORT_H
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "opal/mca/mca.h"
|
|
#include "ompi/mca/crcp/crcp.h"
|
|
#include "ompi/communicator/communicator.h"
|
|
#include "opal/runtime/opal_cr.h"
|
|
#include "opal/threads/mutex.h"
|
|
#include "opal/threads/condition.h"
|
|
#include MCA_timer_IMPLEMENTATION_HEADER
|
|
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Local Component structures
|
|
*/
|
|
struct ompi_crcp_coord_component_t {
|
|
ompi_crcp_base_component_t super; /** Base CRCP component */
|
|
};
|
|
typedef struct ompi_crcp_coord_component_t ompi_crcp_coord_component_t;
|
|
OMPI_MODULE_DECLSPEC extern ompi_crcp_coord_component_t mca_crcp_coord_component;
|
|
|
|
/*
|
|
* Local variables
|
|
*/
|
|
extern int timing_enabled;
|
|
|
|
/*
|
|
* Module functions
|
|
*/
|
|
int ompi_crcp_coord_component_query(mca_base_module_t **module, int *priority);
|
|
int ompi_crcp_coord_module_init(void);
|
|
int ompi_crcp_coord_module_finalize(void);
|
|
|
|
int ompi_crcp_coord_pml_init(void);
|
|
int ompi_crcp_coord_pml_finalize(void);
|
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif /* MCA_CRCP_COORD_EXPORT_H */
|