Hello,
I am attempting to build dynamic_omm.x with the supplied files. Although, upon running 'make all' I receive the following error:
ommstuff.cpp:1566:105: error: too many arguments to function ‘int OpenMM_AmoebaStretchBendForce_addStretchBend(OpenMM_AmoebaStretchBendForce*, int, int, int, double, double, double, double)’
The corresponding line in ommstuff.cpp is:
OpenMM_AmoebaStretchBendForce_addStretchBend( amoebaStretchBendForce,
*(angleIndexPtr)-1, (*(angleIndexPtr+1))-1, (*(angleIndexPtr+2))-1,
bondLengthAB, bondLengthCB, OpenMM_RadiansPerDegree*(*(angbnd__.anat +index)),
(OpenMM_KJPerKcal/OpenMM_NmPerAngstrom)*angpot__.stbnunit*(*(strbnd__.sbk+2*ii)),
(OpenMM_KJPerKcal/OpenMM_NmPerAngstrom)*angpot__.stbnunit*(*(strbnd__.sbk+2*ii+1)) );
Any help would be greatly appreciated.
-Sean
OpenMM Tinker Make Error
- Lee-Ping Wang
- Posts: 102
- Joined: Sun Jun 19, 2011 5:14 pm
Re: OpenMM Tinker Make Error
Hi Sean,
I know about this problem, and it comes from a recent (<6 mos.) change to the OpenMM API. You're probably linking against version of OpenMM that is too old, and it doesn't have the API change.
Try with the newest development build of OpenMM (git clone https://github.com/pandegroup/openmm) and the latest release of TINKER (http://dasher.wustl.edu/tinker/).
Thanks,
- Lee-Ping
I know about this problem, and it comes from a recent (<6 mos.) change to the OpenMM API. You're probably linking against version of OpenMM that is too old, and it doesn't have the API change.
Try with the newest development build of OpenMM (git clone https://github.com/pandegroup/openmm) and the latest release of TINKER (http://dasher.wustl.edu/tinker/).
Thanks,
- Lee-Ping
Re: OpenMM Tinker Make Error
Lee-Ping,
Thank you. It is now working correctly.
-Sean
Thank you. It is now working correctly.
-Sean