-
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
Error compiling Tests from source in Linux #92
Comments
I get the same error when using OpenMM 7.5 (openmm/openmm@a9cfd7f) |
That's correct. If you're compiling the latest openmm-torch code from source, you should also have compiled the most recent OpenMM code from source. You didn't say what version of either you were using, but you did later mention OpenMM 7.5 which is over three years old. |
I am trying the latest commits from the master branch of both openmm and openmm-torch. Should I expect that to work? |
I cannot pinpoint what the exact source of the error was, but it was an environment issue. conda install -c conda-forge cudatoolkit-dev=11.2 cmake make cython swig fftw doxygen numpy cudatoolkit=11.2 gxx_linux-64=10.3 sysroot_linux-64=2.17 pytorch-gpu=1.12 I will leave this for reference, but I am closing the issue. |
Hi, I am having trouble compiling openmm-torch.
After installing the necessary dependencies I run CMake with:
Then I compile, which goes fine until the tests
Naturally the function OpenMM::throwException exists and is present in libOpenMM.so, the compilation line generated by CMake does include -lOpenMM, so it should have access to that function.
I am using the master branch of both OpenMM (openmm/openmm@d1678fb) and OpenMM-torch (994f92f).
The compilation line for this particular file is:
My suspicion is that openmm-torch is only compatible with a certain range of openmm versions, but I did not see a reference to such thing in the documentation.
Any clues are appreciated.
The text was updated successfully, but these errors were encountered: