crt/link.stub:26:10: fatal error: crt/host_defines.h: No such file or directory

deepmd-kit cuda12.4 offline包里带的cuda不全(实际上似乎main, conda-forge, nvidia这些channel里都没有cudatoolkit 12)
但是lammps的cmake已经加上cuda了,也给了include和link directories,为啥就不从系统cuda里找呢?

cp -a /usr/local/cuda-12.4/include/* <deepmd-kit>/include/
cp -a /usr/local/cuda-12.4/lib64/* <deepmd-kit>/lib/

暴力解决。。。

posted @ 2024-05-29 09:42  花花今天没吃药  阅读(122)  评论(0编辑  收藏  举报