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
6d3a5b3c
Commit
6d3a5b3c
authored
3 years ago
by
Jan Frenzel
Browse files
Options
Downloads
Patches
Plain Diff
Removed "click here" links from papi.md.
parent
bce1a91d
No related branches found
No related tags found
3 merge requests
!446
docs: Add Jupyter Teaching Example
,
!423
Automated merge from preview to main
,
!420
Reduce the number of forbidden pattern matches further
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc.zih.tu-dresden.de/docs/software/papi.md
+14
-15
14 additions, 15 deletions
doc.zih.tu-dresden.de/docs/software/papi.md
with
14 additions
and
15 deletions
doc.zih.tu-dresden.de/docs/software/papi.md
+
14
−
15
View file @
6d3a5b3c
...
...
@@ -20,8 +20,8 @@ To collect performance events, PAPI provides two APIs, the *high-level* and *low
The high-level API provides the ability to record performance events inside instrumented regions of
serial, multi-processing (MPI, SHMEM) and thread (OpenMP, Pthreads) parallel applications. It is
designed for simplicity, not flexibility.
For m
ore details c
lick
[
here
](
https://bitbucket.org/icl/papi/wiki/PAPI-HL.md
)
.
designed for simplicity, not flexibility.
M
ore details c
an be found in the
[
PAPI wiki High-Level API description
](
https://bitbucket.org/icl/papi/wiki/PAPI-HL.md
)
.
The following code example shows the use of the high-level API by marking a code section.
...
...
@@ -86,19 +86,19 @@ more output files in JSON format.
### Low-Level API
The low-level API manages hardware events in user-defined groups
called Event Sets. It is meant for
experienced application programmers and tool developers wanting
fine-grained measurement and
control of the PAPI interface. It provides access to both PAPI preset
and native events, and
supports all installed components.
For
more details on the
low-level API,
click
[
here
](
https://bitbucket.org/icl/papi/wiki/PAPI-LL.md
)
.
The low-level API manages hardware events in user-defined groups
called Event Sets. It is meant for
experienced application programmers and tool developers wanting
fine-grained measurement and
control of the PAPI interface. It provides access to both PAPI preset
and native events, and
supports all installed components.
The PAPI wiki contains also a page with
more details on the
[
low-level API
](
https://bitbucket.org/icl/papi/wiki/PAPI-LL.md
)
.
## Usage on ZIH Systems
Before you start a PAPI measurement, check which events are available on the desired architecture.
For this purpose PAPI offers the tools
`papi_avail`
and
`papi_native_avail`
. If you want to measure
For this purpose
,
PAPI offers the tools
`papi_avail`
and
`papi_native_avail`
. If you want to measure
multiple events, please check which events can be measured concurrently using the tool
`papi_event_chooser`
.
For more details on the PAPI tools click
[
he
re
](
https://bitbucket.org/icl/papi/wiki/PAPI-Overview.md#markdown-header-papi-utilities
)
.
`papi_event_chooser`
.
The PAPI wiki contains more details on
[
t
he
PAPI tools
](
https://bitbucket.org/icl/papi/wiki/PAPI-Overview.md#markdown-header-papi-utilities
)
.
!!! hint
...
...
@@ -133,8 +133,7 @@ compile your application against the PAPI library.
!!! hint
The PAPI modules on ZIH systems are only installed with the default `perf_event` component. If you
want to measure, e.g., GPU events, you have to install your own PAPI. Instructions on how to
download and install PAPI can be found
[here](https://bitbucket.org/icl/papi/wiki/Downloading-and-Installing-PAPI.md). To install PAPI
with additional components, you have to specify them during configure, for details click
[here](https://bitbucket.org/icl/papi/wiki/PAPI-Overview.md#markdown-header-components).
want to measure, e.g., GPU events, you have to install your own PAPI. Please see the
[external instructions on how to download and install PAPI](https://bitbucket.org/icl/papi/wiki/Downloading-and-Installing-PAPI.md).
To install PAPI with additional components, you have to specify them during configure as
described for the [Installation of Components](https://bitbucket.org/icl/papi/wiki/PAPI-Overview.md#markdown-header-components).
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