From: Abdullah K. <ap...@gm...> - 2008-06-24 23:07:41
|
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 |