From: Rick K. <rk...@nc...> - 2004-07-27 14:16:33
|
Stelios - just another comment as I realized I might have said something wrong. Actually you can get a mismatch error message from within the PerfSuite Tcl C extension for PAPI (which is what psprocess uses). There is a simple way to see if this is the case, by compiling a test program papitest.c something like this: #include <stdio.h> #include <papi.h> main() { int ret; ret = PAPI_library_init(PAPI_VER_CURRENT); printf("ret = %d, PAPI_VER_CURRENT = %d\n", ret, PAPI_VER_CURRENT); } cc -o papitest papitest.c -I<PAPIDIR>/include -L<PAPIDIR>/lib -lpapi (<PAPIDIR> is the top-level of your PAPI installation) If the two numbers don't come out the same, this could be the source of the error. If that's the case, I think it can be fixed relatively easily. If you try this, please let me know the result... Rick On Mon, 26 Jul 2004, Stelios Kyriacou wrote: > > Hi > > I am a new user to this group. We are trying to get latest perfsuite with > the latest papi. I know that this is still alpha but was wondering if > anybody has got it to work and what would be requierd. Right now the > error i get is that there is a "PAPI version mismatch" error that does not > allow pspapi to be loaded in tcl. > > Also: is there a CVS available for perfsuite? I would like to try the > latest version possible just in case there have been any improvements to > the PAPI interface. > > The reason we would like to stick with the latest papi is that it seems to > to work with the latest version of perfctr which in turn seems to work > with our specific kernel (earlier version of perfctr do not seem to patch > our kernel correctly). > > Thanks > > Stelios Kyriacou > Systems Admin > Ohio Supercomputing Center > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > PerfSuite-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfsuite-users > |