1

我试图在我的桌面上的 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
4

1 回答 1

1

只是从 papi 的邮件列表中发布答案。

这是没有良好 FP 计数器的机器上的一个已知错误(有点像最近的英特尔芯片)。我们回退到 PAPI_TOT_INS 但不更改预期值。

在这种情况下,我们可能应该禁用验证,或者更好的是,使用更稳定的计数器(如 total_instructions)进行所有常规 PAPI 验证,并将 FP 验证移至一组单独的实用程序。

文斯

于 2017-09-25T21:36:41.837 回答