[Darshan-users] compiling statically with intel toolchain
Salmon, Rene
salmr0 at bp.com
Tue May 17 16:08:46 CDT 2016
Hi,
I am trying to compile darshan statically into my application using Intel’s fortran compiler and MPI library. When I do so I get this error message:
-L/tstapps/asi/src/dds/lib/Linux/3.0/x86_64/Intel-16.0.1.150MPI5.1.2MKL11.3.1 -L/hpc/tstapps/SLES/3.0/x86_64/darshan/3.0.0/lib -ldds_r3 -lgio -lfhost -Wl,-Bstatic -ldarshan -ldarshan-stubs -lz -Wl,-Bdynamic
/hpc/tstapps/SLES/3.0/x86_64/darshan/3.0.0/lib/libdarshan.a(darshan-posix.o): In function `__wrap_open':
/hpc/tstapps/src/darshan/darshan-3.0.0/darshan-runtime/lib/darshan-posix.c:378: undefined reference to `__real_open'
/hpc/tstapps/src/darshan/darshan-3.0.0/darshan-runtime/lib/darshan-posix.c:384: undefined reference to `__real_open'
/hpc/tstapps/SLES/3.0/x86_64/darshan/3.0.0/lib/libdarshan.a(darshan-posix.o): In function `__wrap_open64':
/hpc/tstapps/src/darshan/darshan-3.0.0/darshan-runtime/lib/darshan-posix.c:412: undefined reference to `__real_open64'
/hpc/tstapps/src/darshan/darshan-3.0.0/darshan-runtime/lib/darshan-posix.c:418: undefined reference to `__real_open64'
/hpc/tstapps/SLES/3.0/x86_64/darshan/3.0.0/lib/libdarshan.a(darshan-posix.o): In function `__wrap_creat':
…
the real_open routines seem to be in the libdarshan library:
nm /hpc/tstapps/SLES/3.0/x86_64/darshan/3.0.0/lib/libdarshan.a |grep real_open
U __real_open
U __real_open64
Any ideas?
Thanks
Rene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20160517/de989dbd/attachment.html>
More information about the Darshan-users
mailing list