Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1696 Discussions

Problem Installing Intel Performance Counter Monitor on FreeBSD

shrooters__dave
Beginner
2,114 Views

Hi,

Having difficulty installing the Intel Performance Counter Monitor on Free BSD 10.1-STABLE (super cool looking tool btw thank you for solving the "top" problem!). According to the How To file in the zip download from the Intel website we should "just type make in the main PCM directory". When I do that here is what happens:

[root@sm4u-29 /usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11]# ls
.bdsignore.all          MAC_HOWTO.txt           PCM-Service_Win         cpuasynchcounter.h      msr.h                   pcm-pcie.cpp            types.h
.gitattributes          MacMSRDriver            PCM-TSX_Win             cpucounters.cpp         msrtest.cpp             pcm-power.cpp           utils.cpp
.gitignore              Makefile                PCM_Win                 cpucounters.h           mutex.h                 pcm-sensor.cpp          utils.h
Doxyfile                PCM-Core_Win            TODO                    freegetopt              pci.cpp                 pcm-tsx.cpp             width_extender.h
FREEBSD_HOWTO.txt       PCM-MSR_Win             WINDOWS_HOWTO.rtf       intelpcm.so             pci.h                   pcm.cpp                 winpmem
Intelpcm.dll            PCM-Memory_Win          WinMSRDriver            license-notice.txt      pcm-core.cpp            pmu-query.py            winring0
KSysGuard HOWTO.docx    PCM-NUMA_Win            build_all.bat           license.txt             pcm-memory.cpp          readmem.cpp
KSysGuard HOWTO.pdf     PCM-PCIE_Win            client_bw.cpp           memoptest.cpp           pcm-msr.cpp             readmem.sh
LINUX_HOWTO.txt         PCM-Power_Win           client_bw.h             msr.cpp                 pcm-numa.cpp            realtime.cpp
[root@sm4u-29 /usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11]# make
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 15: Missing dependency operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 17: Need an operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 21: Missing dependency operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 24: Need an operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 25: Missing dependency operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 28: Need an operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 29: Missing dependency operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 33: Need an operator
make: "/usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11/Makefile" line 42: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11
[root@sm4u-29 /usr/local/bin/IntelPerformanceCounterMonitor/IntelPerformanceCounterMonitor-V2.11]#

 

How can we get this to work?

Thanks,
DaveProblem

0 Kudos
1 Reply
shrooters__dave
Beginner
2,114 Views

Solved this. On FreeBSD run gmake instead of make. 

Not sure how this compares to linux, but if gmake is not used on Linux then the FREEBSD_HOWTO.TXT file included in the download from Intel should specify running this command. Otherwise the LINUX_HOWTO.TXT file included in the download from Intel should specify running gmake.

Also, some sort of manual would be nice. I see some links to articles on how to do specific things from the main page but a real manual would be awesome.

Thanks!

0 Kudos
Reply