How To Install scorep on CentOS 8

scorep is Scalable Performance Measurement Infrastructure for Parallel Codes

Introduction

In this tutorial we learn how to install scorep on CentOS 8.

What is scorep

The Score-P (Scalable Performance Measurement Infrastructure for Parallel Codes) measurement infrastructure is a highly scalable and easy-to-use tool suite for profiling, event trace recording, and online analysis of HPC applications.

We can use yum or dnf to install scorep on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install scorep.

Install scorep on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install scorep using dnf by running the following command:

sudo dnf -y install scorep

Install scorep on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install scorep using yum by running the following command:

sudo yum -y install scorep

How To Uninstall scorep on CentOS 8

To uninstall only the scorep package we can use the following command:

sudo dnf remove scorep

scorep Package Contents on CentOS 8

/usr/bin/scorep
/usr/bin/scorep-backend-info
/usr/bin/scorep-g++
/usr/bin/scorep-gcc
/usr/bin/scorep-gfortran
/usr/bin/scorep-info
/usr/bin/scorep-libwrap-init
/usr/bin/scorep-online-access-registry
/usr/bin/scorep-preload-init
/usr/bin/scorep-score
/usr/bin/scorep-wrapper
/usr/include/scorep
/usr/include/scorep/SCOREP_Libwrap.h
/usr/include/scorep/SCOREP_Libwrap_Macros.h
/usr/include/scorep/SCOREP_MetricPlugins.h
/usr/include/scorep/SCOREP_MetricTypes.h
/usr/include/scorep/SCOREP_PublicHandles.h
/usr/include/scorep/SCOREP_PublicTypes.h
/usr/include/scorep/SCOREP_Score_Estimator.hpp
/usr/include/scorep/SCOREP_Score_Event.hpp
/usr/include/scorep/SCOREP_Score_Group.hpp
/usr/include/scorep/SCOREP_Score_Profile.hpp
/usr/include/scorep/SCOREP_Score_Types.hpp
/usr/include/scorep/SCOREP_SubstrateEvents.h
/usr/include/scorep/SCOREP_SubstratePlugins.h
/usr/include/scorep/SCOREP_Tau.h
/usr/include/scorep/SCOREP_User.h
/usr/include/scorep/SCOREP_User.inc
/usr/include/scorep/SCOREP_User_Functions.h
/usr/include/scorep/SCOREP_User_Types.h
/usr/include/scorep/SCOREP_User_Variables.h
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/146885e1ad26cab4441a9c8c3befd4ea72e3a9
/usr/lib/.build-id/55
/usr/lib/.build-id/55/c20201b233c5c3ae237b1547ac13a495497eb8
/usr/lib/.build-id/57
/usr/lib/.build-id/57/cec5c1a1942de5c8c7d4c10538c2918d82a6c7
/usr/lib/.build-id/78
/usr/lib/.build-id/78/058c97dfa2aa01a5d4ed3fa87301311d6d4a20
/usr/lib/.build-id/82
/usr/lib/.build-id/82/a4707f096599b9378e8f5bbdf637a617ad483f
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/7f4fe3c6e967960ffd99671a8fa2d0335f841e
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/9590c693f8989602e1983e8201d7fefed983e8
/usr/lib64/scorep
/usr/lib64/scorep/scorep_compiler_gcc_plugin_begin.o
/usr/lib64/scorep/scorep_compiler_gcc_plugin_end.o
/usr/lib64/scorep/scorep_constructor.o
/usr/lib64/scorep/scorep_instrument_function.so
/usr/libexec/scorep
/usr/libexec/scorep/libtool
/usr/libexec/scorep/mpi
/usr/libexec/scorep/mpi/libtool
/usr/libexec/scorep/scorep-library-wrapper-generator
/usr/libexec/scorep/shmem
/usr/libexec/scorep/shmem/libtool
/usr/share/doc/scorep
/usr/share/doc/scorep/AUTHORS
/usr/share/doc/scorep/ChangeLog
/usr/share/doc/scorep/OPEN_ISSUES
/usr/share/doc/scorep/README
/usr/share/doc/scorep/THANKS
/usr/share/licenses/scorep
/usr/share/licenses/scorep/COPYING

References

Summary

In this tutorial we learn how to install scorep on CentOS 8 using yum and dnf.