[Darshan-users] Instrumenting statically-linked applications
Kevin Harms
harms at alcf.anl.gov
Mon Nov 26 14:23:00 CST 2012
I think this might be a simple issue with argument parsing. Try this instead:
> ./darshan-gen-cc.pl --output mpicc.darshan /opt/apps/gcc4_4/mvapich/1.0.1/bin/mpicc
kevin
On Nov 26, 2012, at 2:16 PM, Dragos Constantin wrote:
> Hi,
> I've installed and configured darshan-2.2.3 on TACC Ranger in my user space. I have used gcc-4.4.5 (and mvapich-1.0.1).
>
> When I try to generate the MPI compiler scripts for statically-linked applications I get the following error:
>
> login4$ ./darshan-gen-cc.pl /opt/apps/gcc4_4/mvapich/1.0.1/bin/mpicc --output mpicc.darshan
> Error: cannot find matching CC from: gcc -c foo.c -I/opt/apps/gcc4_4/mvapich/1.0.1/include
> and: gcc -Wl,-rpath,/opt/apps/gcc4_4/mvapich/1.0.1/lib/shared -Wl,-rpath-link -Wl,/opt/apps/gcc4_4/mvapich/1.0.1/lib/shared -L/opt/apps/gcc4_4/mvapich/1.0.1/lib/shared -L/opt/apps/gcc4_4/mvapich/1.0.1/lib foo.o -o foo -lmpich -L/opt/ofed//lib64/ -libverbs -libumad -lpthread -lpthread -lrt
>
> I am not quite sure what triggered this. Any ideas how to quickly fix the issue? I will look at the perl script to see what is going on there.
>
> Thanks,
> Dragos
>
>
> Dragos Constantin, PhD
>
> Research Associate
> Department of Radiology
> Stanford University
> Lucas MRS Center
> 1201 Welch Rd., PS-055
> Stanford CA 94305
>
> Office: (650) 736-9961
> Fax: (650) 723-5795
>
> _______________________________________________
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
More information about the Darshan-users
mailing list