If you set LD_PRELOAD in your shell, then you will be intercepting any POSIX operations by any program, such as ls. I’m guessing you don’t want to profile ‘ls’? You can set LD_PRELOAD only for the application you want to profile.
$ LD_PRELOAD=/path/to/darshan/lib/libdarshan.so ./myapp
Add the FORTRAN library as well if you are profiling FORTRAN code. You can also export LD_PRELOAD it with the proper mpirun options.
kevin
-----Original Message-----
From: <darshan-users-bounces(a)lists.mcs.anl.gov> on behalf of "Suman, Preeti" <preeti.suman(a)intel.com>
Date: Monday, October 24, 2016 at 4:01 PM
To: "darshan-users(a)lists.mcs.anl.gov" <darshan-users(a)lists.mcs.anl.gov>
Subject: [Darshan-users] Segmentation fault with Darshan-3.1.1
Hello,
With Darshan-3.1.1, compiled with GCC-5.1 or Intel-17 compilers on KNL, when LD_PRELOAD=<path_to>/darshan-runtime/lib/libdarshan.so is set, I am getting a segmentation fault whenever I do ‘ls’.
Example:
bash-4.2$ ls
Segmentation fault (core dumped)
Have you encountered this before?
For version-3.1.1 is it recommended to build Darshan with
--disable-ld-preload
?
Thanks,
Preeti Suman
Software Development Engineer,
Systems Engineering, Architecture & Runtimes
Email:
preeti.suman(a)intel.com <mailto:[email protected]>
Hello,
With Darshan-3.1.1, compiled with GCC-5.1 or Intel-17 compilers on KNL, when LD_PRELOAD=<path_to>/darshan-runtime/lib/libdarshan.so is set, I am getting a segmentation fault whenever I do 'ls'.
Example:
bash-4.2$ ls
Segmentation fault (core dumped)
Have you encountered this before?
For version-3.1.1 is it recommended to build Darshan with --disable-ld-preload ?
Thanks,
Preeti Suman
Software Development Engineer,
Systems Engineering, Architecture & Runtimes
Email: preeti.suman(a)intel.com<mailto:[email protected]>
Darshan users,
Darshan version 3.1.1 is now available for download. This release
contains the following bug fix for the recent 3.1.0 release:
* Fix bug in calculation of the MPIIO_F_WRITE_START_TIMESTAMP counter in
the MPI-IO module that could lead to incorrect timestamps in certain cases
Please let us know if you have any issues, questions, or comments using
either this mailing list or the Darshan GitLab page
<https://xgitlab.cels.anl.gov/darshan/darshan>.
The release tarball can be downloaded HERE
<ftp://ftp.mcs.anl.gov/pub/darshan/releases/darshan-3.1.1.tar.gz>.
Documentation for this version of Darshan can be found HERE
<http://press3.mcs.anl.gov/darshan/documentation/>.
Thanks!
--Darshan team