Open wujialong163 opened 1 year ago
Yes, we will fix it soon!
May I ask how to solve the problem of data conversion failure in the graph.cpp file below?
/home/wujialong/software/PerFlow/src/core/graph.cpp:80:26: error: cannot convert ‘igraph_vector_t’ to ‘igraph_vector_int_t’ 80 | &vtypes, nullptr, nullptr); | ^ |
---|---|---|
igraph_vector_t* |
The type of the function variable in the attributes. c file is " igraph_vector_int_t *gtypes " . Do I need to make any changes?
May I ask how to solve the problem of data conversion failure in the graph.cpp file below?
/home/wujialong/software/PerFlow/src/core/graph.cpp:80:26: error: cannot convert ‘igraph_vector_t’ to ‘igraph_vector_int_t’ 80 | &vtypes, nullptr, nullptr); | ^
~~ | | | igraph_vector_t*
I have not been able to reproduce this issue in my environment, I'm guessing it's caused by igraph version (I'm using v0.9.1), or is it possible to turn on the compilation option to force conversions?
Is there an option to ban PAPI?
Is there an option to ban PAPI?
Sorry, we implement PerFlow's data collection module by directly using PAPI APIs. If you disable PAPI, it will not be installed correctly.
I would like to ask the reason for this error in PAPI. I encountered this error on both machines x_86 and arm, with a .gml file generated, but it seems incomplete.
PAPI_add_events(EventSet, (int *)Events, NUM_EVENTS), ErrCode: Component containing event is disabled PAPI_overflow(EventSet, PAPI_TOT_CYC, this->cyc_sample_count, 0, _papi_overflow_handler), ErrCode: Component Index isn't set PAPI_start(EventSet), ErrCode: Component Index isn't set
该邮件从移动设备发送
------------------ 原始邮件 ------------------ 发件人: "yuyangJin/PerFlow" @.>; 发送时间: 2023年8月15日(星期二) 晚上8:55 @.>; @.**@.>; 主题: Re: [yuyangJin/PerFlow] Utils. h file error (Issue #2)
Is there an option to ban PAPI?
Sorry, we implement PerFlow's data collection module by directly using PAPI APIs. If you disable PAPI, it will not be installed correctly.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I would like to ask the reason for this error in PAPI. I encountered this error on both machines x_86 and arm, with a .gml file generated, but it seems incomplete. PAPI_add_events(EventSet, (int *)Events, NUM_EVENTS), ErrCode: Component containing event is disabled PAPI_overflow(EventSet, PAPI_TOT_CYC, this->cyc_sample_count, 0, _papi_overflow_handler), ErrCode: Component Index isn't set PAPI_start(EventSet), ErrCode: Component Index isn't set 该邮件从移动设备发送 … ------------------ 原始邮件 ------------------ 发件人: "yuyangJin/PerFlow" @.>; 发送时间: 2023年8月15日(星期二) 晚上8:55 @.>; @.**@.>; 主题: Re: [yuyangJin/PerFlow] Utils. h file error (Issue #2) Is there an option to ban PAPI? Sorry, we implement PerFlow's data collection module by directly using PAPI APIs. If you disable PAPI, it will not be installed correctly. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Please see https://ptools-perfapi.eecs.utk.narkive.com/zqC46WJG/make-test-failed-papi-tot-cyc-is-not-available
The reason for the error here is because the utils. h file does not include # include?
/home/wujialong/software/PerFlow/include/common/utils.h:79:6: error: variable or field ‘ReadHashMap’ declared void 79 | void ReadHashMap(std::unordered_map<keyType, valueType> &m, | ^
~~/home/wujialong/software/PerFlow/include/common/utils.h:79:23: error: ‘unordered_map’ is not a member of ‘std’ 79 | void ReadHashMap(std::unordered_map<keyType, valueType> &m, | ^~~~~