From: Rick K. <rk...@nc...> - 2005-11-10 13:24:20
|
Giuseppe, Sorry to hear you are experiencing problems but hopefully they are nothing too serious. Here is some feedback: > 1. I am using PerfSuite 0.6.1 on double processor Intel Pentium III, OS > RedHat/Linux 7.1, kernel 2.4.20-18.9 whit patch perfctr 2.6.0. I tried to > install PAPI but no one seems to be compatible with may OS. Do you have a > solution for me? This is a problem best directed to the PAPI mailing list, but I think you already know since I see that you sent a mail to the PAPI team as well. I think you'll get good advice from that source. For anyone on this list who is not aware of the PAPI lists, there is an archive of postings that can be very helpful in seeing about problems and questions regarding PAPI here: http://www.ptools.org/archive/perfapi/maillist.html > 2. I tried to use psrun because the INSTALL file says that it is possible to use > it without PAPI. I used it in the example matvec. I changed the compiler in > Makefile.matvec because I have just g77 and not ifc. > In my prompt I digit the following line > > psrun matvec-r4 > > and the answer is > > matvec-r4: error while loading shared libraries: libpsrun_r.so: cannot open > shared object file: No such file or directory > > What is happening? Thank you in advance. Giuseppe Grieco. This usually means that the runtime linker cannot find shared libraries that it is looking for, in this case a PerfSuite shared library called "libpsrun_r.so". On Linux, the environment variable LD_LIBRARY_PATH is what's used to provide additional directories to search (see the man page for ld.so). PerfSuite includes two convenience scripts that are meant to set up environment variables like LD_LIBRARY_PATH properly for your installation based on the configure-time "--prefix" option. There is one script for Bourne (bash) like shells called psenv.sh, and another for C (tcsh) like shells called psenv.csh. Choose the one according to the shell you use and execute "source FILENAME" to incorporate the settings. Another point to make is that this assumes that you have actually installed PerfSuite after building it by executing "make install". It's not easy to get things set up properly from within the build directories. Finally, please keep in mind that without hardware counter support such as through PAPI, you will only get time-based (gprof-like) profiling from psrun and libpshwpc. Hope this helps and good luck, Rick |