Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue #47

Open
YuanbinLiu opened this issue Jan 26, 2024 · 1 comment
Open

Installation issue #47

YuanbinLiu opened this issue Jan 26, 2024 · 1 comment

Comments

@YuanbinLiu
Copy link

Hi, I am just trying to compile the nequip package with lammps. But ran into the following issue, could you give me any ideas about this issue?

[100%] Linking CXX executable lmp
ld.lld: error: /u/envs/lammps/lib/python3.10/site-packages/torch/lib/libc10.so: undefined reference to pthread_setname_np [--no-allow-shlib-undefined]
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [CMakeFiles/lmp.dir/build.make:111: lmp] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: CMakeFiles/lmp.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

@Linux-cpp-lisp
Copy link
Collaborator

Hi @YuanbinLiu ,

I've never seen anything like this before, but it looks like a version issue / incompatibility between PyTorch and your system unrelated to pair_nequip. It is sometimes necessary to build libtorch from source if the libraries on your system are not compatible with the prebuilt binaries from PyTorch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants