Fixing COMPSs tracing error: PAPI_read failed for thread X evtset X (papi_hwc.c:*)
Fixing COMPSs tracing error: PAPI_read failed for thread X evtset X (papi_hwc.c:*)
我正在尝试 运行 启用跟踪系统 (extrae) 的 COMPS。我
首先有一个安装问题,但我解决了它感谢这个问题:
但是,现在我面临一个新的 PAPI 问题。 COMPS 运行时间似乎
已正确加载但 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)
但是在开始 运行time 之后,我陷入了无限循环:
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 计数器。如何禁用它们或修复错误?
检查并禁用不可用的 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 计数器集是否存在某些不兼容问题。
禁用所有计数器
如果你想禁用所有这些,只需更改文件:
- extrae_basic.xml
- extrae_advanced.xml
- extrae_task.xml
在 /opt/COMPSs/Runtime/configuration/xml/tracing/
文件夹下并更改行:
<counters enabled="yes">
用于:
<counters enabled="no">
我正在尝试 运行 启用跟踪系统 (extrae) 的 COMPS。我 首先有一个安装问题,但我解决了它感谢这个问题:
但是,现在我面临一个新的 PAPI 问题。 COMPS 运行时间似乎 已正确加载但 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)
但是在开始 运行time 之后,我陷入了无限循环:
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 计数器。如何禁用它们或修复错误?
检查并禁用不可用的 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 计数器集是否存在某些不兼容问题。
禁用所有计数器
如果你想禁用所有这些,只需更改文件:
- extrae_basic.xml
- extrae_advanced.xml
- extrae_task.xml
在 /opt/COMPSs/Runtime/configuration/xml/tracing/
文件夹下并更改行:
<counters enabled="yes">
用于:
<counters enabled="no">