• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

config/H14-Jun-2021-30,08624,397

contrib/H14-Jun-2021-8,4817,136

doc/H03-May-2022-29,58625,590

hwloc/H03-May-2022-41,70932,516

include/H03-May-2022-15,5937,265

netloc/H03-May-2022-3,7492,902

tests/H03-May-2022-58,16353,473

utils/H03-May-2022-33,70928,491

AUTHORSH A D07-Jun-20211.5 KiB4642

COPYINGH A D07-Jun-20212.5 KiB4037

Makefile.amH A D07-Jun-20213.1 KiB10365

Makefile.inH A D03-May-202238.4 KiB1,126986

NEWSH A D07-Jun-202190.5 KiB1,8971,755

READMEH A D14-Jun-20213.3 KiB8658

VERSIONH A D14-Jun-20211.7 KiB4834

aclocal.m4H A D14-Jun-202143.3 KiB1,2061,097

configureH A D03-May-20221 MiB36,02430,440

configure.acH A D08-Jun-20219.7 KiB289234

hwloc.pc.inH A D07-Jun-2021351 1311

netloc.pc.inH A D07-Jun-2021264 1210

netlocscotch.pc.inH A D07-Jun-2021276 1210

README

1Introduction
2
3The Hardware Locality (hwloc) software project aims at easing the process of
4discovering hardware resources in parallel architectures. It offers
5command-line tools and a C API for consulting these resources, their locality,
6attributes, and interconnection. hwloc primarily aims at helping
7high-performance computing (HPC) applications, but is also applicable to any
8project seeking to exploit code and/or data locality on modern computing
9platforms.
10
11hwloc is actually made of two subprojects distributed together:
12
13  * The original hwloc project for describing the internals of computing nodes.
14 It is described in details starting at section Hardware Locality (hwloc)
15 Introduction.
16  * The network-oriented companion called netloc (Network Locality), described
17 in details starting with section Network Locality (netloc).
18
19See also the Related pages tab above for links to other sections.
20
21Netloc may be disabled, but the original hwloc cannot. Both hwloc and netloc
22APIs are documented after these sections.
23
24Installation
25
26hwloc (https://www.open-mpi.org/projects/hwloc/) is available under the BSD
27license. It is hosted as a sub-project of the overall Open MPI project (https:/
28/www.open-mpi.org/). Note that hwloc does not require any functionality from
29Open MPI -- it is a wholly separate (and much smaller!) project and code base.
30It just happens to be hosted as part of the overall Open MPI project.
31
32Basic Installation
33
34Installation is the fairly common GNU-based process:
35
36shell$ ./configure --prefix=...
37shell$ make
38shell$ make install
39
40hwloc- and netloc-specific configure options and requirements are documented in
41sections hwloc Installation and Netloc Installation respectively.
42
43Also note that if you install supplemental libraries in non-standard locations,
44hwloc's configure script may not be able to find them without some help. You
45may need to specify additional CPPFLAGS, LDFLAGS, or PKG_CONFIG_PATH values on
46the configure command line.
47
48For example, if libpciaccess was installed into /opt/pciaccess, hwloc's
49configure script may not find it be default. Try adding PKG_CONFIG_PATH to the
50./configure command line, like this:
51
52./configure PKG_CONFIG_PATH=/opt/pciaccess/lib/pkgconfig ...
53
54Running the "lstopo" tool is a good way to check as a graphical output whether
55hwloc properly detected the architecture of your node. Netloc command-line
56tools can be used to display the network topology interconnecting your nodes.
57
58Installing from a Git clone
59
60Additionally, the code can be directly cloned from Git:
61
62shell$ git clone https://github.com/open-mpi/hwloc.git
63shell$ cd hwloc
64shell$ ./autogen.sh
65
66Note that GNU Autoconf >=2.63, Automake >=1.11 and Libtool >=2.2.6 are required
67when building from a Git clone.
68
69Nightly development snapshots are available on the web site, they can be
70configured and built without any need for Git or GNU Autotools.
71
72Questions and Bugs
73
74Bugs should be reported in the tracker (https://github.com/open-mpi/hwloc/
75issues). Opening a new issue automatically displays lots of hints about how to
76debug and report issues.
77
78Questions may be sent to the users or developers mailing lists (https://
79www.open-mpi.org/community/lists/hwloc.php).
80
81There is also a #hwloc IRC channel on Freenode (irc.freenode.net).
82
83
84
85See https://www.open-mpi.org/projects/hwloc/doc/ for more hwloc documentation.
86