我试图在我的桌面上的 ubutu 16.4 上安装 papi。我面临错误,我找不到任何解决方案。也许是因为这是我第一次使用 Papi。我从http://icl.cs.utk.edu/papi/software/index.html下载了 papi 5.5 版。我第一步通过运行 $ .\configure 将它安装在我的机器上,然后它们运行 make,但是当我运行 make test 时,出现以下错误:
make[1]: Leaving directory '/home/kaloon/Downloads/papi-5.5.1/src/ctests'
ctests/zero
Test case 0: start, stop.
-----------------------------------------------
Default domain is: 1 (PAPI_DOM_USER)
Default granularity is: 1 (PAPI_GRN_THR)
Using 20000000 iterations of c += a*b
-------------------------------------------------------------------------
Test type : 1
PAPI_TOT_INS : 200000222
PAPI_TOT_CYC : 180014757
Real usec : 45126
Real cycles : 162093114
Virt usec : 45126
Virt cycles : 180504000
-------------------------------------------------------------------------
Verification: PAPI_TOT_CYC should be roughly real_cycles
NOTE: Not true if dynamic frequency scaling is enabled.
Verification: PAPI_FP_INS should be roughly 40000000
PAPI_TOT_INS Error of 400.00%
zero.c FAILED
Line # 130
Error: FLOPS validation
Makefile.inc:225: recipe for target 'test' failed
make: *** [test] Error 1