Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory and papi counters do not work #1508

Closed
pagrubel opened this issue May 13, 2015 · 0 comments · Fixed by #1514
Closed

memory and papi counters do not work #1508

pagrubel opened this issue May 13, 2015 · 0 comments · Fixed by #1514

Comments

@pagrubel
Copy link
Member

libraries seem to be in place:

ls lib/hpx
libmemory.so         libpapi_counters.so         libparcel_coalescing.so    libsine.so.0
libmemory.so.0       libpapi_counters.so.0       libparcel_coalescing.so.0  libsine.so.0.9.11
libmemory.so.0.9.11  libpapi_counters.so.0.9.11  libsine.so

to duplocate try: (or any papi counter)
bin/hello_world --hpx:print-counter /runtime{locality#*/total}/memory/resident

{stack-trace}: 4 frames:
0x2aaaaae46ff2  : hpx::detail::backtrace(unsigned long) + 0xa2 in /home/pagrubel/build/hpx_buildrelease/lib/libhpx.so.0
0x2aaaaae80761  : boost::exception_ptr hpx::detail::get_exception<hpx::exception>(hpx::exception const&, std::string const&, std::string const&, long, std::string const&) + 0x281 in /home/pagrubel/build/hpx_buildrelease/lib/libhpx.so.0
0x2aaaaae80d9a  : void hpx::detail::throw_exception<hpx::exception>(hpx::exception const&, std::string const&, std::string const&, long) + 0x5a in /home/pagrubel/build/hpx_buildrelease/lib/libhpx.so.0
0x2aaaab1976b4  : ??? + 0x2aaaab1976b4 in /home/pagrubel/build/hpx_buildrelease/lib/libhpx.so.0
{env}: 35 entries:
  CPATH=/opt/intel/composer_xe_2015.2.164/mkl/include:/opt/intel/composer_xe_2015.2.164/ipp/include:/opt/intel/composer_xe_2015.2.164/mkl/include:/opt/intel/composer_xe_2015.2.164/tbb/include
  GDBSERVER_MIC=/opt/intel/composer_xe_2015.2.164/debugger/gdb/target/mic/bin/gdbserver
  GDB_CROSS=/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/bin/gdb-mic
  GDB_HOST=/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/bin/gdb-ia-mic
  HISTCONTROL=ignoredups
  HOME=/home/pagrubel
  INCLUDE=/opt/intel/composer_xe_2015.2.164/mkl/include:/opt/intel/composer_xe_2015.2.164/mkl/include
  INFOPATH=/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64/share/info/:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/share/info/
  INTEL_LICENSE_FILE=/opt/intel/composer_xe_2015.2.164/licenses:/opt/intel/licenses:/home/pagrubel/intel/licenses
  INTEL_PYTHONHOME=/opt/intel/composer_xe_2015.2.164/debugger/python/intel64/
  IPPROOT=/opt/intel/composer_xe_2015.2.164/ipp
  LANG=en_US.UTF-8
  LD_LIBRARY_PATH=/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/mpirt/lib/intel64:/opt/intel/composer_xe_2015.2.164/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/ipp/lib/intel64:/opt/intel/composer_xe_2015.2.164/ipp/tools/intel64/perfsys:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64:/opt/intel/composer_xe_2015.2.164/tbb/lib/intel64/gcc4.4:/opt/intel/composer_xe_2015.2.164/debugger/ipt/intel64/lib
  LIBRARY_PATH=/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/ipp/../compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/ipp/lib/intel64:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64:/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64:/opt/intel/composer_xe_2015.2.164/tbb/lib/intel64/gcc4.4
  LOGNAME=pagrubel
  MAIL=/var/mail/pagrubel
  MANPATH=/opt/intel/composer_xe_2015.2.164/man/en_US:/opt/intel/composer_xe_2015.2.164/man/en_US:/opt/intel/composer_xe_2015.2.164/man/en_US:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64/share/man/:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/share/man/::/opt/intel/vtune_amplifier_xe_2013/man
  MIC_LD_LIBRARY_PATH=/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/compiler/lib/mic:/opt/intel/composer_xe_2015.2.164/mkl/lib/mic:/opt/intel/composer_xe_2015.2.164/compiler/lib/mic:/opt/intel/composer_xe_2015.2.164/mpirt/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/ipp/lib/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib:/opt/intel/composer_xe_2015.2.164/compiler/lib/mic:/opt/intel/composer_xe_2015.2.164/mkl/lib/mic:/opt/intel/composer_xe_2015.2.164/tbb/lib/mic
  MIC_LIBRARY_PATH=/opt/intel/composer_xe_2015.2.164/compiler/lib/mic:/opt/intel/composer_xe_2015.2.164/mpirt/lib/mic:/opt/intel/composer_xe_2015.2.164/tbb/lib/mic
  MKLROOT=/opt/intel/composer_xe_2015.2.164/mkl
  MPM_LAUNCHER=/opt/intel/composer_xe_2015.2.164/debugger/mpm/bin/start_mpm.sh
  NLSPATH=/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.2.164/compiler/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.2.164/ipp/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.2.164/mkl/lib/intel64/locale/%l_%t/%N:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/share/locale/%l_%t/%N:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64/share/locale/%l_%t/%N
  OLDPWD=/home/pagrubel/build/hpx_buildidle
  PATH=/opt/intel/vtune_amplifier_xe_2013/bin64:/opt/intel/composer_xe_2015.2.164/bin/intel64:/opt/intel/composer_xe_2015.2.164/debugger/gdb/intel64_mic/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/pagrubel/mic_linux/bin:/opt/papi/5.0.1-release/bin
  PWD=/home/pagrubel/build/hpx_buildrelease
  SHELL=/bin/bash
  SHLVL=1
  SSH_CLIENT=10.1.1.11 36767 22
  SSH_CONNECTION=10.1.1.11 36767 10.1.1.51 22
  SSH_TTY=/dev/pts/1
  TBBROOT=/opt/intel/composer_xe_2015.2.164/tbb
  TERM=xterm
  USER=pagrubel
  VTUNE_AMPLIFIER_XE_2013_DIR=/opt/intel/vtune_amplifier_xe_2013
  _=bin/hello_world
{locality-id}: 0
{hostname}: [ (tcp:127.0.0.1:7910) ]
{process-id}: 30316
{function}: registry::discover_counter_type
{file}: /home/pagrubel/hpx/src/performance_counters/registry.cpp
{line}: 205
{os-thread}: 0, worker-thread#0
{thread-id}: 000000000129d200
{thread-description}: <unknown>
{state}: startup
{auxinfo}: 
{config}:
  HPX_HAVE_NATIVE_TLS=ON
  HPX_HAVE_STACKTRACES=ON
  HPX_HAVE_COMPRESSION_BZIP2=OFF
  HPX_HAVE_COMPRESSION_SNAPPY=OFF
  HPX_HAVE_COMPRESSION_ZLIB=OFF
  HPX_HAVE_PARCEL_COALESCING=ON
  HPX_HAVE_PARCELPORT_TCP=ON
  HPX_HAVE_PARCELPORT_MPI=OFF
  HPX_HAVE_PARCELPORT_IPC=OFF
  HPX_HAVE_PARCELPORT_IBVERBS=OFF
  HPX_HAVE_VERIFY_LOCKS=OFF
  HPX_HAVE_HWLOC=ON
  HPX_HAVE_ITTNOTIFY=OFF
  HPX_HAVE_RUN_MAIN_EVERYWHERE=OFF
  HPX_LIMIT=5
  HPX_PARCEL_MAX_CONNECTIONS=512
  HPX_PARCEL_MAX_CONNECTIONS_PER_LOCALITY=4
  HPX_INITIAL_AGAS_LOCAL_CACHE_SIZE=256
  HPX_AGAS_LOCAL_CACHE_SIZE_PER_THREAD=32
  HPX_HAVE_MALLOC=tcmalloc
  HPX_PREFIX (configured)=/home/pagrubel/build/hpx_buildrelease
  HPX_PREFIX=/home/pagrubel/build/hpx_buildrelease
{version}: V0.9.11-trunk (AGAS: V3.0), Git: 41caea13da
{boost}: V1.56.0
{build-type}: release
{date}: May 13 2015 14:21:20
{platform}: linux
{compiler}: GNU C++ version 4.9.1
{stdlib}: GNU libstdc++ version 20140908
{what}: unknown counter type: /runtime/memory/resident, known counter types: 
  /agas/component/count
  /agas/component/time
  /agas/count/allocate
  /agas/count/begin_migration
  /agas/count/bind
  /agas/count/bind_gid
  /agas/count/bind_name
  /agas/count/bind_prefix
  /agas/count/cache/erase_entry
  /agas/count/cache/evictions
  /agas/count/cache/get_entry
  /agas/count/cache/hits
  /agas/count/cache/insert_entry
  /agas/count/cache/insertions
  /agas/count/cache/misses
  /agas/count/cache/update_entry
  /agas/count/decrement_credit
  /agas/count/end_migration
  /agas/count/free
  /agas/count/get_component_typename
  /agas/count/increment_credit
  /agas/count/iterate_names
  /agas/count/iterate_types
  /agas/count/localities
  /agas/count/num_localities
  /agas/count/num_localities_type
  /agas/count/num_threads
  /agas/count/on_symbol_namespace_event
  /agas/count/resolve
  /agas/count/resolve_gid
  /agas/count/resolve_id
  /agas/count/resolve_locality
  /agas/count/resolved_localities
  /agas/count/route
  /agas/count/unbind
  /agas/count/unbind_gid
  /agas/count/unbind_name
  /agas/locality/count
  /agas/locality/time
  /agas/primary/count
  /agas/primary/time
  /agas/symbol/count
  /agas/symbol/time
  /agas/time/allocate
  /agas/time/begin_migration
  /agas/time/bind
  /agas/time/bind_gid
  /agas/time/bind_name
  /agas/time/bind_prefix
  /agas/time/cache/erase_entry
  /agas/time/cache/get_entry
  /agas/time/cache/insert_entry
  /agas/time/cache/update_entry
  /agas/time/decrement_credit
  /agas/time/end_migration
  /agas/time/free
  /agas/time/get_component_typename
  /agas/time/increment_credit
  /agas/time/iterate_names
  /agas/time/iterate_types
  /agas/time/localities
  /agas/time/num_localities
  /agas/time/num_localities_type
  /agas/time/num_threads
  /agas/time/on_symbol_namespace_event
  /agas/time/resolve
  /agas/time/resolve_gid
  /agas/time/resolve_id
  /agas/time/resolve_locality
  /agas/time/resolved_localities
  /agas/time/route
  /agas/time/unbind
  /agas/time/unbind_gid
  /agas/time/unbind_name
  /arithmetics/add
  /arithmetics/divide
  /arithmetics/multiply
  /arithmetics/subtract
  /data/count/tcp/received
  /data/count/tcp/sent
  /data/time/tcp/received
  /data/time/tcp/sent
  /full_empty/count/constructed
  /full_empty/count/destructed
  /full_empty/count/fired
  /full_empty/count/read_dequeued
  /full_empty/count/read_enqueued
  /messages/count/tcp/received
  /messages/count/tcp/sent
  /parcelport/count/tcp/cache-evictions
  /parcelport/count/tcp/cache-hits
  /parcelport/count/tcp/cache-insertions
  /parcelport/count/tcp/cache-misses
  /parcelport/count/tcp/cache-reclaims
  /parcelqueue/length/receive
  /parcelqueue/length/send
  /parcels/count/routed
  /parcels/count/tcp/received
  /parcels/count/tcp/sent
  /parcels/time/tcp/buffer_allocate/received
  /parcels/time/tcp/buffer_allocate/sent
  /runtime/count/component
  /runtime/uptime
  /serialize/count/tcp/received
  /serialize/count/tcp/sent
  /serialize/time/tcp/received
  /serialize/time/tcp/sent
  /statistics/average
  /statistics/max
  /statistics/median
  /statistics/min
  /statistics/rolling_average
  /statistics/stddev
  /threadqueue/length
  /threads/count/cumulative
  /threads/count/cumulative-phases
  /threads/count/instantaneous/active
  /threads/count/instantaneous/all
  /threads/count/instantaneous/pending
  /threads/count/instantaneous/staged
  /threads/count/instantaneous/suspended
  /threads/count/instantaneous/terminated
  /threads/count/objects
  /threads/count/pending-accesses
  /threads/count/pending-misses
  /threads/count/stack-recycles
  /threads/count/stack-unbinds
  /threads/count/stolen-from-pending
  /threads/count/stolen-from-staged
  /threads/count/stolen-to-pending
  /threads/count/stolen-to-staged
: HPX(bad_parameter)
Aborted
pagrubel@carson:~/build/hpx_buildrelease$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants