Error compiling github version of OpenMM
Posted: Thu Jul 14, 2016 3:40 pm
Hi Dr. Eastman,
I'm trying to compile the latest github version of OpenMM on a linux cluster and getting the following error on executing make
[ 97%] Creating OpenMM Python swig input files...
Traceback (most recent call last):
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 719, in <module>
main()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 693, in main
sBuilder.writeSwigFile()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 654, in writeSwigFile
self.writeClassDeclarations()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 338, in writeClassDeclarations
docstring = striphtmltags(docstring)
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 52, in striphtmltags
s = re.sub('\s*(<ul>.*?</ul>\s*)', replace_ul_tags, s, flags=re.MULTILINE | re.DOTALL)
TypeError: sub() got an unexpected keyword argument 'flags'
make[2]: *** [python/src/swig_doxygen/swig_lib/python/pythonprepend.i] Error 1
make[1]: *** [wrappers/python/CMakeFiles/BuildModule.dir/all] Error 2
make: *** [all] Error 2
I've recompiled the latest doxygen, but am still seeing this error. What might be the fix for this?
Thank you.
I'm trying to compile the latest github version of OpenMM on a linux cluster and getting the following error on executing make
[ 97%] Creating OpenMM Python swig input files...
Traceback (most recent call last):
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 719, in <module>
main()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 693, in main
sBuilder.writeSwigFile()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 654, in writeSwigFile
self.writeClassDeclarations()
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 338, in writeClassDeclarations
docstring = striphtmltags(docstring)
File "/home/sbelsare/software/OpenMM/build_openmm/python/src/swig_doxygen/swigInputBuilder.py", line 52, in striphtmltags
s = re.sub('\s*(<ul>.*?</ul>\s*)', replace_ul_tags, s, flags=re.MULTILINE | re.DOTALL)
TypeError: sub() got an unexpected keyword argument 'flags'
make[2]: *** [python/src/swig_doxygen/swig_lib/python/pythonprepend.i] Error 1
make[1]: *** [wrappers/python/CMakeFiles/BuildModule.dir/all] Error 2
make: *** [all] Error 2
I've recompiled the latest doxygen, but am still seeing this error. What might be the fix for this?
Thank you.