Closed timloose closed 1 year ago
Hi @timloose ,
If I remember correctly, you need to download the "cxx11 ABI" version of libtorch when building with Kokkos+CUDA.
Best wishes, Anders
Hey Anders,
Thanks for the reply. I thought I had done that, but I redownloaded to check- still getting the same error. I looked into it more and it seems like the real issue is that the glibc version on my cluster is insufficient. I went ahead and compiled without Kokkos in the meantime with no issues.
Best, Tim
Ah, that rings a bell!
If you have very light Allegro models and think you could benefit from the Kokkos acceleration, you can build pytorch yourself, which will just use your local glibc version.
I'm having trouble linking the final lmp executable with libtorch and Kokkos.
My environment is gcc/9.1.0 (same issue with gcc 10.1.0 and 10.2.0, and different issues with older gcc versions) cuda/11.2 libtorch/1.12.0 cudnn/8.4.1 cmake/3.19 mkl/2017
The following cmake command succeeded (with a warning about save runtime search paths for lmp)
The error I receive when I actually make LAMMPS is:
My assumption is that I have either not found a good version of gcc or libtorch.