Compile Errors

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Mohd Ismail
Posts: 8
Joined: Sat Mar 06, 2010 10:28 pm

Compile Errors

Post by Mohd Ismail » Sat Feb 11, 2012 1:05 am

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.

User avatar
Mohd Ismail
Posts: 8
Joined: Sat Mar 06, 2010 10:28 pm

Re: Compile Errors

Post by Mohd Ismail » Sat Feb 11, 2012 11:14 pm

Nevermind. I solved the problem. I was missing py-dom-xpath.

POST REPLY