[Darshan-users] dynamic/static linking
Salmon, Rene
salmr0 at bp.com
Tue Jul 22 15:28:32 CDT 2014
Hi,
I am trying to link in darshan to my simple HDF5 application to gather some performance data. I am able to gather some data but not all. Most of my graphs are empty and that seems to be because darshan is not collecting some of the data to be able to generate the graphs. I might be missing somethings and I am hoping I can get a hint as to what.
My application uses the intel compilers and it statically links in the intel MPI libraries as well as the HDF5 Libraries but the rest is left dynamic so not a fully static executable as you can see.
ldd h5testcode
linux-vdso.so.1 => (0x00007fff9939c000)
libz.so.1 => /lib64/libz.so.1 (0x00002acc4dafc000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002acc4dd12000)
libm.so.6 => /lib64/libm.so.6 (0x00002acc4df16000)
librt.so.1 => /lib64/librt.so.1 (0x00002acc4e190000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002acc4e399000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002acc4e5b6000)
libc.so.6 => /lib64/libc.so.6 (0x00002acc4e7cd000)
/lib64/ld-linux-x86-64.so.2 (0x00002acc4d8db000)
nm h5testcode | grep darsha
0000000000721a90 T darshan_condense
00000000007233d0 t darshan_file_by_fd
0000000000724aa0 T darshan_file_by_handle
000000000071a110 T darshan_file_by_name
0000000000723280 t darshan_file_by_name_setfd
0000000000724950 T darshan_file_by_name_sethandle
0000000000724b40 T darshan_file_closehandle
0000000000459e70 t darshan_file_reduce
0000000000724940 T darshan_finalize
000000000045afd0 T darshan_get_exe_and_mounts
0000000000d435f0 B darshan_global_job
0000000000724ff0 T darshan_hash
0000000000724c40 T darshan_initialize
0000000000d1e7c4 d darshan_mem_alignment
000000000045b7c0 T darshan_mnt_id_from_path
000000000045b890 T darshan_mpi_initialize
0000000000723460 T darshan_search_bench
0000000000451a10 T darshan_shutdown
0000000000721d80 T darshan_shutdown_bench
000000000045ae50 T darshan_walk_file_accesses
The little application runs and generates a log file and I can process it to generate a PDF. But the pdf is mostly empty.
If I run darshan-parser to see the data I can see that many of the values are zero.
darshan-parser filename.gz > log.txt
grep BYTES log.txt
# CP_BYTES_*: total bytes read and written.
# CP_*_RANK_BYTES: fastest, slowest and variance of bytes transfer.
-1 753191520991278725 CP_BYTES_READ 0 ...mr0/SDS_chnk.h5 /lustre02 lustre
-1 753191520991278725 CP_BYTES_WRITTEN 0 ...mr0/SDS_chnk.h5 /lustre02 lustre
-1 753191520991278725 CP_FASTEST_RANK_BYTES 0 ...mr0/SDS_chnk.h5 /lustre02 lustre
-1 753191520991278725 CP_SLOWEST_RANK_BYTES 0 ...mr0/SDS_chnk.h5 /lustre02 lustre
-1 753191520991278725 CP_F_VARIANCE_RANK_BYTES 0.000000 ...mr0/SDS_chnk.h5 /lustre02 lustre
I know I am writting data and the application works. I have a valid HDF5 file with data after the application is done. So it can’t be writing zero bytes.
I am attaching the compressed log file if that helps.
Thanks in advanced for any help on this.
Rene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20140722/092a66da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.gz
Type: application/x-gzip
Size: 1049 bytes
Desc: file.gz
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20140722/092a66da/attachment.bin>
More information about the Darshan-users
mailing list