-
Notifications
You must be signed in to change notification settings - Fork 24
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
undefined::reference error during building from source #63
Comments
OpenMM, like any other package on conda-forge, are built with the new C++11 ABI. The packages from the PyTorch channel are build with the old C++ ABI, so they aren't compatible. From the error message, I can see that you are building with the old C++ ABI, so I won't link with OpenMM from conda-forge. |
Thank you, this solved my problem. It seems that I've been compiling OpenMM with the new C++11 ABI and setting the Error:
|
I hit another error while importing OpenMM (installed from source using
|
I fixed this issue by adding |
I apologize for posting multiple messages here. Now, I get an error when I do
|
I was able to fix this issue by compiling the plugin code with |
Provided you build all the components with the old C++ ABI, it should work. |
Ok, thanks! Any suggestions about this one? |
Looks your are linking OpenMM and PyTorch with the new C++ ABI; and the C++ runtime ( |
I have updated GNU from 8.5 to 11.2 and Cudatoolkit from 11.3 to 11.6 and still getting the linker error. |
I found two methods for fixing the linker errors coming from the C++11 ABI: 1- Install PyTorch from source which sets 2- Create a conda virtual environment from the yml file I uploaded here and follow the commands below for building and installing openmm-torch
|
Hello,
I’m trying to build Opemm-torch from source, and I get an
undefined reference
error. This error happens when I install Pytroch from PyTorch channel via Conda. I believe this error relates to the compiling of OpenMM with the old C++ ABI. I tried installing OpenMM from source with the new C++11 AB, but still, I got the same error.Environment config:
Commands for compiling Opemm-torch
Error:
Any idea?
Thank you.
The text was updated successfully, but these errors were encountered: