Hi there
I managed to get the latest OpenMM to compile from source. However I am trying to build the Python API as mentioned in the user guide, and get
siddharth@node505 ~/Downloads/build_openmm $ make PythonInstall
-- Configuring done
-- Generating done
-- Build files have been written to: /Network/filer003/aws_homes/siddharth/Downloads/build_openmm
[ 0%] Built target ApiWrappers
[ 50%] Built target OpenMM
[ 50%] Installing OpenMM Python binary module...
....
creating /opt/zymeworks/base/13/lib/python2.7/site-packages/simtk
error: could not create '/opt/zymeworks/base/13/lib/python2.7/site-packages/simtk': Permission denied
[100%] Built target PythonInstall
I have specified a different installation directory for the rest of the process, however it seems to be trying to install to a non-writable location for the wrappers. How do I install the Python API in this case?
I have set the OPENMM_PLUGIN_DIR and LD_LIBRARY_PATH variables to point to the openmm installation directory, but then I try and use the Python wrappers, I get
>>> from simtk.openmm.app import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/openmm-7.0.1/lib/python2.7/site-packages/simtk/openmm/__init__.py", line 19, in <module>
from simtk.openmm.openmm import *
File "/usr/local/openmm-7.0.1/lib/python2.7/site-packages/simtk/openmm/openmm.py", line 28, in <module>
_openmm = swig_import_helper()
File "/usr/local/openmm-7.0.1/lib/python2.7/site-packages/simtk/openmm/openmm.py", line 24, in swig_import_helper
_mod = imp.load_module('_openmm', fp, pathname, description)
ImportError: /usr/local/openmm-7.0.1/lib/python2.7/site-packages/simtk/openmm/_openmm.so: undefined symbol: _ZN6OpenMM7Context12reinitializeEv
>>>
indicating that it is still looking in the global location (/usr/local)