12.1. Installing Valgrind

In Red Hat Developer Toolset, Valgrind is provided by the devtoolset-4-valgrind package and is automatically installed with devtoolset-4-perftools. If you intend to use Valgrind to profile parallel programs that use the Message Passing Interface (MPI) protocol, also install the devtoolset-4-valgrind-openmpi package by typing the following at a shell prompt as root:
yum install devtoolset-4-valgrind-openmpi
For detailed instructions on how to install Red Hat Developer Toolset and related packages to your system, see Section 1.5, “Installing Red Hat Developer Toolset”.

Note

Note that if you use Valgrind in combination with the GNU Debugger, it is recommended that you use the version of GDB that is included in Red Hat Developer Toolset to ensure that all features are fully supported.