From: <rk...@il...> - 2009-07-30 15:52:22
|
Jie, The extra output document you received when monitoring an OpenMP program is most likely due to the OpenMP runtime creating an additional monitoring thread that is tracked by PerfSuite just as any other thread. There is a mention of this in the "BUGS" file in the PerfSuite distribution (although, strictly speaking, this does not fall into the category of "bugs", I think). When doing your performance analysis, it is best to just disregard the data associated with the extra thread. On the other question you sent (regarding lack of libiberty shared libraries), unfortunately there is no other solution currently that I would consider to be "elegant" beyond running configure with --disable-binutils. One can generate a shared library version of libiberty from the source, but that is additional work that seems difficult for most users. It might be possible to fix things within PerfSuite by hand-editing the Autotools-generated Makefiles, but I think that is not an acceptable alternative for people to have to do. We have been working towards a better approach to handling binutils libraries, but this is not included in current releases, so I can only offer this current workaround (unfortunately). Rick ----- Original Message ----- From: jj...@nu... To: rk...@il... Cc: per...@li... Sent: Thursday, July 30, 2009 10:03:14 AM GMT -06:00 US/Canada Central Subject: Monitoring OpenMP program using Perfsuite Rick, There is a strange problem when monitoring OpneMP program with psrun. The application is NPB3.3-OMP/IS benchnmark. export OMP_NUM_THREADS=2 psrun -p ./is.A After program terminates, I got three xml output files: is.A.0.22016.amd.xml is.A.1.22016.amd.xml is.A.2.22016.amd.xml However, in the is.A.1.xx.xx.xml file, all fields except "Wall clock time (seconds)" are zero. And the "wall clock time" field in this xml file equals to the same fields in the other two xml output files. Since I specify the total number of threads to be two, why does psrun produce three output files? Jie Jiang |