2
* Copyright (c) 2004-2005 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
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.
14
* Additional copyrights may follow
19
#include "opal_config.h"
21
#include "opal/constants.h"
22
#include "opal/mca/maffinity/maffinity.h"
23
#include "maffinity_libnuma.h"
26
* Public string showing the maffinity ompi_libnuma component version number
28
const char *opal_maffinity_libnuma_component_version_string =
29
"OPAL libnuma maffinity MCA component version " OMPI_VERSION;
34
static int libnuma_open(void);
37
* Instantiate the public struct with all of our public information
38
* and pointers to our public functions in it
41
const opal_maffinity_base_component_1_0_0_t mca_maffinity_libnuma_component = {
43
/* First, the mca_component_t struct containing meta information
44
about the component itself */
47
/* Indicate that we are a maffinity v1.0.0 component (which also
48
implies a specific MCA version) */
50
OPAL_MAFFINITY_BASE_VERSION_1_0_0,
52
/* Component name and version */
59
/* Component open and close functions */
65
/* Next the MCA v1.0.0 component meta data */
68
/* Whether the component is checkpointable or not */
75
opal_maffinity_libnuma_component_query
79
static int libnuma_open(void)
81
mca_base_param_reg_int(&mca_maffinity_libnuma_component.maffinityc_version,
83
"Priority of the libnuma maffinity component",
84
false, false, 25, NULL);