Page 1 of 1

Compile Errors

Posted: Sat Feb 11, 2012 1:05 am
by farid
I'm trying to build OpenMM 4.0 on CentOS 6. It keeps dying at 89% with error /usr/bin/ld: cannot find -lOpenMMOpenCL

A few things, I chose to turn off opencl, why does cmake keeps trying to link/build it? Is there a way to turn it off?

If I search (find / -name libOpenMMOpenCL*), it shows the library is present at /usr/local/openmm/lib/plugins, and it should be able to find that library because CMAKE_INSTALL_PREFIX is set to /usr/local/openmm. But it could not find it. This is puzzling. Is there a setup somewhere where I can point the directory? -DCMAKE_OPENMM_PLUGINS perhaps?

I have Cuda installed and with that, as far as I know, also installs OpenCL. (cuda ver 4.0). Nvidia driver version 290.

Re: Compile Errors

Posted: Sat Feb 11, 2012 11:14 pm
by farid
Nevermind. I solved the problem. I was missing py-dom-xpath.