From: Ryszard J. <rys...@ce...> - 2006-05-24 11:15:13
|
Hello Rick, Thank you for your last email. > Hmmm! This is good news although I am at a loss as to why there might be > a difference depending on the filesystem in use. Nevertheless, I am glad > to hear that things are apparently working. In your opinion, is this > something that warrants inclusion in the BUGS file that is included in the > PerfSuite distribution? If so, I'd be happy to include in the hopes that > it might save someone else a little detective work. I think that it could be a good idea to mention about this problem in the BUGS file. When I had changed a running directory from an AFS into a local directory all my problems with threshold has dissappeared. > One thing I have seen before that sounds related is a difference in > executable/library locations between the computer system on which the > simulation is run versus the system on which the post-processing > (psprocess) occurs. What happened in that case is that the "<module>" > element in the profiling XML output identified the location of the library > through the "file" attribute in the context of runtime. For example, > instead of listing: > > <module file="/usr/lib/libsomething.so.0" offset="a5e000"> > > it had: > > <module file="/mnt/nfs/usr/lib/libsomething.so.0" offset="a5e000"> > > The result was that psprocess could not find the library as listed in the > XML document and would not report any samples for that module. The only > workaround in this case was to correct the entries (using a text editor) > before running psprocess. I usually do the profiling job and the post-processing on the same machine with the same set of environment variables, just one after another, so it should work okay. But I have other question about libraries. If our program is linked against some libraries, and these libraries are linked against others, will psrun and psprocess report these all libraries? I have asked this question, becasuse I still see question marks even using less complicated examples than a full simulation. Regards, Ryszard. |