This source file includes following definitions.
- pmix_pdl_base_select
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 #include <src/include/pmix_config.h>
17
18 #ifdef HAVE_UNISTD_H
19 #include "unistd.h"
20 #endif
21
22 #include "pmix_common.h"
23 #include "src/util/output.h"
24 #include "src/mca/mca.h"
25 #include "src/mca/base/base.h"
26 #include "src/mca/pdl/pdl.h"
27 #include "src/mca/pdl/base/base.h"
28
29
30 int pmix_pdl_base_select(void)
31 {
32 int exit_status = PMIX_SUCCESS;
33 pmix_pdl_base_component_t *best_component = NULL;
34 pmix_pdl_base_module_t *best_module = NULL;
35
36
37
38
39 if (PMIX_SUCCESS != pmix_mca_base_select("pdl",
40 pmix_pdl_base_framework.framework_output,
41 &pmix_pdl_base_framework.framework_components,
42 (pmix_mca_base_module_t **) &best_module,
43 (pmix_mca_base_component_t **) &best_component, NULL) ) {
44
45 exit_status = PMIX_ERROR;
46 goto cleanup;
47 }
48
49
50 pmix_pdl_base_selected_component = best_component;
51 pmix_pdl = best_module;
52
53 cleanup:
54 return exit_status;
55 }