- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am trying to measure memory traffic in my code, which I am building using cmake.
When I compiled my test case I used:
icpc -O3 -mkl -std=c++11 -o daxpy/daxpy_test -I/${PCM_ROOT}/ -L/${PCM_ROOT}/cpucounters.o /${PCM_ROOT}/pci.o /${PCM_ROOT}/msr.o /${PCM_ROOT}/client_bw.o /${PCM_ROOT}/cpucounters.o daxpy/daxpy.cpp -lpthread
So obviously in my cmake file I need to link the above libraries etc. in my cmake I've got an PCM_INCLUDE_DIRS and PCM_LIBS. Also I have the cpucounters.h linked in the relevant files.
Nonetheless I receive the error:
undefined reference to `PCM::getInstance()' and so on....
Could somebody give me an example cmake file or other suggestions on what I am doing incorrectly...
Thanks,
Friedrich Grabner
- Tags:
- Parallel Computing
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we are not using CMake but maybe it will be helpful for you to check the intelpcm.so directory that contains a Makefile to build pcm shared memory library.
Thanks,
Roman

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page