Weird problem with libOpenMMCuda

OpenMM Zephyr provides a visual application for running GPU-accelerated molecular simulations.
POST REPLY
User avatar
Trevor Cickovski
Posts: 7
Joined: Thu Nov 10, 2005 9:46 am

Weird problem with libOpenMMCuda

Post by Trevor Cickovski » Wed Apr 13, 2011 11:14 am

Hi,
I was trying to run OpenMM with Cuda and was getting a weird bad_cast error. I confirmed that the following two lines gave me the error:

OpenMM::Platform::loadPluginLibrary("/usr/local/openmm/lib/plugins/libOpenMMCuda.so");
context = new OpenMM::Context(*system, *integrator);

The error is this:
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
Aborted


If I do the same thing with libOpenMM.so (The reference framework), everything is fine. Have you seen this before and do you have any suggestions? I'm really stuck - thanks!
-Trevor

POST REPLY