Install → Data Collection → PCP
These instructions only apply to resources that will use PCP software. Installation instructions for Prometheus are here.
The PCP software should be installed on each compute node and configured so that data are collected:
- At the start of every job
- 10, 20 and 30 seconds after job start
- Periodically during the job (recommended 30 seconds)
- At the end of every job
The archive data for each node are stored on a shared filesystem for subsequent processing by the job summarization software.
Install the PCP data collector on the compute nodes
The PCP software is included in the official Rocky 8 packages. Builds for other distributions (and earlier versions) are available from the official PCP download page,
The Rocky RPM packages of the summarization software (versions >= 2.0.0) are tested against the version of PCP that is provided with Rocky 8 (PCP version 5.3.7).
For an RPM based install on Rocky 8, the following command will install PCP with all of the associated PMDAs that have been tested with the summarization software:
# dnf install pcp \
pcp-conf \
pcp-libs \
python3-pcp \
perl-PCP-PMDA \
pcp-system-tools \
pcp-pmda-gpfs \
pcp-pmda-lustre \
pcp-pmda-infiniband \
pcp-pmda-mic \
pcp-pmda-nvidia-gpu \
pcp-pmda-nfsclient \
pcp-pmda-perfevent \
pcp-pmda-json
For a source code install follow the instructions on the official PCP site.
Note that the node that runs the summarization software does not need to have all of the PCP data collection components installed. It only requires the python pcp libraries.
Compatibility notes
The summarization software is tested on Rocky 8 with the package version of PCP that is supplied with Rocky 8 (PCP version 5.3.7). In general any version of PCP will work as long as the summarization software is built against the same or newer version of PCP as the version installed on the compute nodes.