From: Rick K. <rk...@nc...> - 2006-01-11 05:48:57
|
Tirath, First of all, you get hundreds of gold stars for going so deeply into trying to isolate the problem on your own :) Thanks for the detailed problem report and your attempts to set things right. I appreciate the effort to do a little Tcl debugging - I know Tcl's not on the list of in-vogue languages, and the intent of PerfSuite is for users to not even be aware that Tcl is involved (or have to debug Tcl code). The problems you are seeing can come from several places, but as a first cut, would you try setting the environment variable TCLLIBPATH to "/usr/local/share/perfsuite/tcllib", and then doing the psprocess run on your XML document again? If that doesn't work, then please send the output of your configure script (it should be contained in the file config.log in the directory where you built PerfSuite) so we can see where things were placed on your system. Two other things that would be helpful are your kernel version (uname -r) and the CPU type that you're using. Rick On Wed, 11 Jan 2006, Tirath Ramdas wrote: > Hi all, > > I've run psrun on a test Fortran code, and the xml was produced. I > did so with the profil.xml configuration and psprocess was able to > handle the psrun generated xml, however when I try to do so with a > modified papi3_p4.xml [2], psprocess dies: > PAPI support not found (required for this XML doc) > > I've dug a little deeper, doing this in tclsh: > % package require pspapi > can't find package pspapi > % package names > http tdom tcltest msgcat opt Tk Tcl > > Prior to this I've never mucked around with tcl. I tried a few things > like pkg_mkIndex and mucking around with tcl_pkgPath, with no > success. For what it's worth though, I did see this: > > % pkg_mkIndex -verbose /usr/local/lib > warning: error while loading libperfctr.so: couldn't find procedure > Perfctr_Init > warning: error while loading libpapi.so: couldn't find procedure > Papi_Init > warning: error while loading libpshwpc.so: couldn't find procedure > Pshwpc_Init > warning: error while loading libpshwpc_r.so: couldn't find procedure > Pshwpc_r_Init > warning: error while loading libpsrun.so: couldn't load file "./ > libpsrun.so": ./libpsrun.so: undefined symbol: _ps_c2fstring > warning: error while loading libpsrun_r.so: couldn't load file "./ > libpsrun_r.so": ./libpsrun_r.so: undefined symbol: _ps_c2fstring > > I installed papi and perfsuite in /usr/local. tdom was obtained with > apt-get, and is in /usr. I'm stumped! Any pointers anyone? > > regards, > -tirath > [0] I did make -k check; everything was okay. > [1] This is a Debian system. > [2] The modification: I omitted PAPI_L2_DCR, which according to psinv > -p is not available on my system. > [3] Contents of /usr/local/lib: > firmware libpshwpc.la libpsrun_r.a > libpapi.a libpshwpc_r.a libpsrun_r.la > libpapi.so libpshwpc_r.la libpsrun_r.so > libperfctr.a libpshwpc_r.so libpsrun_r.so.0 > libperfctr.so libpshwpc_r.so.0 libpsrun_r.so.0.0.0 > libperfctr.so.5 libpshwpc_r.so.0.0.0 libpsrun.so > libperfctr.so.5.2.6.15 libpshwpc.so libpsrun.so.0 > libperfctr.so.5.2.6.18 libpshwpc.so.0 libpsrun.so.0.0.0 > libperfsuite.a libpshwpc.so.0.0.0 pkgIndex.tcl > libperfsuite_r.a libpsrun.a python2.3 > libpshwpc.a libpsrun.la site_ruby > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > PerfSuite-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfsuite-users > |