Exploring computer architecture

Experimental html version of Parallel Programming in MPI, OpenMP, and PETSc by Victor Eijkhout. download the textbook at https:/theartofhpc.com/pcse

\[ \newcommand\inv{^{-1}}\newcommand\invt{^{-t}} \newcommand\bbP{\mathbb{P}} \newcommand\bbR{\mathbb{R}} \newcommand\defined{ \mathrel{\lower 5pt \hbox{${\equiv\atop\mathrm{\scriptstyle D}}$}}} \] 44.1 : Tools for discovery
44.1.1 : Intel cpuinfo
44.1.2 : hwloc
Back to Table of Contents

44 Exploring computer architecture

There is much that can be said about computer architecture. However, in the context of parallel programming we are mostly concerned with the following:

44.1 Tools for discovery

crumb trail: > architecture > Tools for discovery

An easy way for discovering the structure of your parallel machine is to use tools that are written especially for this purpose.

44.1.1 Intel cpuinfo

crumb trail: > architecture > Tools for discovery > Intel cpuinfo

The Intel compiler suite comes with a tool cpuinfo that reports on the structure of the node you are running on. It reports on the number of package s, that is: sockets, cores, and threads.

44.1.2 hwloc

crumb trail: > architecture > Tools for discovery > hwloc

The open source package hwloc does similar reporting to cpuinfo, but it has been ported to many platforms. Additionally, it can generate ascii and pdf graphic renderings of the architecture.

Back to Table of Contents