From: Abdullah K. <ap...@gm...> - 2008-06-25 01:08:12
|
And on top of these, for example if I try to run "hl" with "psrun -c papi3_mflops.xml ./hl" I am getting the following error; hwpc.c:306 : Initialized global data hwpc.c:315 : Signal handling off. hwpc.c:2288 : Configuration file set to papi3_mflops.xml hwpc.c:2333 : Attempting to parse "papi3_mflops.xml" xmlparse.c:301 : XML parser: parsing expected XML document element ps_hwpc_eventlist (class = "PAPI") xmlparse.c:237 : XML parser: found preset: "PAPI_FP_OPS" xmlparse.c:237 : XML parser: found preset: "PAPI_TOT_CYC" xmlparse.c:490 : XML parser: found 2 events: PAPI_FP_OPS PAPI_TOT_CYC hwpc.c:323 : Configuration file read hwpc.c:325 : Read 2 events hwpc.c:2158 : Initializing PAPI class... hwpc.c:354 : Performance software supports 32 events max. hwpc.c:447 : Calling package init routine hwpc-papi.c:319 : PAPI/PerfSuite version check failed (require at least 3, got -3) libpsrun fatal error: error reported by performance software layer Thanks in advance, Regards, Abdullah On Tue, Jun 24, 2008 at 4:33 PM, Abdullah Kayi <ap...@gm...> wrote: > Hi Rick, > > You can ignore number #1 as I found the problem with my configuration. Any > help on the remaining issues are appreciated. > > Regards, > > Abdullah > > > On Tue, Jun 24, 2008 at 3:07 PM, Abdullah Kayi <ap...@gm...> wrote: > >> Hi Rick, >> >> I made a clean install. Here is some info from the config.log and I solved >> some of the problems that I had with the examples. >> >> ./configure --prefix=/wrkdir/kayi/PERFSUITE_DIR >> --with-papi=/u2/wes/PET_HOME/pkgs/papi-3.5.0 >> --with-tdom=/wrkdir/kayi/TDOM_DIR PTHREAD_LIBS=-lpthread --enable-mpi >> MPICPPFLAGS=-I/usr/local/pkg/voltairempi/voltairempi-S-1/mpi.pathcc.rsh/include >> --enable-debug >> >> ## --------- ## >> ## Platform. ## >> ## --------- ## >> >> uname -m = x86_64 >> uname -r = 2.6.5-7.276-smp >> uname -s = Linux >> >> However, I still have some questions and issues. >> >> 1- First of all, the "psprocess" wasn't installed although I have the tcl >> and tdom in my system. So am I missing any requirements for that to >> install? how can i parse the xml output otherwise? >> >> 2- If I run the "cpi" with "psrun -c papi_profile_l2tcm.xml ./cpi" I am >> getting the following error with PS_DEBUG=10 >> >> hwpc-papi.c:750 : Initializing profiling in PAPI layer >> hwpc-papi.c:152 : Entering setup_counters_internal >> hwpc-papi.c:193 : Eventset address: 0x504070 >> hwpc-papi.c:209 : Created an eventset (0). >> hwpc-papi.c:228 : Domain of eventset: unknown (0) >> hwpc-papi.c:270 : Added 1 events to eventset 0 >> hwpc-papi.c:777 : Profiling using PAPI event code 80000007 (PAPI_L2_TCM) >> hwpc-papi.c:789 : PAPI_sprofil_t structure allocated at 0x504bc0 >> hwpc-papi.c:810 : Calling PAPI_sprofil with arguments >> sprofils = 0x504bc0 >> nmaps = 11 >> *eventset = 0 >> eventcode = 80000007 >> threshold = 100000 >> flags = 0 >> hwpc-papi.c:818 : PAPI_sprofil error: PAPI_EINVAL >> hwpc.c:602 : Error return from init_profiling >> libpsrun fatal error: error reported by performance software layer >> >> If I run the mpirun version I am also getting the same error. So how can I >> enable the profiling runs? >> >> 3- if I use psrun with mpirun (or charmrun) on a Charm++ code ChaNGa I am >> getting the following error: >> >> >> PAPI/PerfSuite version check failed (require at least 3, got -3) >> libpsrun fatal error: error reported by performance software layer >> [psrun: Parent process forked, PID=1329] >> [psrun: Child process forked, PID=2976] >> hwpc-papi.c:718 : PAPI_shutdown called >> hwpc.c:1046 : ps_hwpc_shutdown: returned from destroy counters >> hwpc.c:1733 : No PID file scheduled for deletion. >> fork(): _psrun_hwpc_shutdown returned 0 >> [psrun: Parent process forked, PID=2976] >> [psrun: Parent process forked, PID=2976] >> [psrun: Child process forked, PID=2977] >> [psrun: Child process forked, PID=2978] >> >> >> Do you have any idea what might be wrong in these different issues? Thanks >> so much for your help and consideration. >> >> Regards, >> >> Abdullah >> > > |