我正在我的Mac上安装PAPI (10.14.6)
如果在INSTALL.txt中没有有关macos的信息,尝试使用标准安装:
git clone https://bitbucket.org/icl/papi.git
cd papi/src
./configure --prefix=$PWD/install (或者仅仅是./configure)
但是在执行./configure命令后,会弹出以下错误:
checking for timer_create and timer_*ettime symbols in base system... not found checking for timer_create and timer_*ettime symbols in
-lrt... not found checking for timer_create and timer_*ettime symbols in -lrt -lpthread... configure: error: cannot find timer_create and timer_*ettime symbols neither in the base system libraries nor in
-lrt, nor in -lrt -lpthread有人知道我需要安装什么样的软件才能得到那个计时器吗?
或者还有另外一种方式在macos上安装爸爸呢?
发布于 2022-07-04 20:39:06
请注意,PAPI的官方邮件列表是ptools-perfapi@icl.utk.edu。你最好直接在那里发一封电子邮件。
据我所知,MacOS缺乏允许PAPI访问CPU性能计数器的功能。此外,尽管理论上应该可以在没有CPU组件的情况下构建PAPI,但默认情况下,PAPI总是配置perf_event和perf_event_uncore组件,因为它们依赖于perf_event系统调用才能工作。
https://stackoverflow.com/questions/69531604
复制相似问题