[chimerax-users] Loading OpenMM platform plugins
Thomas Mulvaney
mulvaney+ml at kibu.com.au
Tue Sep 15 03:28:43 PDT 2020
Hi,
I've been having fun developing a plugin for ChimeraX and want to firstly
thank
everyone involved for such a great platform to build upon.
I'm starting to introduce a molecular dynamics component and was excited to
see that
ChimeraX ships with OpenMM support.
Unfortunately, the OpenMM Platform plugins (which add CPU, CUDA, OpenCL
etc) functionality, do
not seem to be loaded by default at least in ChimeraX 1.1 on macOS.
I couldn't see any documentation about how to load these plugins,
but for anyone running into this issue, the following code got things
working for me:
------
import chimerax
openmm_plugins_dir = os.path.join(chimerax.app_lib_dir, 'plugins')
Platform.loadPluginsFromDirectory(openmm_plugins_dir)
------
Kind regards,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200915/bbd59770/attachment.html>
More information about the ChimeraX-users
mailing list