When I use cmake to install the lammps [kokkos] on the wsl2 [ubuntu 24]. The cuda version is 12.5. The error is
CMake Error at Modules/Packages/KOKKOS.cmake:137 (message):
Required cuFFT library not found. Check your environment or set
CUFFT_LIBRARY to its location
Call Stack (most recent call first):
CMakeLists.txt:702 (include)
I find that the folder of cuda only have a file named lib64 not a folder of lib64. The content of lib64 in the targets directory. How can I fix this problem? Thank you very much
It is not at all clear what you mean by this.
This seems to be a problem of your Linux installation/configuration. We are not experts in configuring and setting up WSL2 here.