[Darshan-users] issues of statically linking Darshan with mpi
Teng Wang
tengwang at lbl.gov
Tue Jul 18 13:33:42 CDT 2017
Hi,
I'm having trouble when trying to statically link
Darshan with mpich3.3 applications following the instructions
here:
http://www.mcs.anl.gov/research/projects/darshan/docs/darshan-runtime.html
Here is my steps:
1. Compile and install darshan 3.1.4
tar -xvzf darshan-3.1.4.tar.gz
cd darshan-3.1.4/darshan-runtime
./configure --with-mem-align=8 --with-log-path=<log directory>
--prefix=<install directory> --with-jobid-env=PBS_JOBID --disable-cuserid
CC=mpicc
make
make install
2. Create log directory, which successfully create the directory
darshan-mk-log-dirs.pl
3. Generate wrapper
darshan-gen-cc.pl `which mpicc` --output mpicc.darshan
4. Compile application (mpi-io-test.c) using mpicc.darshan
mpicc.darshan mpi-io-test.c -o mpi-io-test
5. However, after running the application I couldn't see the log
file generated under the <log directory>, and I did't see the darshan flags
in
`mpicc.darshan -show` either.
May I know how to fix this issue?
Thanks,
Teng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20170718/d382ca52/attachment.html>
More information about the Darshan-users
mailing list