Portable Hardware Locality (hwloc) Documentation: v2.1.0
|
Home
|
Support
|
FAQ
|
About
Presentations
Open MPI Team
FAQ
Videos
Performance
Open MPI Software
Download
Documentation
Source Code Access
Bug Tracking
Regression Testing
Version Information
Sub-Projects
Hardware Locality
Download v2.11 (stable)
Download v2.10 (old)
Download v2.9 (older)
Download ancient
Documentation
Tutorials
Best of lstopo
XML topology database
License
Mailing lists
Bug tracking
Git access
Nightly snapshots
Network Locality
MPI Testing Tool
Open Tool for Parameter Optimization
Community
Mailing Lists
Getting Help/Support
Contribute
Contact
License
include
netloc.h
1
/*
2
* Copyright © 2013-2014 Cisco Systems, Inc. All rights reserved.
3
* Copyright © 2013-2014 University of Wisconsin-La Crosse.
4
* All rights reserved.
5
* Copyright © 2015-2016 Inria. All rights reserved.
6
*
7
* $COPYRIGHT$
8
*
9
* Additional copyrights may follow
10
* See COPYING in top-level directory.
11
*
12
* $HEADER$
13
*/
14
15
#ifndef _NETLOC_H_
16
#define _NETLOC_H_
17
18
#ifndef _GNU_SOURCE
19
#define _GNU_SOURCE // for asprintf
20
#endif
21
22
#include <hwloc/autogen/config.h>
23
24
#include <hwloc.h>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
36
enum
{
37
NETLOC_SUCCESS
= 0,
38
NETLOC_ERROR
= -1,
39
NETLOC_ERROR_NOTDIR
= -2,
40
NETLOC_ERROR_NOENT
= -3,
41
NETLOC_ERROR_EMPTY
= -4,
42
NETLOC_ERROR_MULTIPLE
= -5,
43
NETLOC_ERROR_NOT_IMPL
= -6,
44
NETLOC_ERROR_EXISTS
= -7,
45
NETLOC_ERROR_NOT_FOUND
= -8,
46
NETLOC_ERROR_MAX
= -9
47
};
48
49
50
#ifdef __cplusplus
51
}
/* extern "C" */
52
#endif
53
56
#endif // _NETLOC_H_
NETLOC_SUCCESS
Definition:
netloc.h:37
NETLOC_ERROR_MULTIPLE
Definition:
netloc.h:42
NETLOC_ERROR
Definition:
netloc.h:38
NETLOC_ERROR_NOT_IMPL
Definition:
netloc.h:43
NETLOC_ERROR_MAX
Definition:
netloc.h:46
NETLOC_ERROR_NOTDIR
Definition:
netloc.h:39
NETLOC_ERROR_EXISTS
Definition:
netloc.h:44
NETLOC_ERROR_NOT_FOUND
Definition:
netloc.h:45
NETLOC_ERROR_EMPTY
Definition:
netloc.h:41
NETLOC_ERROR_NOENT
Definition:
netloc.h:40
Open MPI is an Associated Project
of the
Software in the Public Interest
non-profit organization
Page last modified: 3-Oct-2019
©2004-2024 The Open MPI Project