OpenMPI  0.1.1
carto_auto_detect.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2005 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
13  *
14  * $COPYRIGHT$
15  *
16  * Additional copyrights may follow
17  *
18  * $HEADER$
19  */
20 
21 /**
22  * @file
23  *
24  * The auto detect component discover automaticly the structure
25  * of the host.
26  */
27 
28 #ifndef MCA_CARTO_AUTO_DETECT_H
29 #define MCA_CARTO_AUTO_DETECT_H
30 
31 #include "opal_config.h"
32 
33 #include "opal/mca/mca.h"
34 #include "opal/mca/carto/carto.h"
35 
36 BEGIN_C_DECLS
37 
38 /**
39  * Globally exported variable
40  */
41 OPAL_DECLSPEC extern const opal_carto_base_component_2_0_0_t
43 
44 
45 /**
46  * carto query API function
47  *
48  * Query function for carto components. Simply returns a priority
49  * to rank it against other available carto components (assumedly,
50  * only one component will be available per platform, but it's
51  * possible that there could be more than one available).
52  */
54 
55 END_C_DECLS
56 
57 #endif /* MCA_CARTO_FILE_EXPORT_H */
58 
Common type for all MCA modules.
Definition: mca.h:100
The carto framework suplies an information of the the host structure and connection between the host ...
Structure for carto components.
Definition: carto.h:118
Top-level interface for all MCA components.
int opal_carto_auto_detect_component_query(mca_base_module_t **module, int *priority)
carto query API function
Definition: carto_auto_detect_module.c:62
BEGIN_C_DECLS OPAL_DECLSPEC const opal_carto_base_component_2_0_0_t mca_carto_auto_detect_component
Globally exported variable.
Definition: carto_auto_detect_component.c:48