How To Install scorep on Fedora 34

scorep is Scalable Performance Measurement Infrastructure for Parallel Codes

Introduction

In this tutorial we learn how to install scorep on Fedora 34.

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install scorep.

Install scorep on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove scorep

scorep Package Contents on Fedora 34

/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/5c
/usr/lib/.build-id/5c/9baecf7876823904a99eea6ac2033f4e7116bc
/usr/lib/.build-id/61
/usr/lib/.build-id/61/b653d0e71f875bad99fcfcdd671da44d2548a4
/usr/lib/.build-id/89
/usr/lib/.build-id/89/e84b9ded7efc1d83f9bcabfd37a7f3742f4c39
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/2f958d43c4740df4ad157cd3d5fab073ea26fb
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/569d624f4ce9de369a00e96eadd74e592e03dc
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/3f3f06c3c9132debff1a4d5ca1312d95925cd3
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/4206de960c81bde797a8038c3af352d343baa0
/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 Fedora 34 using yum and dnf.