Commit 65db9baa authored by Philip Carns's avatar Philip Carns

Fixes #128; document how rpath influences LD_PRELOAD of darshan library.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@849 3b7491f3-a168-0410-bf4b-c445ed680a29
parent d752a9db
......@@ -17,6 +17,9 @@ darshan-2.2.9-pre1
* Enhancements:
- Honor CC variable to allow darshan-util to be built with other compilers
besides gcc.
- Update documentation to clarify the interaction between rpath and
LD_PRELOAD when instrumenting dynamic libraries, issue reported and
investigated by Davide Del Vento.
darshan-2.2.8
=============
......
......@@ -195,9 +195,19 @@ step of adding
`libfmpich.so` to your `LD_PRELOAD` environment variable. For example:
----
export LD_PRELOAD=libfmpich.so:/home/carns/darshan-install/lib/libdarshan.so
export LD_PRELOAD=/path/to/mpi/used/by/executable/lib/libfmpich.so:/home/carns/darshan-install/lib/libdarshan.so
----
[NOTE]
The full path to the libfmpich.so library can be omitted if the rpath
variable points to the correct path. Be careful to check the rpath of the
darshan library and the executable before using this configuration, however.
They may provide conflicting paths. Ideally the rpath to the MPI library
would *not* be set by the darshan library, but would instead be specified
exclusively by the executable itself. You can check the rpath of the
darshan library by running `objdump -x
/home/carns/darshan-install/lib/libdarshan.so |grep RPATH`.
== Darshan installation recipes
The following recipes provide examples for prominent HPC systems.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment