[Darshan-users] darshan compiler wrappers

Carns, Philip H. carns at mcs.anl.gov
Mon Jun 22 15:57:25 CDT 2020

Hi Adrian,

Unfortunately the compiler wrappers will only work for MPICH and it's variants.

Are you using Darshan 3.2.1?

Intel's MPI most likely produces dynamically-linked executables by default.  So broadly speaking, there are going to be two options to get things working.  The first is to get the Darshan linker options displayed by `darshan-config --dyn-ld-flags` added to your link line, either explicitly, or by finding a way to add them implicitly (as the auto-generated MPICH wrappers would have done).

The second optoin would be to leave the compilation unmodified and instead instrument with Darshan at runtime by LD_PRELOAD'ing libdarshan.so when the executable is run.

There is a little bit of information about each approach available here:



... but we don't have an exact recipe for how to do this on Intel MPI.  If you have suggestions for how to pull this off (particularly option 1) it would be a good addition to our official documentation.  I think we have access to Intel MPI on some systems here at ANL to help test, but we don't have much expertise with it yet.

From: Darshan-users <darshan-users-bounces at lists.mcs.anl.gov> on behalf of Adrian Jackson <a.jackson at epcc.ed.ac.uk>
Sent: Friday, June 19, 2020 1:49 PM
To: darshan-users at lists.mcs.anl.gov <darshan-users at lists.mcs.anl.gov>
Subject: [Darshan-users] darshan compiler wrappers


I was installing Darshan on a system with Intel MPI and was wanting to
build the compiler wrappers with the darshan-gen-cc.pl, etc... files.
However, if I try to run:

/opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc --output

I just get:

Error: faulty output from
/opt/intel/compilers_and_libraries_2019.3.199/linux/mpi/intel64/bin/mpicc with

Am I doing something wrong?


Tel: +44 131 6506470 skype: remoteadrianj
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Darshan-users mailing list
Darshan-users at lists.mcs.anl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20200622/01156987/attachment.html>

More information about the Darshan-users mailing list