修复COMPSs跟踪错误:线程X evtset X的PAPI\u读取失败(PAPI\u hwc.c:*)

2024-05-15 02:39:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在跟踪系统(extre)激活的情况下运行COMPSs。我 首先有一个安装问题,但我解决了它感谢这个问题:

How to fix libpapi.so.* cannot open shared object file when running (py)COMPSs with tracing?

然而,现在我面临一个新的PAPI问题。COMPSs运行时似乎 无法正确加载,但Extrae报告此错误:

Extrae: Error! Hardware counter PAPI_L3_TCM (0x80000008) cannot be added in set 1 (thread 0)
Extrae: Error! Hardware counter PAPI_FP_INS (0x80000034) cannot be added in set 1 (thread 0)
Extrae: Error! Hardware counter PAPI_SR_INS (0x80000036) cannot be added in set 2 (thread 0)
Extrae: Error! Hardware counter PAPI_BR_UCN (0x8000002a) cannot be added in set 2 (thread 0)
Extrae: Error! Hardware counter PAPI_BR_CN  (0x8000002b) cannot be added in set 2 (thread 0)
Extrae: Error! Hardware counter PAPI_VEC_SP (0x80000069) cannot be added in set 2 (thread 0)
Extrae: Error! Hardware counter RESOURCE_STALLS (0x40000023) cannot be added in set 2 (thread 0)

尽管我犯了很多错误:

Extrae: Successfully initiated with 1 tasks and 1 threads

WARNING: IT Properties file is null. Setting default values

[   API]  -  Deploying COMPSs Runtime v1.4 (build 20160722-1520.r59)
[   API]  -  Starting COMPSs Runtime v1.4 (build 20160722-1520.r59)

但在启动运行时后,我在一个无限循环中得到:

Extrae: PAPI_read failed for thread 1 evtset 2 (papi_hwc.c:669)
Extrae: PAPI_read failed for thread 0 evtset 1 (papi_hwc.c:669)

我希望即使他们没有硬件也能找到踪迹 PAPI计数器。如何禁用它们或修复错误?你知道吗


Tags: inadded错误withcountererrorbethread
1条回答
网友
1楼 · 发布于 2024-05-15 02:39:36

检查并禁用不可用的PAPI计数器

您的计算机中似乎没有可用的计数器。用途:

papi_avail -a

查看可用的papi计数器。编辑:/opt/COMPSs/Runtime/configuration/xml/tracing/*.xml下的配置文件,并从<counters>部分删除有问题的PAPI计数器。或者,您可以使用:

/opt/COMPSs/Dependencies/extrae/bin/papi_best_set COUNTER_NAME_#1, COUNTER_NAME_#2, COUNTER_NAME_#3, ...

看看PAPI计数器是否有不兼容的地方。你知道吗

禁用所有计数器

如果要禁用所有文件,只需更改文件:

  • 额外的_基本.xml你知道吗
  • 额外的_高级.xml你知道吗
  • 额外的_任务.xml你知道吗

/opt/COMPSs/Runtime/configuration/xml/tracing/文件夹下更改行:

<counters enabled="yes">

用于:

<counters enabled="no">

相关问题 更多 >

    热门问题