- 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 -
Darshan: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
=== Running program with Darshan instrumentation === | Darshan can be used with compile time wrappers or by dynamic library preloading. For detailed description, see [https://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html 'Darshan-runtime installation and usage']. | ||
In Hawks module environment Darshan version 3.1.7 is available. If you need a | === Running program with Darshan instrumentation on Hawk using module === | ||
In Hawks module environment Darshan version 3.1.7 is available. If you need a different version you can install it in your home directory and follow the description mentioned above. | |||
The easiest way to instrument your application is to preload the darshan library during runtime. You have to make sure your application is dynamically linked with the MPI library. If you are not sure if it is dynamically linked, type | The easiest way to instrument your application is to preload the darshan library during runtime. You have to make sure your application is dynamically linked with the MPI library. If you are not sure if it is dynamically linked, type | ||
{{Command | {{Command | ||
Line 22: | Line 23: | ||
ldd your_application | ldd your_application | ||
}} | }} | ||
If it shows the MPI library your application is dynamically linked. | If it shows the MPI library, your application is dynamically linked. | ||
<pre>libmpi.so => /opt/hpe/hpc/mpt/mpt-2.23/lib/libmpi.so (0x00007f5d32b33000)</pre> | <pre>libmpi.so => /opt/hpe/hpc/mpt/mpt-2.23/lib/libmpi.so (0x00007f5d32b33000)</pre> | ||
Load the needed software module: | |||
{{Command | {{Command | ||
| command = | | command = |
Revision as of 17:07, 26 November 2021
Note: This page is in progress.
Darshan is a set of libraries that can characterize MPI-IO and POSIX file access within typical HPC applications in a nonintrusive way. It can be used to investigate I/O behavior of a MPI-program. |
|
Introduction
Darshan is developed by Mathematics and Computer Science Division of Argonne National Laboratory to allow investigation and tuning of the I/O behaviour of complex HPC applications. It is open-source and available on github. Many Tutorials and hands-on excercises are available online.
Usage
Darshan can be used with compile time wrappers or by dynamic library preloading. For detailed description, see 'Darshan-runtime installation and usage'.
Running program with Darshan instrumentation on Hawk using module
In Hawks module environment Darshan version 3.1.7 is available. If you need a different version you can install it in your home directory and follow the description mentioned above.
The easiest way to instrument your application is to preload the darshan library during runtime. You have to make sure your application is dynamically linked with the MPI library. If you are not sure if it is dynamically linked, type
If it shows the MPI library, your application is dynamically linked.
libmpi.so => /opt/hpe/hpc/mpt/mpt-2.23/lib/libmpi.so (0x00007f5d32b33000)
Load the needed software module: