forked from open-mpi/hwloc
-
Notifications
You must be signed in to change notification settings - Fork 0
Hardware locality (hwloc)
License
dash-project/hwloc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Introduction The Hardware Locality (hwloc) software project aims at easing the process of discovering hardware resources in parallel architectures. It offers command-line tools and a C API for consulting these resources, their locality, attributes, and interconnection. hwloc primarily aims at helping high-performance computing (HPC) applications, but is also applicable to any project seeking to exploit code and/or data locality on modern computing platforms. hwloc is actually made of two subprojects distributed together: * The original hwloc project for describing the internals of computing nodes. It is described in details between sections Hardware Locality (hwloc) Introduction and Network Locality (netloc). * The network-oriented companion called netloc (Network Locality), described in details starting at section Network Locality (netloc). Netloc may be disabled, but the original hwloc cannot. Both hwloc and netloc APIs are documented after these sections. Installation hwloc (http://www.open-mpi.org/projects/hwloc/) is available under the BSD license. It is hosted as a sub-project of the overall Open MPI project (http:// www.open-mpi.org/). Note that hwloc does not require any functionality from Open MPI -- it is a wholly separate (and much smaller!) project and code base. It just happens to be hosted as part of the overall Open MPI project. Nightly development snapshots are available on the web site. Additionally, the code can be directly cloned from Git: shell$ git clone https://github.com/open-mpi/hwloc.git shell$ cd hwloc shell$ ./autogen.sh Note that GNU Autoconf >=2.63, Automake >=1.11 and Libtool >=2.2.6 are required when building from a Git clone. Installation by itself is the fairly common GNU-based process: shell$ ./configure --prefix=... shell$ make shell$ make install hwloc- and netloc-specific configure options and requirements are documented in sections hwloc Installation and Netloc Installation respectively. Also note that if you install supplemental libraries in non-standard locations, hwloc's configure script may not be able to find them without some help. You may need to specify additional CPPFLAGS, LDFLAGS, or PKG_CONFIG_PATH values on the configure command line. For example, if libpciaccess was installed into /opt/pciaccess, hwloc's configure script may not find it be default. Try adding PKG_CONFIG_PATH to the ./configure command line, like this: ./configure PKG_CONFIG_PATH=/opt/pciaccess/lib/pkgconfig ... Running the "lstopo" tool is a good way to check as a graphical output whether hwloc properly detected the architecture of your node. Netloc command-line tools can be used to display the network topology interconnecting your nodes. See https://www.open-mpi.org/projects/hwloc/doc/ for more hwloc documentation.
About
Hardware locality (hwloc)
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 47.1%
- JavaScript 42.3%
- M4 2.7%
- Shell 2.3%
- Roff 2.1%
- Makefile 1.2%
- Other 2.3%