[Darshan-users] Segmentation fault with Darshan-3.1.1

Harms, Kevin harms at alcf.anl.gov
Mon Oct 24 16:08:33 CDT 2016


  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 at lists.mcs.anl.gov> on behalf of "Suman, Preeti" <preeti.suman at intel.com>
Date: Monday, October 24, 2016 at 4:01 PM
To: "darshan-users at lists.mcs.anl.gov" <darshan-users at 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 at intel.com <mailto:preeti.suman at intel.com>
     
    
    



More information about the Darshan-users mailing list