2016-07-22 52 views
3

我想運行跟蹤系統(extrae)激活COMPSs。我 首先必須安裝問題,但我解決它感謝這樣一個問題:修復COMPSs跟蹤錯誤:PAPI_read失敗的線程X evtset X(papi_hwc.c:*)

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計數器。我如何禁用它們或修復錯誤?

回答

5

檢查並禁用不可用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

under /opt/COMPSs/Runtime/configuration/xml/tracing/ f老年人和更改行:

<counters enabled="yes"> 

爲:

<counters enabled="no">