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
cannot find -lOpenMMCuda
- Jerome BENOIT
- Posts: 6
- Joined: Wed Oct 14, 2009 5:49 am
RE: cannot find -lOpenMMCuda
Hi,
finally I find the way to do so:
sorry for the noise.
Jerome
finally I find the way to do so:
sorry for the noise.
Jerome
- Christopher Bruns
- Posts: 32
- Joined: Thu Apr 07, 2005 1:10 pm
RE: cannot find -lOpenMMCuda
What was the solution? Describing it might help others with similar issues.
- Jerome BENOIT
- Posts: 6
- Joined: Wed Oct 14, 2009 5:49 am
RE: cannot find -lOpenMMCuda
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
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