- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite