LAMMPS compilation failed: error "undefined reference to cudaGetDriverEntryPointByVersion" in libc10_cuda.so #44
Replies: 2 comments 4 replies
-
|
Hey! This looks like an issue of trying to use a version of libtorch (here libc10_cuda.so, which is part of the C++ API of torch) that was compiled with a different version of cuda than the one available on this machine. It looks like you are using torch from conda, is this correct? In this case, I would advise also using the cuda libraries from conda. Can you share the output of |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your reply. conda listconda infonvcc -versionAnd I also used torch from conda, but it return me the same error.when I run the warning is after that using finally output is and I have got a file which name is 'liblammps.a', when the error happened. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
why I can not compile lam file after using below Instruction
I copy the error information, I need help
How can I defuse this question ?
Problem Description
When compiling LAMMPS (with the ML-METATOMIC package enabled), the linking stage failed and the error message
undefined reference to cudaGetDriverEntryPointByVersionwas reported. It seems that there is a conflict between the CUDA library in the conda environment and the system's CUDA library.error position
other information
Beta Was this translation helpful? Give feedback.
All reactions