[Darshan-commits] [Git][darshan/darshan][carns/dev-dyn-link-updates] basic debugging for dynamic linking

Philip Carns xgitlab at cels.anl.gov
Wed Mar 25 16:24:02 CDT 2020



Philip Carns pushed to branch carns/dev-dyn-link-updates at darshan / darshan


Commits:
d23f555d by Phil Carns at 2020-03-25T17:23:50-04:00
basic debugging for dynamic linking

- - - - -


1 changed file:

- darshan-runtime/doc/darshan-runtime.txt


Changes:

=====================================
darshan-runtime/doc/darshan-runtime.txt
=====================================
@@ -604,6 +604,20 @@ For statically linked executables:
 00000000004070a0 T darshan_core_register_module
 ----
 
+For dynamically linked executables:
+
+* Ensure that the Darshan library is present in the list of shared libraries
+  to be used by the application, and that it appears before the MPI library:
+----
+> ldd mpi-io-test
+	linux-vdso.so.1 (0x00007ffd83925000)
+	libdarshan.so => /home/carns/working/install/lib/libdarshan.so (0x00007f0f4a7a6000)
+	libmpi.so.12 => /home/carns/working/src/spack/opt/spack/linux-ubuntu19.10-skylake/gcc-9.2.1/mpich-3.3.2-h3dybprufq7i5kt4hcyfoyihnrnbaogk/lib/libmpi.so.12 (0x00007f0f4a44f000)
+	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0f4a241000)
+        ...
+----
+
+General:
 
 * Ensure that the linker is correctly linking in Darshan's runtime libraries:
     ** A common mistake is to explicitly link in the underlying MPI libraries (e.g., `-lmpich` or `-lmpichf90`)



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d23f555d108bdd24c1e6545dba0c4096cfa861b1

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d23f555d108bdd24c1e6545dba0c4096cfa861b1
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20200325/2a39a6f3/attachment-0001.html>


More information about the Darshan-commits mailing list