compiling openmm-2.0

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Jaehyun Park
Posts: 3
Joined: Fri Jul 29, 2011 9:35 am

compiling openmm-2.0

Post by Jaehyun Park » Fri Aug 19, 2011 9:32 am

Dear expers,

I'm trying to compile openmm-2.0 in my gpu machine (CUDA 3.2). But, I got the following errors. Is there any body who can help me?

Thank you so much,
Jae H. Park
-----------------------------------
Linking CXX shared library libOpenMM.so
[ 35%] Built target OpenMM
Linking CXX executable ../../../TestReferenceAndersenThermostat
../../../libOpenMM.so: undefined reference to `GpuGBVISoftcore::getGpuSwitchDerivative() const'
../../../libOpenMM.so: undefined reference to `GpuGBVISoftcore::setQuinticUpperLimit(float)'
../../../libOpenMM.so: undefined reference to `GpuGBVISoftcore::getQuinticUpperLimit() const'
../../../libOpenMM.so: undefined reference to `cudaFree'

User avatar
Mark Friedrichs
Posts: 32
Joined: Fri Jun 09, 2006 11:23 am

RE: compiling openmm-2.0

Post by Mark Friedrichs » Mon Aug 22, 2011 2:10 pm

Hi Jaehyun,

I would first try removing the free energy plugin from the build; the error messages are coming from attempts to link to methods included in the free energy plugin libs. When you run Cmake, set the values of the variables names OPENMM_BUILD_FREE_ENERGY_PLUGIN and OPENMM_BUILD_FREE_ENERGY_CUDA_LIB to 'OFF'.

Mark

User avatar
Jaehyun Park
Posts: 3
Joined: Fri Jul 29, 2011 9:35 am

RE: compiling openmm-2.0

Post by Jaehyun Park » Tue Aug 30, 2011 2:24 pm

Thank you, Mark.
I succeeded to complie openmm-2.0 with CUDA 3.2.

But, whe I run "HelloWaterBox" in the example, I got the error os "invalid argument launching kernel kReduceForces".
Is there any expert who can help a beginner by commemting on such a simple error?

Best,
Jae H. Park


POST REPLY