Page 1 of 1

cannot find -lOpenMMCuda

Posted: Tue Jun 15, 2010 6:57 am
by jgmbenoit
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

RE: cannot find -lOpenMMCuda

Posted: Wed Jun 16, 2010 8:14 am
by jgmbenoit
Hi,

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

Jerome

RE: cannot find -lOpenMMCuda

Posted: Wed Jun 16, 2010 8:31 am
by cmbruns
What was the solution? Describing it might help others with similar issues.

RE: cannot find -lOpenMMCuda

Posted: Wed Jun 16, 2010 8:41 am
by jgmbenoit
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