How To Install opari2 on CentOS 8
Introduction
In this tutorial we learn how to install opari2
on CentOS 8.
What is opari2
OPARI2 is a source-to-source instrumentation tool for OpenMP and hybrid codes. It surrounds OpenMP directives and runtime library calls with calls to the POMP2 measurement interface. OPARI2 will provide you with a new initialization method that allows for multi-directory and parallel builds as well as the usage of pre-instrumented libraries. Furthermore, an efficient way of tracking parent-child relationships was added. Additionally, we extended OPARI2 to support instrumentation of OpenMP 3.0 tied tasks.
We can use yum
or dnf
to install opari2
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install opari2.
Install opari2 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 opari2
using dnf
by running the following command:
sudo dnf -y install opari2
Install opari2 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 opari2
using yum
by running the following command:
sudo yum -y install opari2
How To Uninstall opari2 on CentOS 8
To uninstall only the opari2
package we can use the following command:
sudo dnf remove opari2
opari2 Package Contents on CentOS 8
/usr/bin/opari2
/usr/bin/opari2-config
/usr/include/opari2
/usr/include/opari2/pomp2_lib.h
/usr/include/opari2/pomp2_user_lib.h
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/1e7779ad4247c6319b716d7779f0887e4f15a9
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/97a6ff45afebbb02902b48943956f936b7d131
/usr/libexec/pomp2-parse-init-regions.awk
/usr/share/doc/opari2
/usr/share/doc/opari2/AUTHORS
/usr/share/doc/opari2/ChangeLog
/usr/share/doc/opari2/OPEN_ISSUES
/usr/share/doc/opari2/README
/usr/share/doc/opari2/example
/usr/share/doc/opari2/example/Makefile
/usr/share/doc/opari2/example/example.c
/usr/share/doc/opari2/example/example.f90
/usr/share/doc/opari2/example/pomp2_lib.h
/usr/share/doc/opari2/example_user_instrumentation
/usr/share/doc/opari2/example_user_instrumentation/Makefile
/usr/share/doc/opari2/example_user_instrumentation/example_user_instrumentation.c
/usr/share/doc/opari2/example_user_instrumentation/example_user_instrumentation.f90
/usr/share/doc/opari2/example_user_instrumentation/pomp2_user_lib.h
/usr/share/doc/opari2/html
/usr/share/doc/opari2/html/CTC_STRING.html
/usr/share/doc/opari2/html/EXAMPLE.html
/usr/share/doc/opari2/html/INSTALL.html
/usr/share/doc/opari2/html/LINKING.html
/usr/share/doc/opari2/html/NEWS.html
/usr/share/doc/opari2/html/POMP_USER.html
/usr/share/doc/opari2/html/USAGE.html
/usr/share/doc/opari2/html/annotated.html
/usr/share/doc/opari2/html/arrowdown.png
/usr/share/doc/opari2/html/arrowright.png
/usr/share/doc/opari2/html/bc_s.png
/usr/share/doc/opari2/html/bdwn.png
/usr/share/doc/opari2/html/classes.html
/usr/share/doc/opari2/html/closed.png
/usr/share/doc/opari2/html/dir_3fa5e3bb0600f7312fa4afe76654231b.html
/usr/share/doc/opari2/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
/usr/share/doc/opari2/html/dir_d44c64559bbebec7f509842c48db8b23.html
/usr/share/doc/opari2/html/dir_f9c4fff957ad579fd361e61a255935f9.html
/usr/share/doc/opari2/html/doc.png
/usr/share/doc/opari2/html/doxygen.css
/usr/share/doc/opari2/html/doxygen.png
/usr/share/doc/opari2/html/dynsections.js
/usr/share/doc/opari2/html/files.html
/usr/share/doc/opari2/html/folderclosed.png
/usr/share/doc/opari2/html/folderopen.png
/usr/share/doc/opari2/html/functions.html
/usr/share/doc/opari2/html/functions_vars.html
/usr/share/doc/opari2/html/globals.html
/usr/share/doc/opari2/html/globals_defs.html
/usr/share/doc/opari2/html/globals_enum.html
/usr/share/doc/opari2/html/globals_func.html
/usr/share/doc/opari2/html/globals_type.html
/usr/share/doc/opari2/html/graph_legend.html
/usr/share/doc/opari2/html/graph_legend.md5
/usr/share/doc/opari2/html/graph_legend.png
/usr/share/doc/opari2/html/index.html
/usr/share/doc/opari2/html/installationfile.html
/usr/share/doc/opari2/html/jquery.js
/usr/share/doc/opari2/html/nav_f.png
/usr/share/doc/opari2/html/nav_g.png
/usr/share/doc/opari2/html/nav_h.png
/usr/share/doc/opari2/html/opari2__region__info_8h.html
/usr/share/doc/opari2/html/opari2__region__info_8h_source.html
/usr/share/doc/opari2/html/open.png
/usr/share/doc/opari2/html/pages.html
/usr/share/doc/opari2/html/pomp2__lib_8h.html
/usr/share/doc/opari2/html/pomp2__lib_8h_source.html
/usr/share/doc/opari2/html/pomp2__region__info_8h.html
/usr/share/doc/opari2/html/pomp2__region__info_8h_source.html
/usr/share/doc/opari2/html/pomp2__user__lib_8h.html
/usr/share/doc/opari2/html/pomp2__user__lib_8h_source.html
/usr/share/doc/opari2/html/pomp2__user__region__info_8h.html
/usr/share/doc/opari2/html/pomp2__user__region__info_8h_source.html
/usr/share/doc/opari2/html/project_logo.pdf
/usr/share/doc/opari2/html/project_logo.svg
/usr/share/doc/opari2/html/search
/usr/share/doc/opari2/html/search/all_0.html
/usr/share/doc/opari2/html/search/all_0.js
/usr/share/doc/opari2/html/search/all_1.html
/usr/share/doc/opari2/html/search/all_1.js
/usr/share/doc/opari2/html/search/all_2.html
/usr/share/doc/opari2/html/search/all_2.js
/usr/share/doc/opari2/html/search/all_3.html
/usr/share/doc/opari2/html/search/all_3.js
/usr/share/doc/opari2/html/search/all_4.html
/usr/share/doc/opari2/html/search/all_4.js
/usr/share/doc/opari2/html/search/all_5.html
/usr/share/doc/opari2/html/search/all_5.js
/usr/share/doc/opari2/html/search/all_6.html
/usr/share/doc/opari2/html/search/all_6.js
/usr/share/doc/opari2/html/search/all_7.html
/usr/share/doc/opari2/html/search/all_7.js
/usr/share/doc/opari2/html/search/all_8.html
/usr/share/doc/opari2/html/search/all_8.js
/usr/share/doc/opari2/html/search/classes_0.html
/usr/share/doc/opari2/html/search/classes_0.js
/usr/share/doc/opari2/html/search/classes_1.html
/usr/share/doc/opari2/html/search/classes_1.js
/usr/share/doc/opari2/html/search/close.png
/usr/share/doc/opari2/html/search/defines_0.html
/usr/share/doc/opari2/html/search/defines_0.js
/usr/share/doc/opari2/html/search/enums_0.html
/usr/share/doc/opari2/html/search/enums_0.js
/usr/share/doc/opari2/html/search/files_0.html
/usr/share/doc/opari2/html/search/files_0.js
/usr/share/doc/opari2/html/search/files_1.html
/usr/share/doc/opari2/html/search/files_1.js
/usr/share/doc/opari2/html/search/functions_0.html
/usr/share/doc/opari2/html/search/functions_0.js
/usr/share/doc/opari2/html/search/functions_1.html
/usr/share/doc/opari2/html/search/functions_1.js
/usr/share/doc/opari2/html/search/functions_2.html
/usr/share/doc/opari2/html/search/functions_2.js
/usr/share/doc/opari2/html/search/mag_sel.png
/usr/share/doc/opari2/html/search/nomatches.html
/usr/share/doc/opari2/html/search/pages_0.html
/usr/share/doc/opari2/html/search/pages_0.js
/usr/share/doc/opari2/html/search/pages_1.html
/usr/share/doc/opari2/html/search/pages_1.js
/usr/share/doc/opari2/html/search/pages_2.html
/usr/share/doc/opari2/html/search/pages_2.js
/usr/share/doc/opari2/html/search/pages_3.html
/usr/share/doc/opari2/html/search/pages_3.js
/usr/share/doc/opari2/html/search/pages_4.html
/usr/share/doc/opari2/html/search/pages_4.js
/usr/share/doc/opari2/html/search/pages_5.html
/usr/share/doc/opari2/html/search/pages_5.js
/usr/share/doc/opari2/html/search/pages_6.html
/usr/share/doc/opari2/html/search/pages_6.js
/usr/share/doc/opari2/html/search/search.css
/usr/share/doc/opari2/html/search/search.js
/usr/share/doc/opari2/html/search/search_l.png
/usr/share/doc/opari2/html/search/search_m.png
/usr/share/doc/opari2/html/search/search_r.png
/usr/share/doc/opari2/html/search/searchdata.js
/usr/share/doc/opari2/html/search/typedefs_0.html
/usr/share/doc/opari2/html/search/typedefs_0.js
/usr/share/doc/opari2/html/search/variables_0.html
/usr/share/doc/opari2/html/search/variables_0.js
/usr/share/doc/opari2/html/splitbar.png
/usr/share/doc/opari2/html/structOPARI2__Region__info.html
/usr/share/doc/opari2/html/structPOMP2__Region__info.html
/usr/share/doc/opari2/html/structPOMP2__USER__Region__info.html
/usr/share/doc/opari2/html/sync_off.png
/usr/share/doc/opari2/html/sync_on.png
/usr/share/doc/opari2/html/tab_a.png
/usr/share/doc/opari2/html/tab_b.png
/usr/share/doc/opari2/html/tab_h.png
/usr/share/doc/opari2/html/tab_s.png
/usr/share/doc/opari2/html/tabs.css
/usr/share/doc/opari2/pdf
/usr/share/doc/opari2/pdf/opari2.pdf
/usr/share/doc/opari2/tags
/usr/share/doc/opari2/tags/opari2.tag
/usr/share/licenses/opari2
/usr/share/licenses/opari2/COPYING
/usr/share/opari2
/usr/share/opari2/devel
/usr/share/opari2/devel/opari2_ctc_parser.c
/usr/share/opari2/devel/opari2_ctc_parser.h
/usr/share/opari2/devel/opari2_ctc_token.h
/usr/share/opari2/devel/opari2_region_info.h
/usr/share/opari2/devel/pomp2_region_info.c
/usr/share/opari2/devel/pomp2_region_info.h
/usr/share/opari2/devel/pomp2_user_region_info.c
/usr/share/opari2/devel/pomp2_user_region_info.h
References
Summary
In this tutorial we learn how to install opari2
on CentOS 8 using yum and dnf.