openmm
openmm copied to clipboard
no registered Platform called "OpenCL"
Hi,
My code is running on Ubuntu 22.04. I module load cuda/11.2. Then opemm.py gave such error:
openmm.OpenMMException: There is no registered Platform called "OpenCL" File "xxx/lib/python3.9/site-packages/openmm/openmm.py", line 11790, in getPlatformByName
I checked libOpenCL.so is actually in side lib folder under cuda/11.2.
Is there any cue to solve the issue?
Thanks!
That suggests the plugin didn't load properly. Try this:
from openmm import *
print(Platform.getPluginLoadFailures())
That will print out any plugins that didn't load, and hopefully helpful error messages explaining why. This line will also list all plugins that did get loaded:
print(pluginLoadedLibNames)
Did you figure out the problem?