gpt4 book ai didi

ubuntu - GROMACS OpenCl Cmake 错误 : detected version mismatch between HWLOC headers and library

转载 作者:行者123 更新时间:2023-12-02 10:56:46 27 4
gpt4 key购买 nike

我首先用 conda 下载了 GROMACS,但发现它无法识别我的 GPU。我的系统正在运行带有 ryzen 3600x 和 Radeon RX Vega 56 的 ubuntu 19.10。我尝试按照 http://manual.gromacs.org/documentation/2019-rc1/install-guide/index.html 上的说明自行编译 gromacs ,并使用以下 cmake 命令:

cmake .. -DGMX_GPU=on -DGMX_USE_OPENCL=on,但我有错误的“hwloc”版本(错误见图1)

任何人都知道如何解决这个问题,或者是否有其他方法可以让 gromacs 重新识别我的 GPU。(本质上就是问题所在)

对 Stack、编译和 Linux 来说都是全新的。这可能不是发布有关此问题的正确位置,但我迫切需要一些帮助。

Screenshot of cmake error -wrong hwloc versioon.

最佳答案

我查了一下手册,并尝试按照where to install gromacs的说明进行操作。 .

错误消息本身似乎 path to the headers and to the libraries aren't set correctly.

您最终希望在 CMakeList.txt 中定义这些变量,将其作为调用参数,或按照说明将它们定义为 ENV 变量。

关于ubuntu - GROMACS OpenCl Cmake 错误 : detected version mismatch between HWLOC headers and library,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61044744/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com