Closed PythonFZ closed 2 years ago
@PythonFZ I would try downloading libtorch
separately (see https://github.com/mir-group/pair_allegro#libtorch) and make sure to get the C++11 ABI version.
Using libtorch
and cudnn > 10 solved the issue. Thanks a lot.
I'm encountering some issues compiling lammps with pair_allegro, I'm using spack with the following modules:
Using the patch script and
cmake ../cmake -DCMAKE_PREFIX_PATH=`python -c 'import torch;print(torch.utils.cmake_prefix_path)'`
with
the lammps build process fails with
Does
pair_allegro
require a different pytorch version? I found https://github.com/mir-group/pair_allegro/blob/c8b0738a81303e0b46d4a50c77fd066993c7d063/.github/workflows/tests.yml#L12 and assumed it is similar topair_nequip
?