I'm using papi on AIX 5.3 (power 6), though I'm far from an AIX expert. I'm building papi
with a simple configure line:
./configure --prefix=$HOME/tools/papi --with-makefile=aix-power6-64bit --with-debug=yes
and get;
- Code: Select all
make test
cd ctests; make CC="xlc" CC_R="xlc_r" CFLAGS="-I.. -g -DSTATIC_PERFMON_EVENTS_TABLE -DDEBUG -I/include -qmaxmem=-1 -qarch=pwr6 -qtune=pwr6 -qlanglvl=extended -q64 -qenum=4 -DNO_VARARG_MACRO -D_AIX -D_POWER6 -DNEED_FFSLL -DARCH_EVTS=\"power6_events.h\" -DSTATIC_PERFMON_EVENTS_TABLE" SMPCFLGS="-qsmp" OMPCFLGS="-qsmp=omp" TOPTFLAGS="" NOOPT="" LDFLAGS=" -L/lib -lpmapi " LIBRARY=../libpapi64.a serial forkexec_tests overflow_tests profile_tests multiplex_and_pthreads smp omp
Target "serial" is up to date.
Target "forkexec_tests" is up to date.
Target "overflow_tests" is up to date.
Target "profile_tests" is up to date.
Target "multiplex_and_pthreads" is up to date.
Target "smp" is up to date.
Target "omp" is up to date.
ctests/zero
make: The signal code from the last command is 11.
Stop.
The error is at 411 of aix.c . copying from pminfo.procname
- Code: Select all
(dbx) print pminfo
(maxpmcs = 6, maxevents = 0x09001000a0745c20, list_events = 0x09001000a0745c40, thresholdmult = 1, proc_name = warning: Unable to access address 0x4000000000 from core
(invalid char ptr (0x0000004000000000)), hthresholdmult = 1)
before I start digging, is this anything anyone else has seen?
Martyn
