This source file includes following definitions.
- opal_shmem_base_register
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 #include "opal_config.h"
23
24 #include "opal/constants.h"
25 #include "opal/util/output.h"
26 #include "opal/mca/mca.h"
27 #include "opal/mca/base/base.h"
28 #include "opal/mca/base/mca_base_var.h"
29 #include "opal/mca/shmem/shmem.h"
30 #include "opal/mca/shmem/base/base.h"
31
32
33
34
35
36
37 #include "opal/mca/shmem/base/static-components.h"
38
39
40
41
42 char *opal_shmem_base_RUNTIME_QUERY_hint = NULL;
43
44
45
46
47
48 static int
49 opal_shmem_base_register (mca_base_register_flag_t flags)
50 {
51 int ret;
52
53
54
55
56 opal_shmem_base_RUNTIME_QUERY_hint = NULL;
57 ret = mca_base_framework_var_register (&opal_shmem_base_framework, "RUNTIME_QUERY_hint",
58 "Internal OMPI parameter used to provide a "
59 "component selection hint to the shmem "
60 "framework. The value of this parameter "
61 "is the name of the component that is "
62 "available, selectable, and meets our "
63 "run-time behavior requirements.",
64 MCA_BASE_VAR_TYPE_STRING, NULL, 0,
65 MCA_BASE_VAR_FLAG_INTERNAL,
66 OPAL_INFO_LVL_9, MCA_BASE_VAR_SCOPE_ALL,
67 &opal_shmem_base_RUNTIME_QUERY_hint);
68
69 return (0 > ret) ? ret : OPAL_SUCCESS;
70 }
71
72
73 MCA_BASE_FRAMEWORK_DECLARE(opal, shmem, "shared memory", opal_shmem_base_register, NULL,
74 opal_shmem_base_close, mca_shmem_base_static_components, 0);