cannot find -lOpenMMCuda

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Jerome BENOIT
Posts: 6
Joined: Wed Oct 14, 2009 5:49 am

cannot find -lOpenMMCuda

Post by Jerome BENOIT » Tue Jun 15, 2010 6:57 am

Hello,

I am trying to build OpenMM on my Linux box (amd64) from source with CUDA support (version 3.0):
at the very end of the build process I get the message:

cannot find -lOpenMMCuda

What is going on ?
How can I fix it ?


Please note tha cmake is rather new for me
(I am rather familiar with autoconf tools).

Thanks in advance,
Jerome

User avatar
Jerome BENOIT
Posts: 6
Joined: Wed Oct 14, 2009 5:49 am

RE: cannot find -lOpenMMCuda

Post by Jerome BENOIT » Wed Jun 16, 2010 8:14 am

Hi,

finally I find the way to do so:
sorry for the noise.

Jerome

User avatar
Christopher Bruns
Posts: 32
Joined: Thu Apr 07, 2005 1:10 pm

RE: cannot find -lOpenMMCuda

Post by Christopher Bruns » Wed Jun 16, 2010 8:31 am

What was the solution? Describing it might help others with similar issues.

User avatar
Jerome BENOIT
Posts: 6
Joined: Wed Oct 14, 2009 5:49 am

RE: cannot find -lOpenMMCuda

Post by Jerome BENOIT » Wed Jun 16, 2010 8:41 am

Hello,

I added the following option to cmake

-D OPENMM_BUILD_CUDA_LIB=ON
-D OPENMM_BUILD_FREE_ENERGY_CUDA_LIB=ON
-D OPENMM_BUILD_FREE_ENERGY_PLUGIN=ON

I thought the cmake was able to detect CUDA:
as a matter of fact, CUDA seems poorly detectedby cmake.

hth,
Jerome

POST REPLY