- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
MpiP: Difference between revisions
(→Usage) |
(→Usage) |
||
Line 26: | Line 26: | ||
The behaviour of mpiP is controlled by options provided via the `MPIP` environment variable. | The behaviour of mpiP is controlled by options provided via the `MPIP` environment variable. | ||
See the mpiP documentation for a detailed description of all options. The wrapper on Hawk sets sensible defaults already. | See the mpiP documentation for a detailed description of all options. The wrapper on Hawk sets sensible defaults already. But you may override those by exporting your own config as | ||
{{Command|command= export MPIP="CONFIG HERE"; mpirun $MPIP_HOME/../share/trace-mpiP.sh <your_app and options>}} | |||
or copy the wrapper script and adapt it to your needs if necessary. | |||
== See also == | == See also == |
Revision as of 17:06, 16 March 2023
The mpiP library is a light-weight profiling library for MPI applications.
To record an MPI profile, simply run the program with the mpiP library preloaded. |
|
Note, this page is outdated
Introduction
Usage
First load the related software module
which will set the '$MPIP_HOME' variable to the latest mpiP installation path.
The tools mpiP needs to be _attached_ to you application through the "LD_PRELOAD" mechanism. On Hawk in most cases it is sufficient to use the provided wrapper script as
This will create one or two files with file extension `.mpiP` in the folder. Those files include a consice performance report (`*.1.mpiP`) and an extensive performance report (`*.2.mpiP`), respectively.
The behaviour of mpiP is controlled by options provided via the `MPIP` environment variable. See the mpiP documentation for a detailed description of all options. The wrapper on Hawk sets sensible defaults already. But you may override those by exporting your own config as
or copy the wrapper script and adapt it to your needs if necessary.