gromacs does not uses cuda

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
vinod jani
Posts: 14
Joined: Sun Dec 07, 2008 9:16 pm

gromacs does not uses cuda

Post by vinod jani » Tue May 19, 2009 4:52 am

Hello
I have installed the gromacs from openMM gromacs source code I have also compiled openMM libraries ,I have added path of openMM library through LD_LIBRARAY_PATh and also kept openmm lib file in gromacs/lib/openmm folder even though the mdrun is not using GPUs.
since it not printing openmm:cuda or openmm:refrence on console when i am running.
where i am going wrong

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

RE: gromacs does not uses cuda

Post by Peter Eastman » Tue May 19, 2009 3:57 pm

Hi Vinod,

We're just about to release a new version of OpenMM, so rather than spending time figuring out what's happening with the old version, it would probably make more sense to wait for the new version and try it out. If you still have problems then, we can help you debug them. The new release should be posted either later today or tomorrow.

Peter

User avatar
Christian Hübner
Posts: 9
Joined: Thu Jan 22, 2009 4:10 am

RE: gromacs does not uses cuda

Post by Christian Hübner » Wed May 20, 2009 2:04 pm

I do have the same problem: I installed openmm preview 3 and openmm-gromacs preview 3 according to the directions on my macbook pro, but get the message "OpenMM Platform: Reference". Do I have to invoke mdrun-openmm with a special cuda option?

Christian

User avatar
Christian Hübner
Posts: 9
Joined: Thu Jan 22, 2009 4:10 am

RE: gromacs does not uses cuda

Post by Christian Hübner » Wed May 20, 2009 2:05 pm

I do have the same problem: I installed openmm preview 3 and openmm-gromacs preview 3 according to the directions on my macbook pro, but get the message "OpenMM Platform: Reference". Do I have to invoke mdrun-openmm with a special cuda option?

Christian

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

RE: gromacs does not uses cuda

Post by Peter Eastman » Wed May 20, 2009 2:11 pm

Do you have CUDA in your library path? Before running Gromacs, you probably want to type something like

export DYLD_LIBRARY_PATH=/usr/local/openmm/lib:/usr/local/cuda/lib

Peter

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

RE: gromacs does not uses cuda

Post by Peter Eastman » Wed May 20, 2009 2:28 pm

Also make sure that Gromacs knows where to find the plugin libraries. If you've installed OpenMM somewhere other than /usr/local/openmm, you need to set the OPENMM_PLUGIN_DIR environment variable to point to (openmm)/lib/plugins.

Peter

User avatar
vinod jani
Posts: 14
Joined: Sun Dec 07, 2008 9:16 pm

RE: gromacs does not uses cuda

Post by vinod jani » Thu May 21, 2009 2:56 am

Hello peter,
I have added the library path and now its showing
OpenMM Platform: Reference this means its running on CPU.So is their any other way of submitting on GPUs.
Secondly now when running on CPU its not generating
any output.What could be reason for this?
I have compiled both openMM and gromacs new version.

User avatar
Christian Hübner
Posts: 9
Joined: Thu Jan 22, 2009 4:10 am

RE: gromacs does not uses cuda

Post by Christian Hübner » Thu May 21, 2009 12:56 pm

Thank you Peter for this tip. The CUDA lin path was missing. Unfortunately, now I get a memory allocation error:
cudaMalloc CUDAStream::Allocate failed initialization error
Maybe, the Geforce 9600M GT in my Macbook Pro is the problem?

Christian

User avatar
Christian Hübner
Posts: 9
Joined: Thu Jan 22, 2009 4:10 am

RE: gromacs does not uses cuda

Post by Christian Hübner » Thu May 21, 2009 1:46 pm

Just a follow up. During a fresh Install of Cuda Toolkit, I found that the kext is not installed by default. Now I installed it, but the new error message says: Bus error
Maybe I try it on a Linux machine.

Christian

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

RE: gromacs does not uses cuda

Post by Peter Eastman » Fri May 22, 2009 9:46 am

Two questions. First, are you certain you are using preview release 3? The error message you quoted looks like it was generated by PR2, not PR3.

Second, how large is the system you are trying to simulate? The stream allocation failure may simply indicate you don't have enough video memory. (And how much video memory do you have?)

Peter

POST REPLY