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

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

git-svn-id: 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.
......@@ -195,9 +195,19 @@ step of adding
`` to your `LD_PRELOAD` environment variable. For example:
export LD_PRELOAD=/path/to/mpi/used/by/executable/lib/
The full path to the 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/ |grep RPATH`.
== Darshan installation recipes
The following recipes provide examples for prominent HPC systems.
Supports Markdown
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