Weird problem with libOpenMMCuda
Posted: 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
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