1
1
Ralph Castain 40a2bfa238 WARNING: Work on the temp branch being merged here encountered problems with bugs in subversion. Considerable effort has gone into validating the branch. However, not all conditions can be checked, so users are cautioned that it may be advisable to not update from the trunk for a few days to allow MTT to identify platform-specific issues.
This merges the branch containing the revamped build system based around converting autogen from a bash script to a Perl program. Jeff has provided emails explaining the features contained in the change.

Please note that configure requirements on components HAVE CHANGED. For example. a configure.params file is no longer required in each component directory. See Jeff's emails for an explanation.

This commit was SVN r23764.
2010-09-17 23:04:06 +00:00

56 строки
1.7 KiB
C

/*
* Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef __INCLUDE_VPROTOCOL_BASE_H_
#define __INCLUDE_VPROTOCOL_BASE_H_
#include "ompi_config.h"
#include "ompi/constants.h"
#include "opal/mca/mca.h"
#include "ompi/mca/vprotocol/vprotocol.h"
BEGIN_C_DECLS
OMPI_DECLSPEC int mca_vprotocol_base_open(char *vprotocol_include_list);
OMPI_DECLSPEC int mca_vprotocol_base_select(bool enable_progress_threads,
bool enable_mpi_threads);
OMPI_DECLSPEC int mca_vprotocol_base_parasite(void);
OMPI_DECLSPEC int mca_vprotocol_base_close(void);
OMPI_DECLSPEC extern char *mca_vprotocol_base_include_list;
OMPI_DECLSPEC extern opal_list_t mca_vprotocol_base_components_available;
OMPI_DECLSPEC extern mca_vprotocol_base_component_t mca_vprotocol_component;
OMPI_DECLSPEC extern mca_vprotocol_base_module_t mca_vprotocol;
/* Macro for use in components that are of type vprotocol
*/
#define MCA_VPROTOCOL_BASE_VERSION_2_0_0 \
MCA_BASE_VERSION_2_0_0, \
"vprotocol", 2, 0, 0
/* Macro to mark an invalid component version (0.0.0). Any component showing
* that version number will be ignored.
*/
#define MCA_VPROTOCOL_BASE_VERSION_0_0_0 \
/* vprotocol v0.0 is chained to MCA v2.0 */ \
MCA_BASE_VERSION_2_0_0, \
/* vprotocol v0.0 */ \
"vprotocol", 0, 0, 0
#define mca_vprotocol_base_selected() ( \
0 != mca_vprotocol_component.pmlm_version.mca_type_major_version \
)
END_C_DECLS
#endif /* __INCLUDE_VPROTOCOL_BASE_H_ */