0
MIC 용 최신 PAPI 5.4.0.0을 컴파일하고 설치했습니다. 구성 옵션은 다음과 같습니다 :MIC 용 PAPI가 설치되었지만 구성 요소가 올바르게 검색되었지만 PAPI_add_event가 실패 함
CC=icc CXX=icpc ./configure --with-mic --host=x86_64-k1om-linux --with-arch=k1om --with-ffsll --with-walltimer=cycle --with-tls=__thread --with-virtualtimer=clock_thread_cputime_id
문제는 PAPI_add_event가 내 프로그램과 테스트 프로그램에서 항상 실패합니다. 보고 된 오류는 "Invalid argument"입니다. 왜 그런가? 다시 구성하고 다시 설치하려고했지만 문제가 남아 있습니다.
[[email protected] bin]# ./papi_cost
Cost of execution for PAPI start/stop, read and accum.
This test takes a while. Please be patient...
cost.c FAILED
Line # 231
Error in PAPI_add_event: Invalid argument
다음은 'api_component_avail'에 표시된 결과입니다. 그것은 나에게 꽤 평범 해 보입니다. https://software.intel.com/en-us/forums/topic/530598
[[email protected] bin]# ./papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.0.0
Vendor string and code : GenuineIntel (1)
Model string and code : 0b/01 (1)
CPU Revision : 3.000000
CPUID Info : Family: 11 Model: 1 Stepping: 3
CPU Max Megahertz : 1052
CPU Min Megahertz : 842
Hdw Threads per core : 4
Cores per Socket : 60
Sockets : 1
CPUs per Node : 240
Total CPUs : 240
Running in a VM : no
Number Hardware Counters : 2
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found
Active components:
Name: perf_event Linux perf_event CPU counters
Native: 140, Preset: 14, Counters: 2
PMU's supported: perf, knc, perf_raw
--------------------------------------------------------------------------------
component.c PASSED