Hi. I have a question.
I am trying to install Openmm from the binaries on a window xp & NVIDIA. I installed Visual studio 2005(a.k.a VS 8), CUDA 2.2 and .NETFRAMEWORK.
And I set the System variabl Path like the 'OpenMM Installation Instructions'
But, when I run the HelloArgon.sln,
I can't see the output, but I can see the error message (You get the error message : "The application failed to initialize properly(0xc0150002).Click OK to terminate the application")
In 'OpenMM Installation Instructions' manual,
this error message is though because OpenMM is trying to run the ATI GPU software(Brook).
But, in my case, OpenMM is trying to run the NVIDIA GPU.
Please, somebody help me.
Run Example Files problem
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
RE: Run Example Files problem
Hi, Cho. A few things to try:
(1) Comment out the loadPluginsFromDirectory() call at the beginning of the simulateArgon() fucntion. Then verify that you are able to run without the plugins (meaning you'll be using the Reference platform). If that works, then the problem is most likely trouble with the Brook plugin.
(2) Assuming you are able to run with the Reference platform, go to wherever you installed OpenMM and look in OpenMM/lib/plugins. If you see anything there with "Brook" in the name, delete it. Then put back the loadPluginsFromDirectory() call and let us know what happens.
Regards, Sherm
(1) Comment out the loadPluginsFromDirectory() call at the beginning of the simulateArgon() fucntion. Then verify that you are able to run without the plugins (meaning you'll be using the Reference platform). If that works, then the problem is most likely trouble with the Brook plugin.
(2) Assuming you are able to run with the Reference platform, go to wherever you installed OpenMM and look in OpenMM/lib/plugins. If you see anything there with "Brook" in the name, delete it. Then put back the loadPluginsFromDirectory() call and let us know what happens.
Regards, Sherm
- ryu jaeyong
- Posts: 1
- Joined: Mon Jul 27, 2009 11:53 pm
RE: Run Example Files problem
Thanks for your reply.
I tried doing as your comments
1)comment out the loadPluginsFromDirectory()call
2)delete anything with "Brook" in OpenMM/lib/plugins
But, tha doesn't work, I can see only same error message.
I tried doing as your comments
1)comment out the loadPluginsFromDirectory()call
2)delete anything with "Brook" in OpenMM/lib/plugins
But, tha doesn't work, I can see only same error message.
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
RE: Run Example Files problem
In that case it sounds as though the example is not finding any library, even the basic OpenMM library containing the Reference platform. Depending what OS you're running, you either need to set the PATH (Windows) or LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (Mac). Please see Section 4 of the installation instructions.
If you have any more trouble you may want to delete everything and reinstall from scratch, being very careful to follow the instructions exactly.
Sherm
If you have any more trouble you may want to delete everything and reinstall from scratch, being very careful to follow the instructions exactly.
Sherm
- Akila Gothandaraman
- Posts: 3
- Joined: Fri Aug 14, 2009 9:57 am
RE: Run Example Files problem
I have installed OpenMM (from source) in /usr/local/openmm. The HelloArgon file in OpenMMPreview3-Source within /usr/local/openmm compiles fine. I have installed the additional examples OpenMM-Examples in my home directory and have added /usr/local/openmm/lib to LD_LIBRARY_PATH. But running make gives me the error that it cannot find -lOpenMM.
- Michael Sherman
- Posts: 807
- Joined: Fri Apr 01, 2005 6:05 pm
RE: Run Example Files problem
Hi, Akila. A few thoughts:
- are you on Linux or Mac? Mac uses a different environment variable name for the library path.
- I am confused about the specific error you're getting. Do you mean literally "-lOpenMM"? That string would appear at link time rather than run time.
- Have you checked /usr/local/openmm/lib to make sure the libraries actually were installed there correctly?
Regards, Sherm
- are you on Linux or Mac? Mac uses a different environment variable name for the library path.
- I am confused about the specific error you're getting. Do you mean literally "-lOpenMM"? That string would appear at link time rather than run time.
- Have you checked /usr/local/openmm/lib to make sure the libraries actually were installed there correctly?
Regards, Sherm