-
Notifications
You must be signed in to change notification settings - Fork 25
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
TestMLPotential.py fails #27
Comments
Which platform are you using? This probably means a plugin is failing to load, most likely because a dependent library can't be found. What is the value of |
I am using the CUDA platform.
and
it seems a few shared objects can't be found. |
See the last paragraph of openmm/openmm-torch#67. You need to add the pytorch |
that solved it! thank you for your help! |
If I change the device from
I think this is consistent with what has been reported here, and a fix has been merged here as far as I can tell. |
Yes, the fix ought to be in the latest dev build. |
just to make sure I do this correct:
|
|
It looks like for the last couple of months, it was only creating dev builds for CUDA 11. We really need to get them building again. |
I have now compiled the
when I compile from source and install using |
It ought to have the fix. Make sure you're really using the version you compiled, and that conda hasn't installed another copy automatically. |
I think it is using the compiled version. I was careful not to install anything that would bring in openMM as a dependency. Also, the package build/channel tags indicate pypi, which I guess was used in
I also double-checked that the correct |
I did some double-checking just to make sure that I am not using a different |
That sounds like you have the right version. I'd like to see if I can reproduce it. What versions of Pytorch and CUDA are you using? |
To make matters a bit simpler I am now using the conda openmm_dev |
It's working for me. What version of the OpenMM-ML code are you using? I'm testing with the latest code from the main branch. Can you post the complete output of running the test? |
yes, I am also testing with the lastest code from the main branch. And, just to make sure we are talking about the same thing: the test runs fine on The full output is:
|
Found it! This actually turned out to be unrelated to the fix in openmm/openmm#3533. The problem was that when we created the module, we didn't register The fix is in #28. |
Thank you very much for your help and the quick fix! |
Sorry for the cross package issue --- I think this might involve
openMM-torch
, but I get the error executing the test script ofopenmm-ml
, so I am posting here. Running the test script I getI am not super sure where the problem originates from. I have built
openMM-torch
from source with the nightly buildopenMM
and it seemed to have passed all the necessary tests. But when runningmake PythonInstall
I get a lot of warnings (it runs successfully though):is this expected?
The text was updated successfully, but these errors were encountered: