Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
c999b0b3
Commit
c999b0b3
authored
3 years ago
by
Robert Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Delete papi_library.md
parent
a8687e43
No related branches found
Branches containing commit
No related tags found
3 merge requests
!322
Merge preview into main
,
!319
Merge preview into main
,
!216
Delete papi_library.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/papi_library.md
+0
-40
0 additions, 40 deletions
doc.zih.tu-dresden.de/docs/software/papi_library.md
with
0 additions
and
40 deletions
doc.zih.tu-dresden.de/docs/software/papi_library.md
deleted
100644 → 0
+
0
−
40
View file @
a8687e43
# PAPI Library
Related work:
*
[
PAPI documentation
](
http://icl.cs.utk.edu/projects/papi/wiki/Main_Page
)
*
[Intel 64 and IA-32 Architectures Software Developers Manual (Per thread/per core PMCs)]
(http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-system-programming-manual-325384.pdf)
Additional sources for
**Haswell**
Processors: [Intel Xeon Processor E5-2600 v3 Product Family Uncore
Performance Monitoring Guide (Uncore PMCs) - Download link]
(http://www.intel.com/content/www/us/en/processors/xeon/xeon-e5-v3-uncore-performance-monitoring.html)
## Introduction
PAPI enables users and developers to monitor how their code performs on a specific architecture. To
do so, they can register events that are counted by the hardware in performance monitoring counters
(PMCs). These counters relate to a specific hardware unit, for example a processor core. Intel
Processors used on taurus support eight PMCs per processor core. As the partitions on taurus are run
with HyperThreading Technology (HTT) enabled, each CPU can use four of these. In addition to the
**four core PMCs**
, Intel processors also support
**a number of uncore PMCs**
for non-core
resources. (see the uncore manuals listed in top of this documentation).
## Usage
[
Score-P
](
scorep.md
)
supports per-core PMCs. To include uncore PMCs into Score-P traces use the
software module
**scorep-uncore/2016-03-29**
on the Haswell partition. If you do so, disable
profiling to include the uncore measurements. This metric plugin is available at
[
github
](
https://github.com/score-p/scorep_plugin_uncore/
)
.
If you want to use PAPI directly in your software, load the latest papi module, which establishes
the environment variables
**PAPI_INC**
,
**PAPI_LIB**
, and
**PAPI_ROOT**
. Have a look at the
[
PAPI documentation
](
http://icl.cs.utk.edu/projects/papi/wiki/Main_Page
)
for details on the usage.
## Related Software
*
[
Score-P
](
scorep.md
)
*
[
Linux Perf Tools
](
perf_tools.md
)
If you just need a short summary of your job, you might want to have a look at
[
perf stat
](
perf_tools.md
)
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment