From: Rick K. <rk...@il...> - 2009-05-27 15:40:25
|
Jean-Guillaume, There are two aspects to the question you asked: first relates to VProf compilation and the error you received, while the second has to do with PerfSuite status on the Cray XT system. The error message you are receiving during compilation of VProf is related to the version of the BFD library (part of binutils) that you have installed on your system. I believe "bfd_get_section_size_before_reloc" is defined as a macro in earlier versions of BFD. A substitute that may work is to replace the offending line in exec.cc with "bfd_section_size(abfd, section)". The VProf patch that was posted at the NCSA PerfSuite website is rather dated, and does not address the above issue. It appears that VProf itself is no longer in active development, with the last release at SourceForge dated June 2006. Due to that, it is likely that VProf-related work in PerfSuite will be removed in the future. Another reason for doing this is that more recent tools such as ParaProf from TAU and Cube from Scalasca can work with data generated by PerfSuite. Regarding the other question (Cray XT): PerfSuite has not been ported to these systems, and it is likely that it will not work unchanged. Although I am not an expert on that series of machine, I believe the OS lacks necessary support required for the psrun command to work properly - specifically, the ability to preload shared libraries via LD_PRELOAD. It may be possible to provide the PerfSuite C support libraries (libperfsuite and libpshwpc) on that platform, but this has not been tried or tested. Rick jgp wrote: > Hi, > > I would like to install vprof on our CRAY XT5 but I get the following > error message : > > * exec.cc:144: error: 'bfd_get_section_size_before_reloc' was not > declared in this scope > > My configuration is : > > * gcc/4.3.2 > * xt-papi/3.6.2 > * /sys/kernel/perfmon/version # => 2.3 > * uname -a > o Linux gele2 2.6.16.60-0.33_1.0102.4270.2.2.21A-ss #1 SMP Thu > Apr 23 12:05:13 PDT > o 2009 x86_64 x86_64 x86_64 GNU/Linux > > I've got the sources for vprof from http://aros.ca.sandia.gov/~cljanss/perf/vprof using the getsoftware script. > I also tried the sources from sourceforge : http://switch.dl.sourceforge.net/sourceforge/vprof/vprof1.2.tar.gz > > Both compilation failed. Is there a way to install perfsuite on CRAY XT ? > > Thanks for your help, jg. > > |