Open idoOwhd opened 1 year ago
Glad to see that you are interested in PerFlow and that you have successfully installed it. For your question:
i have a problem,can you help me? OS:Rocky Linux 8.7
...... [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/core/graph_perf_data.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/core/bagua_type.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/core/perf_data.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/core/pcg.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/core/cfg.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/collector/dynamic/papi/sampler.cpp.o [ 94%] Building CXX object CMakeFiles/baguatool.dir/src/collector/dynamic/shared_obj_analysis.cpp.o In file included from /share/software_source_code/perflow/PerFlow/src/collector/dynamic/papi/sampler.cpp:1: /share/software_source_code/perflow/PerFlow/src/collector/dynamic/papi/sampler.h:12:10: fatal error: libunwind.h: No such file or directory
^~~~~~~~~~~~~
compilation terminated. make[2]: [CMakeFiles/baguatool.dir/build.make:230: CMakeFiles/baguatool.dir/src/collector/dynamic/papi/sampler.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... In file included from /share/software_source_code/perflow/PerFlow/include/common/utils.h:18, from /share/software_source_code/perflow/PerFlow/include/common/utils.cpp:1: /share/software_source_code/perflow/PerFlow/third_party/dbg/dbg.h:39:76: note: #pragma message: WARNING: the 'dbg.h' header is included in your code base
^
/share/software_source_code/perflow/PerFlow/include/common/utils.cpp: In function ‘void split(char, const char, std::vector<std::__cxx11::basic_string
It seems like you need to install a libunwind library, v1.3.1 is recommended.
PerFlow is a great tool and we are interested in code implementation. However, we encountered some missing files while trying to reproduce it, such as: pag.gml, mpi_mpag.gml, output.json, pag_to_mpag.json, and mpag_perf_data.json. Although we have supplemented these files, we are unaware of their contents. We would greatly appreciate it if you could provide a few simple examples.