Advertisement
paulrozdeba

pyadolc build errors with boost 1.65.1

Oct 18th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 142.73 KB | None | 0 0
  1. $ python2 setup.py build
  2.  
  3. Please check that the following settings are correct for your system:
  4.  
  5. include_dirs = ['/usr/lib/python2.7/site-packages/numpy/core/include', '/usr/local/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include']
  6.  
  7. library_dirs = ['/usr/local/lib', '/usr/local/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64']
  8.  
  9.  
  10. If ADOL-C or Colpack cannot be found, you can manually set the paths via
  11. ``export ADOLC_DIR=/path/to/adol-c`` and ``export COLPACK_DIR=/path/to/colpack``
  12.  
  13. * where /path/to/adol-c contains the folders ``./include`` and ``./lib64``.
  14. * where /path/to/colpack contains the folders ``./include`` and ``./lib64``, containing ``libColPack.so`` and the include files
  15.  
  16. You can also specify the compiler, e.g. by
  17. ``export CC=clang`` and ``export CXX=clang++`` or run
  18.  
  19. Example:
  20.  
  21. CC=clang CXX=clang++ python setup.py
  22.  
  23.  
  24. Press enter to build pyadolc.
  25. running build
  26. running build_py
  27. creating build
  28. creating build/lib.linux-x86_64-2.7
  29. creating build/lib.linux-x86_64-2.7/adolc
  30. copying adolc/cgraph.py -> build/lib.linux-x86_64-2.7/adolc
  31. copying adolc/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc
  32. copying adolc/tangent.py -> build/lib.linux-x86_64-2.7/adolc
  33. copying adolc/__init__.py -> build/lib.linux-x86_64-2.7/adolc
  34. copying adolc/finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc
  35. copying adolc/interpolation.py -> build/lib.linux-x86_64-2.7/adolc
  36. copying adolc/linalg.py -> build/lib.linux-x86_64-2.7/adolc
  37. creating build/lib.linux-x86_64-2.7/adolc/sparse
  38. copying adolc/sparse/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  39. copying adolc/sparse/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  40. creating build/lib.linux-x86_64-2.7/adolc/sparse/tests
  41. copying adolc/sparse/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  42. copying adolc/sparse/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  43. creating build/lib.linux-x86_64-2.7/adolc/tests
  44. copying adolc/tests/test_tangent.py -> build/lib.linux-x86_64-2.7/adolc/tests
  45. copying adolc/tests/test_wrapped_functions_future.py -> build/lib.linux-x86_64-2.7/adolc/tests
  46. copying adolc/tests/test_wrapped_functions_complicated.py -> build/lib.linux-x86_64-2.7/adolc/tests
  47. copying adolc/tests/test_finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc/tests
  48. copying adolc/tests/test_linalg.py -> build/lib.linux-x86_64-2.7/adolc/tests
  49. copying adolc/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/tests
  50. copying adolc/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/tests
  51. copying adolc/tests/test_cgraph.py -> build/lib.linux-x86_64-2.7/adolc/tests
  52. copying adolc/tests/test_interpolation.py -> build/lib.linux-x86_64-2.7/adolc/tests
  53. creating build/lib.linux-x86_64-2.7/adolc/colpack
  54. copying adolc/colpack/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  55. copying adolc/colpack/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  56. creating build/lib.linux-x86_64-2.7/adolc/colpack/tests
  57. copying adolc/colpack/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  58. copying adolc/colpack/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  59. running build_ext
  60. building '_adolc' extension
  61. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  62.  
  63. creating build/temp.linux-x86_64-2.7
  64. creating build/temp.linux-x86_64-2.7/adolc
  65. creating build/temp.linux-x86_64-2.7/adolc/src
  66. compile options: '-Iadolc/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  67. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  68. gcc: adolc/src/py_adolc.cpp
  69. gcc: adolc/src/py_interpolation.cpp
  70. gcc: adolc/src/num_util.cpp
  71. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/src/py_adolc.o build/temp.linux-x86_64-2.7/adolc/src/py_interpolation.o build/temp.linux-x86_64-2.7/adolc/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/_adolc.so
  72. building 'sparse/_sparse' extension
  73. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  74.  
  75. creating build/temp.linux-x86_64-2.7/adolc/sparse
  76. creating build/temp.linux-x86_64-2.7/adolc/sparse/src
  77. compile options: '-Iadolc/sparse/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  78. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  79. gcc: adolc/sparse/src/py_sparse_adolc.cpp
  80. gcc: adolc/sparse/src/num_util.cpp
  81. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/sparse/src/py_sparse_adolc.o build/temp.linux-x86_64-2.7/adolc/sparse/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/sparse/_sparse.so
  82. building 'colpack/_colpack' extension
  83. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  84.  
  85. creating build/temp.linux-x86_64-2.7/adolc/colpack
  86. creating build/temp.linux-x86_64-2.7/adolc/colpack/src
  87. compile options: '-Iadolc/colpack/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  88. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  89. gcc: adolc/colpack/src/num_util.cpp
  90. gcc: adolc/colpack/src/py_colpack_adolc.cpp
  91. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/colpack/src/py_colpack_adolc.o build/temp.linux-x86_64-2.7/adolc/colpack/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/colpack/_colpack.so
  92. paul@thinkpad [~/github-forks/pyadolc]
  93. $ s
  94. -bash: s: command not found
  95. paul@thinkpad [~/github-forks/pyadolc]
  96. $ git status
  97. On branch master
  98. Your branch is up-to-date with 'origin/master'.
  99.  
  100. nothing to commit, working tree clean
  101. paul@thinkpad [~/github-forks/pyadolc]
  102. $ ls
  103. adolc build examples PACKAGES setup.py
  104. bootstrap.sh doc KNOWN_BUGS_AND_PITFALLS.rst README.rst tests
  105. paul@thinkpad [~/github-forks/pyadolc]
  106. $ rm -r build
  107. paul@thinkpad [~/github-forks/pyadolc]
  108. $ python2 setup.py build
  109.  
  110. Please check that the following settings are correct for your system:
  111.  
  112. include_dirs = ['/usr/lib/python2.7/site-packages/numpy/core/include', '/usr/local/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include']
  113.  
  114. library_dirs = ['/usr/local/lib', '/usr/local/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64']
  115.  
  116.  
  117. If ADOL-C or Colpack cannot be found, you can manually set the paths via
  118. ``export ADOLC_DIR=/path/to/adol-c`` and ``export COLPACK_DIR=/path/to/colpack``
  119.  
  120. * where /path/to/adol-c contains the folders ``./include`` and ``./lib64``.
  121. * where /path/to/colpack contains the folders ``./include`` and ``./lib64``, containing ``libColPack.so`` and the include files
  122.  
  123. You can also specify the compiler, e.g. by
  124. ``export CC=clang`` and ``export CXX=clang++`` or run
  125.  
  126. Example:
  127.  
  128. CC=clang CXX=clang++ python setup.py
  129.  
  130.  
  131. Press enter to build pyadolc.
  132. running build
  133. running build_py
  134. creating build
  135. creating build/lib.linux-x86_64-2.7
  136. creating build/lib.linux-x86_64-2.7/adolc
  137. copying adolc/cgraph.py -> build/lib.linux-x86_64-2.7/adolc
  138. copying adolc/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc
  139. copying adolc/tangent.py -> build/lib.linux-x86_64-2.7/adolc
  140. copying adolc/__init__.py -> build/lib.linux-x86_64-2.7/adolc
  141. copying adolc/finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc
  142. copying adolc/interpolation.py -> build/lib.linux-x86_64-2.7/adolc
  143. copying adolc/linalg.py -> build/lib.linux-x86_64-2.7/adolc
  144. creating build/lib.linux-x86_64-2.7/adolc/sparse
  145. copying adolc/sparse/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  146. copying adolc/sparse/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  147. creating build/lib.linux-x86_64-2.7/adolc/sparse/tests
  148. copying adolc/sparse/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  149. copying adolc/sparse/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  150. creating build/lib.linux-x86_64-2.7/adolc/tests
  151. copying adolc/tests/test_tangent.py -> build/lib.linux-x86_64-2.7/adolc/tests
  152. copying adolc/tests/test_wrapped_functions_future.py -> build/lib.linux-x86_64-2.7/adolc/tests
  153. copying adolc/tests/test_wrapped_functions_complicated.py -> build/lib.linux-x86_64-2.7/adolc/tests
  154. copying adolc/tests/test_finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc/tests
  155. copying adolc/tests/test_linalg.py -> build/lib.linux-x86_64-2.7/adolc/tests
  156. copying adolc/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/tests
  157. copying adolc/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/tests
  158. copying adolc/tests/test_cgraph.py -> build/lib.linux-x86_64-2.7/adolc/tests
  159. copying adolc/tests/test_interpolation.py -> build/lib.linux-x86_64-2.7/adolc/tests
  160. creating build/lib.linux-x86_64-2.7/adolc/colpack
  161. copying adolc/colpack/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  162. copying adolc/colpack/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  163. creating build/lib.linux-x86_64-2.7/adolc/colpack/tests
  164. copying adolc/colpack/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  165. copying adolc/colpack/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  166. running build_ext
  167. building '_adolc' extension
  168. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  169.  
  170. creating build/temp.linux-x86_64-2.7
  171. creating build/temp.linux-x86_64-2.7/adolc
  172. creating build/temp.linux-x86_64-2.7/adolc/src
  173. compile options: '-Iadolc/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  174. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  175. gcc: adolc/src/py_adolc.cpp
  176. gcc: adolc/src/py_interpolation.cpp
  177. gcc: adolc/src/num_util.cpp
  178. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/src/py_adolc.o build/temp.linux-x86_64-2.7/adolc/src/py_interpolation.o build/temp.linux-x86_64-2.7/adolc/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/_adolc.so
  179. building 'sparse/_sparse' extension
  180. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  181.  
  182. creating build/temp.linux-x86_64-2.7/adolc/sparse
  183. creating build/temp.linux-x86_64-2.7/adolc/sparse/src
  184. compile options: '-Iadolc/sparse/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  185. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  186. gcc: adolc/sparse/src/py_sparse_adolc.cpp
  187. gcc: adolc/sparse/src/num_util.cpp
  188. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/sparse/src/py_sparse_adolc.o build/temp.linux-x86_64-2.7/adolc/sparse/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/sparse/_sparse.so
  189. building 'colpack/_colpack' extension
  190. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  191.  
  192. creating build/temp.linux-x86_64-2.7/adolc/colpack
  193. creating build/temp.linux-x86_64-2.7/adolc/colpack/src
  194. compile options: '-Iadolc/colpack/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  195. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  196. gcc: adolc/colpack/src/num_util.cpp
  197. gcc: adolc/colpack/src/py_colpack_adolc.cpp
  198. g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-2.7/adolc/colpack/src/py_colpack_adolc.o build/temp.linux-x86_64-2.7/adolc/colpack/src/num_util.o -L/usr/local/lib -L/usr/local/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -L/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -L/usr/lib -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64 -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib -Wl,-R/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64 -lboost_python -ladolc -lColPack -lpython2.7 -o build/lib.linux-x86_64-2.7/adolc/colpack/_colpack.so
  199. paul@thinkpad [~/github-forks/pyadolc]
  200. $ rm -r build
  201. paul@thinkpad [~/github-forks/pyadolc]
  202. $ python2 setup.py build
  203.  
  204. Please check that the following settings are correct for your system:
  205.  
  206. include_dirs = ['/usr/lib/python2.7/site-packages/numpy/core/include', '/usr/local/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include']
  207.  
  208. library_dirs = ['/usr/local/lib', '/usr/local/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/lib64', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib', '/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/lib64']
  209.  
  210.  
  211. If ADOL-C or Colpack cannot be found, you can manually set the paths via
  212. ``export ADOLC_DIR=/path/to/adol-c`` and ``export COLPACK_DIR=/path/to/colpack``
  213.  
  214. * where /path/to/adol-c contains the folders ``./include`` and ``./lib64``.
  215. * where /path/to/colpack contains the folders ``./include`` and ``./lib64``, containing ``libColPack.so`` and the include files
  216.  
  217. You can also specify the compiler, e.g. by
  218. ``export CC=clang`` and ``export CXX=clang++`` or run
  219.  
  220. Example:
  221.  
  222. CC=clang CXX=clang++ python setup.py
  223.  
  224.  
  225. Press enter to build pyadolc.
  226. running build
  227. running build_py
  228. creating build
  229. creating build/lib.linux-x86_64-2.7
  230. creating build/lib.linux-x86_64-2.7/adolc
  231. copying adolc/cgraph.py -> build/lib.linux-x86_64-2.7/adolc
  232. copying adolc/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc
  233. copying adolc/tangent.py -> build/lib.linux-x86_64-2.7/adolc
  234. copying adolc/__init__.py -> build/lib.linux-x86_64-2.7/adolc
  235. copying adolc/finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc
  236. copying adolc/interpolation.py -> build/lib.linux-x86_64-2.7/adolc
  237. copying adolc/linalg.py -> build/lib.linux-x86_64-2.7/adolc
  238. creating build/lib.linux-x86_64-2.7/adolc/sparse
  239. copying adolc/sparse/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  240. copying adolc/sparse/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse
  241. creating build/lib.linux-x86_64-2.7/adolc/sparse/tests
  242. copying adolc/sparse/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  243. copying adolc/sparse/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/sparse/tests
  244. creating build/lib.linux-x86_64-2.7/adolc/tests
  245. copying adolc/tests/test_tangent.py -> build/lib.linux-x86_64-2.7/adolc/tests
  246. copying adolc/tests/test_wrapped_functions_future.py -> build/lib.linux-x86_64-2.7/adolc/tests
  247. copying adolc/tests/test_wrapped_functions_complicated.py -> build/lib.linux-x86_64-2.7/adolc/tests
  248. copying adolc/tests/test_finitedifferences.py -> build/lib.linux-x86_64-2.7/adolc/tests
  249. copying adolc/tests/test_linalg.py -> build/lib.linux-x86_64-2.7/adolc/tests
  250. copying adolc/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/tests
  251. copying adolc/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/tests
  252. copying adolc/tests/test_cgraph.py -> build/lib.linux-x86_64-2.7/adolc/tests
  253. copying adolc/tests/test_interpolation.py -> build/lib.linux-x86_64-2.7/adolc/tests
  254. creating build/lib.linux-x86_64-2.7/adolc/colpack
  255. copying adolc/colpack/wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  256. copying adolc/colpack/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack
  257. creating build/lib.linux-x86_64-2.7/adolc/colpack/tests
  258. copying adolc/colpack/tests/__init__.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  259. copying adolc/colpack/tests/test_wrapped_functions.py -> build/lib.linux-x86_64-2.7/adolc/colpack/tests
  260. running build_ext
  261. building '_adolc' extension
  262. C compiler: gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC
  263.  
  264. creating build/temp.linux-x86_64-2.7
  265. creating build/temp.linux-x86_64-2.7/adolc
  266. creating build/temp.linux-x86_64-2.7/adolc/src
  267. compile options: '-Iadolc/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c'
  268. extra options: '-std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs'
  269. gcc: adolc/src/py_adolc.cpp
  270. In file included from adolc/src/py_adolc.hpp:5:0,
  271. from adolc/src/py_adolc.cpp:3:
  272. adolc/src/num_util.h:32:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  273. boost::python::numeric::array makeNum(boost::python::object x);
  274. ^~~~~~~
  275. adolc/src/num_util.h:41:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  276. boost::python::numeric::array makeNum(npy_intp n, NPY_TYPES t);
  277. ^~~~~~~
  278. adolc/src/num_util.h:50:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  279. boost::python::numeric::array makeNum(std::vector<npy_intp> dimens,
  280. ^~~~~~~
  281. adolc/src/num_util.h:76:40: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  282. template <typename T> boost::python::numeric::array makeNum(T* data, npy_intp n = 0){
  283. ^~~~~~~
  284. adolc/src/num_util.h:93:40: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  285. template <typename T> boost::python::numeric::array makeNum(T * data, std::vector<npy_intp> dims){
  286. ^~~~~~~
  287. adolc/src/num_util.h:107:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  288. boost::python::numeric::array makeNum(const
  289. ^~~~~~~
  290. adolc/src/num_util.h:115:33: error: ‘boost::python::numeric’ has not been declared
  291. NPY_TYPES type(boost::python::numeric::array arr);
  292. ^~~~~~~
  293. adolc/src/num_util.h:124:34: error: variable or field ‘check_type’ declared void
  294. void check_type(boost::python::numeric::array arr,
  295. ^~~~~~~
  296. adolc/src/num_util.h:124:34: error: ‘boost::python::numeric’ has not been declared
  297. adolc/src/num_util.h:125:15: error: expected primary-expression before ‘expected_type’
  298. NPY_TYPES expected_type);
  299. ^~~~~~~~~~~~~
  300. adolc/src/num_util.h:132:27: error: ‘boost::python::numeric’ has not been declared
  301. int rank(boost::python::numeric::array arr);
  302. ^~~~~~~
  303. adolc/src/num_util.h:140:34: error: variable or field ‘check_rank’ declared void
  304. void check_rank(boost::python::numeric::array arr, int expected_rank);
  305. ^~~~~~~
  306. adolc/src/num_util.h:140:34: error: ‘boost::python::numeric’ has not been declared
  307. adolc/src/num_util.h:140:54: error: expected primary-expression before ‘int’
  308. void check_rank(boost::python::numeric::array arr, int expected_rank);
  309. ^~~
  310. adolc/src/num_util.h:147:32: error: ‘boost::python::numeric’ has not been declared
  311. npy_intp size(boost::python::numeric::array arr);
  312. ^~~~~~~
  313. adolc/src/num_util.h:156:34: error: variable or field ‘check_size’ declared void
  314. void check_size(boost::python::numeric::array arr, npy_intp expected_size);
  315. ^~~~~~~
  316. adolc/src/num_util.h:156:34: error: ‘boost::python::numeric’ has not been declared
  317. adolc/src/num_util.h:156:63: error: expected primary-expression before ‘expected_size’
  318. void check_size(boost::python::numeric::array arr, npy_intp expected_size);
  319. ^~~~~~~~~~~~~
  320. adolc/src/num_util.h:163:46: error: ‘boost::python::numeric’ has not been declared
  321. std::vector<npy_intp> shape(boost::python::numeric::array arr);
  322. ^~~~~~~
  323. adolc/src/num_util.h:171:35: error: ‘boost::python::numeric’ has not been declared
  324. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  325. ^~~~~~~
  326. adolc/src/num_util.h:171:55: error: expected primary-expression before ‘int’
  327. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  328. ^~~
  329. adolc/src/num_util.h:171:65: error: expression list treated as compound expression in initializer [-fpermissive]
  330. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  331. ^
  332. adolc/src/num_util.h:180:35: error: variable or field ‘check_shape’ declared void
  333. void check_shape(boost::python::numeric::array arr,
  334. ^~~~~~~
  335. adolc/src/num_util.h:180:35: error: ‘boost::python::numeric’ has not been declared
  336. adolc/src/num_util.h:181:28: error: expected primary-expression before ‘expected_dims’
  337. std::vector<npy_intp> expected_dims);
  338. ^~~~~~~~~~~~~
  339. adolc/src/num_util.h:191:33: error: variable or field ‘check_dim’ declared void
  340. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  341. ^~~~~~~
  342. adolc/src/num_util.h:191:33: error: ‘boost::python::numeric’ has not been declared
  343. adolc/src/num_util.h:191:53: error: expected primary-expression before ‘int’
  344. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  345. ^~~
  346. adolc/src/num_util.h:191:74: error: expected primary-expression before ‘dimsize’
  347. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  348. ^~~~~~~
  349. adolc/src/num_util.h:198:36: error: ‘boost::python::numeric’ has not been declared
  350. bool iscontiguous(boost::python::numeric::array arr);
  351. ^~~~~~~
  352. adolc/src/num_util.h:205:40: error: variable or field ‘check_contiguous’ declared void
  353. void check_contiguous(boost::python::numeric::array arr);
  354. ^~~~~~~
  355. adolc/src/num_util.h:205:40: error: ‘boost::python::numeric’ has not been declared
  356. adolc/src/num_util.h:212:29: error: ‘boost::python::numeric’ has not been declared
  357. void* data(boost::python::numeric::array arr);
  358. ^~~~~~~
  359. adolc/src/num_util.h:220:33: error: variable or field ‘copy_data’ declared void
  360. void copy_data(boost::python::numeric::array arr, char* new_data);
  361. ^~~~~~~
  362. adolc/src/num_util.h:220:33: error: ‘boost::python::numeric’ has not been declared
  363. adolc/src/num_util.h:220:53: error: expected primary-expression before ‘char’
  364. void copy_data(boost::python::numeric::array arr, char* new_data);
  365. ^~~~
  366. adolc/src/num_util.h:227:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  367. boost::python::numeric::array clone(boost::python::numeric::array arr);
  368. ^~~~~~~
  369. adolc/src/num_util.h:235:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  370. boost::python::numeric::array astype(boost::python::numeric::array arr,
  371. ^~~~~~~
  372. adolc/src/num_util.h:243:31: error: ‘boost::python::numeric’ has not been declared
  373. int refcount(boost::python::numeric::array arr);
  374. ^~~~~~~
  375. adolc/src/num_util.h:250:48: error: ‘boost::python::numeric’ has not been declared
  376. std::vector<npy_intp> strides(boost::python::numeric::array arr);
  377. ^~~~~~~
  378. In file included from adolc/src/py_adolc.hpp:8:0,
  379. from adolc/src/py_adolc.cpp:3:
  380. adolc/src/py_interpolation.h:9:32: error: ‘numeric’ is not a namespace-name
  381. namespace bpn = boost::python::numeric;
  382. ^~~~~~~
  383. adolc/src/py_interpolation.h:9:39: error: expected namespace-name before ‘;’ token
  384. namespace bpn = boost::python::numeric;
  385. ^
  386. adolc/src/py_interpolation.h:45:21: error: variable or field ‘entangle_cross’ declared void
  387. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  388. ^~~
  389. adolc/src/py_interpolation.h:45:21: error: ‘bpn’ has not been declared
  390. adolc/src/py_interpolation.h:45:33: error: ‘V’ was not declared in this scope
  391. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  392. ^
  393. adolc/src/py_interpolation.h:45:36: error: ‘bpn’ has not been declared
  394. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  395. ^~~
  396. adolc/src/py_interpolation.h:45:48: error: ‘V1’ was not declared in this scope
  397. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  398. ^~
  399. adolc/src/py_interpolation.h:45:48: note: suggested alternative: ‘y1’
  400. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  401. ^~
  402. y1
  403. adolc/src/py_interpolation.h:45:52: error: ‘bpn’ has not been declared
  404. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  405. ^~~
  406. adolc/src/py_interpolation.h:45:64: error: ‘V2’ was not declared in this scope
  407. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  408. ^~
  409. adolc/src/py_interpolation.h:45:68: error: ‘bpn’ has not been declared
  410. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  411. ^~~
  412. adolc/src/py_interpolation.h:45:80: error: ‘V12’ was not declared in this scope
  413. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  414. ^~~
  415. adolc/src/py_interpolation.h:72:21: error: variable or field ‘detangle_cross’ declared void
  416. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  417. ^~~
  418. adolc/src/py_interpolation.h:72:21: error: ‘bpn’ has not been declared
  419. adolc/src/py_interpolation.h:72:33: error: ‘V’ was not declared in this scope
  420. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  421. ^
  422. adolc/src/py_interpolation.h:72:36: error: ‘bpn’ has not been declared
  423. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  424. ^~~
  425. adolc/src/py_interpolation.h:72:48: error: ‘V1’ was not declared in this scope
  426. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  427. ^~
  428. adolc/src/py_interpolation.h:72:48: note: suggested alternative: ‘y1’
  429. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  430. ^~
  431. y1
  432. adolc/src/py_interpolation.h:72:52: error: ‘bpn’ has not been declared
  433. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  434. ^~~
  435. adolc/src/py_interpolation.h:72:64: error: ‘V2’ was not declared in this scope
  436. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  437. ^~
  438. adolc/src/py_interpolation.h:72:68: error: ‘bpn’ has not been declared
  439. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  440. ^~~
  441. adolc/src/py_interpolation.h:72:80: error: ‘V12’ was not declared in this scope
  442. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  443. ^~~
  444. In file included from adolc/src/py_adolc.cpp:3:0:
  445. adolc/src/py_adolc.hpp:13:32: error: ‘numeric’ is not a namespace-name
  446. namespace bpn = boost::python::numeric;
  447. ^~~~~~~
  448. adolc/src/py_adolc.hpp:13:39: error: expected namespace-name before ‘;’ token
  449. namespace bpn = boost::python::numeric;
  450. ^
  451. adolc/src/py_adolc.hpp:77:57: error: ‘bpn’ has not been declared
  452. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y );
  453. ^~~
  454. adolc/src/py_adolc.hpp:77:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  455. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y );
  456. ^
  457. adolc/src/py_adolc.hpp:78:50: error: ‘bpn’ has not been declared
  458. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g);
  459. ^~~
  460. adolc/src/py_adolc.hpp:78:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  461. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g);
  462. ^
  463. adolc/src/py_adolc.hpp:79:49: error: ‘bpn’ has not been declared
  464. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H);
  465. ^~~
  466. adolc/src/py_adolc.hpp:79:60: error: expected ‘,’ or ‘...’ before ‘&’ token
  467. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H);
  468. ^
  469. adolc/src/py_adolc.hpp:80:57: error: ‘bpn’ has not been declared
  470. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J);
  471. ^~~
  472. adolc/src/py_adolc.hpp:80:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  473. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J);
  474. ^
  475. adolc/src/py_adolc.hpp:81:69: error: ‘bpn’ has not been declared
  476. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z);
  477. ^~~
  478. adolc/src/py_adolc.hpp:81:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  479. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z);
  480. ^
  481. adolc/src/py_adolc.hpp:82:56: error: ‘bpn’ has not been declared
  482. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  483. ^~~
  484. adolc/src/py_adolc.hpp:82:67: error: expected ‘,’ or ‘...’ before ‘&’ token
  485. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  486. ^
  487. adolc/src/py_adolc.hpp:83:50: error: ‘bpn’ has not been declared
  488. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  489. ^~~
  490. adolc/src/py_adolc.hpp:83:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  491. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  492. ^
  493. adolc/src/py_adolc.hpp:84:61: error: ‘bpn’ has not been declared
  494. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h);
  495. ^~~
  496. adolc/src/py_adolc.hpp:84:72: error: expected ‘,’ or ‘...’ before ‘&’ token
  497. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h);
  498. ^
  499. In file included from adolc/src/py_adolc.cpp:3:0:
  500. adolc/src/py_adolc.hpp:86:69: error: ‘bpn’ has not been declared
  501. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y);
  502. ^~~
  503. adolc/src/py_adolc.hpp:86:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  504. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y);
  505. ^
  506. adolc/src/py_adolc.hpp:87:69: error: ‘bpn’ has not been declared
  507. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w);
  508. ^~~
  509. adolc/src/py_adolc.hpp:87:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  510. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w);
  511. ^
  512. adolc/src/py_adolc.hpp:88:66: error: ‘bpn’ has not been declared
  513. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  514. ^~~
  515. adolc/src/py_adolc.hpp:88:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  516. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  517. ^
  518. adolc/src/py_adolc.hpp:89:76: error: ‘bpn’ has not been declared
  519. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  520. ^~~
  521. adolc/src/py_adolc.hpp:89:87: error: expected ‘,’ or ‘...’ before ‘&’ token
  522. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  523. ^
  524. adolc/src/py_adolc.hpp:90:73: error: ‘bpn’ has not been declared
  525. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  526. ^~~
  527. adolc/src/py_adolc.hpp:90:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  528. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  529. ^
  530. adolc/src/py_adolc.hpp:91:85: error: ‘bpn’ has not been declared
  531. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  532. ^~~
  533. adolc/src/py_adolc.hpp:91:96: error: expected ‘,’ or ‘...’ before ‘&’ token
  534. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  535. ^
  536. adolc/src/py_adolc.hpp:94:59: error: ‘bpn’ has not been declared
  537. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z);
  538. ^~~
  539. adolc/src/py_adolc.hpp:94:70: error: expected ‘,’ or ‘...’ before ‘&’ token
  540. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z);
  541. ^
  542. adolc/src/py_adolc.hpp:95:66: error: ‘bpn’ has not been declared
  543. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z);
  544. ^~~
  545. adolc/src/py_adolc.hpp:95:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  546. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z);
  547. ^
  548. adolc/src/py_adolc.hpp:96:66: error: ‘bpn’ has not been declared
  549. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z);
  550. ^~~
  551. adolc/src/py_adolc.hpp:96:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  552. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z);
  553. ^
  554. adolc/src/py_adolc.hpp:97:70: error: ‘bpn’ has not been declared
  555. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z);
  556. ^~~
  557. adolc/src/py_adolc.hpp:97:81: error: expected ‘,’ or ‘...’ before ‘&’ token
  558. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z);
  559. ^
  560. adolc/src/py_adolc.hpp:100:73: error: ‘bpn’ has not been declared
  561. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  562. ^~~
  563. adolc/src/py_adolc.hpp:100:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  564. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  565. ^
  566. adolc/src/py_adolc.hpp:101:75: error: ‘bpn’ has not been declared
  567. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  568. ^~~
  569. adolc/src/py_adolc.hpp:101:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  570. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  571. ^
  572. adolc/src/py_adolc.hpp:102:75: error: ‘bpn’ has not been declared
  573. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z);
  574. ^~~
  575. adolc/src/py_adolc.hpp:102:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  576. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z);
  577. ^
  578. adolc/src/py_adolc.hpp:105:34: error: ‘bpn’ has not been declared
  579. void py_tape_doc(short tape_tag, bpn::array &bpn_x, bpn::array &bpn_y );
  580. ^~~
  581. adolc/src/py_adolc.hpp:105:45: error: expected ‘,’ or ‘...’ before ‘&’ token
  582. void py_tape_doc(short tape_tag, bpn::array &bpn_x, bpn::array &bpn_y );
  583. ^
  584. adolc/src/py_adolc.hpp: In function ‘void init_module__adolc()’:
  585. adolc/src/py_adolc.hpp:210:2: error: ‘bpn’ has not been declared
  586. bpn::array::set_module_and_type("numpy", "ndarray"); /* some kind of hack to get numpy working */
  587. ^~~
  588. adolc/src/py_adolc.hpp:219:26: error: ‘entangle_cross’ was not declared in this scope
  589. def("_entangle_cross", &entangle_cross);
  590. ^~~~~~~~~~~~~~
  591. adolc/src/py_adolc.hpp:220:26: error: ‘detangle_cross’ was not declared in this scope
  592. def("_detangle_cross", &detangle_cross);
  593. ^~~~~~~~~~~~~~
  594. adolc/src/py_adolc.cpp: At global scope:
  595. adolc/src/py_adolc.cpp:76:57: error: ‘bpn’ has not been declared
  596. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y ){
  597. ^~~
  598. adolc/src/py_adolc.cpp:76:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  599. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y ){
  600. ^
  601. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_function(short int, int, int, int)’:
  602. adolc/src/py_adolc.cpp:77:33: error: ‘bpn_x’ was not declared in this scope
  603. double* x = (double*) nu::data(bpn_x);
  604. ^~~~~
  605. adolc/src/py_adolc.cpp:77:38: error: ‘num_util::data’ cannot be used as a function
  606. double* x = (double*) nu::data(bpn_x);
  607. ^
  608. adolc/src/py_adolc.cpp:78:33: error: ‘bpn_y’ was not declared in this scope
  609. double* y = (double*) nu::data(bpn_y);
  610. ^~~~~
  611. adolc/src/py_adolc.cpp:78:38: error: ‘num_util::data’ cannot be used as a function
  612. double* y = (double*) nu::data(bpn_y);
  613. ^
  614. adolc/src/py_adolc.cpp: At global scope:
  615. adolc/src/py_adolc.cpp:81:50: error: ‘bpn’ has not been declared
  616. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g){
  617. ^~~
  618. adolc/src/py_adolc.cpp:81:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  619. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g){
  620. ^
  621. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_gradient(short int, int, int)’:
  622. adolc/src/py_adolc.cpp:82:33: error: ‘bpn_x’ was not declared in this scope
  623. double* x = (double*) nu::data(bpn_x);
  624. ^~~~~
  625. adolc/src/py_adolc.cpp:82:38: error: ‘num_util::data’ cannot be used as a function
  626. double* x = (double*) nu::data(bpn_x);
  627. ^
  628. adolc/src/py_adolc.cpp:83:33: error: ‘bpn_g’ was not declared in this scope
  629. double* g = (double*) nu::data(bpn_g);
  630. ^~~~~
  631. adolc/src/py_adolc.cpp:83:38: error: ‘num_util::data’ cannot be used as a function
  632. double* g = (double*) nu::data(bpn_g);
  633. ^
  634. adolc/src/py_adolc.cpp: At global scope:
  635. adolc/src/py_adolc.cpp:86:49: error: ‘bpn’ has not been declared
  636. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H){
  637. ^~~
  638. adolc/src/py_adolc.cpp:86:60: error: expected ‘,’ or ‘...’ before ‘&’ token
  639. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H){
  640. ^
  641. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hessian(short int, int, int)’:
  642. adolc/src/py_adolc.cpp:87:33: error: ‘bpn_x’ was not declared in this scope
  643. double* x = (double*) nu::data(bpn_x);
  644. ^~~~~
  645. adolc/src/py_adolc.cpp:87:38: error: ‘num_util::data’ cannot be used as a function
  646. double* x = (double*) nu::data(bpn_x);
  647. ^
  648. adolc/src/py_adolc.cpp:88:38: error: ‘bpn_H’ was not declared in this scope
  649. double* H_data = (double*) nu::data(bpn_H);
  650. ^~~~~
  651. adolc/src/py_adolc.cpp:88:43: error: ‘num_util::data’ cannot be used as a function
  652. double* H_data = (double*) nu::data(bpn_H);
  653. ^
  654. adolc/src/py_adolc.cpp: At global scope:
  655. adolc/src/py_adolc.cpp:95:57: error: ‘bpn’ has not been declared
  656. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J){
  657. ^~~
  658. adolc/src/py_adolc.cpp:95:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  659. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J){
  660. ^
  661. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_jacobian(short int, int, int, int)’:
  662. adolc/src/py_adolc.cpp:96:33: error: ‘bpn_x’ was not declared in this scope
  663. double* x = (double*) nu::data(bpn_x);
  664. ^~~~~
  665. adolc/src/py_adolc.cpp:96:38: error: ‘num_util::data’ cannot be used as a function
  666. double* x = (double*) nu::data(bpn_x);
  667. ^
  668. adolc/src/py_adolc.cpp:98:38: error: ‘bpn_J’ was not declared in this scope
  669. double* J_data = (double*) nu::data(bpn_J);
  670. ^~~~~
  671. adolc/src/py_adolc.cpp:98:43: error: ‘num_util::data’ cannot be used as a function
  672. double* J_data = (double*) nu::data(bpn_J);
  673. ^
  674. adolc/src/py_adolc.cpp: At global scope:
  675. adolc/src/py_adolc.cpp:104:69: error: ‘bpn’ has not been declared
  676. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z){
  677. ^~~
  678. adolc/src/py_adolc.cpp:104:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  679. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z){
  680. ^
  681. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_vec_jac(short int, int, int, bool, int)’:
  682. adolc/src/py_adolc.cpp:105:33: error: ‘bpn_x’ was not declared in this scope
  683. double* x = (double*) nu::data(bpn_x);
  684. ^~~~~
  685. adolc/src/py_adolc.cpp:105:38: error: ‘num_util::data’ cannot be used as a function
  686. double* x = (double*) nu::data(bpn_x);
  687. ^
  688. adolc/src/py_adolc.cpp:106:33: error: ‘bpn_u’ was not declared in this scope
  689. double* u = (double*) nu::data(bpn_u);
  690. ^~~~~
  691. adolc/src/py_adolc.cpp:106:38: error: ‘num_util::data’ cannot be used as a function
  692. double* u = (double*) nu::data(bpn_u);
  693. ^
  694. adolc/src/py_adolc.cpp:107:33: error: ‘bpn_z’ was not declared in this scope
  695. double* z = (double*) nu::data(bpn_z);
  696. ^~~~~
  697. adolc/src/py_adolc.cpp:107:38: error: ‘num_util::data’ cannot be used as a function
  698. double* z = (double*) nu::data(bpn_z);
  699. ^
  700. adolc/src/py_adolc.cpp: At global scope:
  701. adolc/src/py_adolc.cpp:110:56: error: ‘bpn’ has not been declared
  702. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  703. ^~~
  704. adolc/src/py_adolc.cpp:110:67: error: expected ‘,’ or ‘...’ before ‘&’ token
  705. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  706. ^
  707. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_jac_vec(short int, int, int, int)’:
  708. adolc/src/py_adolc.cpp:111:33: error: ‘bpn_x’ was not declared in this scope
  709. double* x = (double*) nu::data(bpn_x);
  710. ^~~~~
  711. adolc/src/py_adolc.cpp:111:38: error: ‘num_util::data’ cannot be used as a function
  712. double* x = (double*) nu::data(bpn_x);
  713. ^
  714. adolc/src/py_adolc.cpp:112:33: error: ‘bpn_v’ was not declared in this scope
  715. double* v = (double*) nu::data(bpn_v);
  716. ^~~~~
  717. adolc/src/py_adolc.cpp:112:38: error: ‘num_util::data’ cannot be used as a function
  718. double* v = (double*) nu::data(bpn_v);
  719. ^
  720. adolc/src/py_adolc.cpp:113:33: error: ‘bpn_z’ was not declared in this scope
  721. double* z = (double*) nu::data(bpn_z);
  722. ^~~~~
  723. adolc/src/py_adolc.cpp:113:38: error: ‘num_util::data’ cannot be used as a function
  724. double* z = (double*) nu::data(bpn_z);
  725. ^
  726. adolc/src/py_adolc.cpp: At global scope:
  727. adolc/src/py_adolc.cpp:116:50: error: ‘bpn’ has not been declared
  728. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  729. ^~~
  730. adolc/src/py_adolc.cpp:116:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  731. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  732. ^
  733. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hess_vec(short int, int, int)’:
  734. adolc/src/py_adolc.cpp:117:33: error: ‘bpn_x’ was not declared in this scope
  735. double* x = (double*) nu::data(bpn_x);
  736. ^~~~~
  737. adolc/src/py_adolc.cpp:117:38: error: ‘num_util::data’ cannot be used as a function
  738. double* x = (double*) nu::data(bpn_x);
  739. ^
  740. adolc/src/py_adolc.cpp:118:33: error: ‘bpn_v’ was not declared in this scope
  741. double* v = (double*) nu::data(bpn_v);
  742. ^~~~~
  743. adolc/src/py_adolc.cpp:118:38: error: ‘num_util::data’ cannot be used as a function
  744. double* v = (double*) nu::data(bpn_v);
  745. ^
  746. adolc/src/py_adolc.cpp:119:33: error: ‘bpn_z’ was not declared in this scope
  747. double* z = (double*) nu::data(bpn_z);
  748. ^~~~~
  749. adolc/src/py_adolc.cpp:119:38: error: ‘num_util::data’ cannot be used as a function
  750. double* z = (double*) nu::data(bpn_z);
  751. ^
  752. adolc/src/py_adolc.cpp: At global scope:
  753. adolc/src/py_adolc.cpp:122:61: error: ‘bpn’ has not been declared
  754. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h){
  755. ^~~
  756. adolc/src/py_adolc.cpp:122:72: error: expected ‘,’ or ‘...’ before ‘&’ token
  757. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h){
  758. ^
  759. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_lagra_hess_vec(short int, int, int, int)’:
  760. adolc/src/py_adolc.cpp:124:33: error: ‘bpn_x’ was not declared in this scope
  761. double* x = (double*) nu::data(bpn_x);
  762. ^~~~~
  763. adolc/src/py_adolc.cpp:124:38: error: ‘num_util::data’ cannot be used as a function
  764. double* x = (double*) nu::data(bpn_x);
  765. ^
  766. adolc/src/py_adolc.cpp:125:33: error: ‘bpn_v’ was not declared in this scope
  767. double* v = (double*) nu::data(bpn_v);
  768. ^~~~~
  769. adolc/src/py_adolc.cpp:125:38: error: ‘num_util::data’ cannot be used as a function
  770. double* v = (double*) nu::data(bpn_v);
  771. ^
  772. adolc/src/py_adolc.cpp:126:33: error: ‘bpn_u’ was not declared in this scope
  773. double* u = (double*) nu::data(bpn_u);
  774. ^~~~~
  775. adolc/src/py_adolc.cpp:126:38: error: ‘num_util::data’ cannot be used as a function
  776. double* u = (double*) nu::data(bpn_u);
  777. ^
  778. adolc/src/py_adolc.cpp:127:33: error: ‘bpn_h’ was not declared in this scope
  779. double* h = (double*) nu::data(bpn_h);
  780. ^~~~~
  781. adolc/src/py_adolc.cpp:127:38: error: ‘num_util::data’ cannot be used as a function
  782. double* h = (double*) nu::data(bpn_h);
  783. ^
  784. adolc/src/py_adolc.cpp: At global scope:
  785. adolc/src/py_adolc.cpp:137:69: error: ‘bpn’ has not been declared
  786. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y){
  787. ^~~
  788. adolc/src/py_adolc.cpp:137:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  789. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y){
  790. ^
  791. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_zos_forward(short int, int, int, int, int)’:
  792. adolc/src/py_adolc.cpp:138:33: error: ‘bpn_x’ was not declared in this scope
  793. double* x = (double*) nu::data(bpn_x);
  794. ^~~~~
  795. adolc/src/py_adolc.cpp:138:38: error: ‘num_util::data’ cannot be used as a function
  796. double* x = (double*) nu::data(bpn_x);
  797. ^
  798. adolc/src/py_adolc.cpp:139:33: error: ‘bpn_y’ was not declared in this scope
  799. double* y = (double*) nu::data(bpn_y);
  800. ^~~~~
  801. adolc/src/py_adolc.cpp:139:38: error: ‘num_util::data’ cannot be used as a function
  802. double* y = (double*) nu::data(bpn_y);
  803. ^
  804. adolc/src/py_adolc.cpp: At global scope:
  805. adolc/src/py_adolc.cpp:142:69: error: ‘bpn’ has not been declared
  806. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w){
  807. ^~~
  808. adolc/src/py_adolc.cpp:142:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  809. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w){
  810. ^
  811. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fos_forward(short int, int, int, int, int)’:
  812. adolc/src/py_adolc.cpp:144:33: error: ‘bpn_x’ was not declared in this scope
  813. double* x = (double*) nu::data(bpn_x);
  814. ^~~~~
  815. adolc/src/py_adolc.cpp:144:38: error: ‘num_util::data’ cannot be used as a function
  816. double* x = (double*) nu::data(bpn_x);
  817. ^
  818. adolc/src/py_adolc.cpp:145:33: error: ‘bpn_v’ was not declared in this scope
  819. double* v = (double*) nu::data(bpn_v);
  820. ^~~~~
  821. adolc/src/py_adolc.cpp:145:38: error: ‘num_util::data’ cannot be used as a function
  822. double* v = (double*) nu::data(bpn_v);
  823. ^
  824. adolc/src/py_adolc.cpp:146:33: error: ‘bpn_y’ was not declared in this scope
  825. double* y = (double*) nu::data(bpn_y);
  826. ^~~~~
  827. adolc/src/py_adolc.cpp:146:38: error: ‘num_util::data’ cannot be used as a function
  828. double* y = (double*) nu::data(bpn_y);
  829. ^
  830. adolc/src/py_adolc.cpp:147:33: error: ‘bpn_w’ was not declared in this scope
  831. double* w = (double*) nu::data(bpn_w);
  832. ^~~~~
  833. adolc/src/py_adolc.cpp:147:38: error: ‘num_util::data’ cannot be used as a function
  834. double* w = (double*) nu::data(bpn_w);
  835. ^
  836. adolc/src/py_adolc.cpp: At global scope:
  837. adolc/src/py_adolc.cpp:152:66: error: ‘bpn’ has not been declared
  838. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  839. ^~~
  840. adolc/src/py_adolc.cpp:152:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  841. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  842. ^
  843. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fov_forward(short int, int, int, int, int)’:
  844. adolc/src/py_adolc.cpp:153:33: error: ‘bpn_x’ was not declared in this scope
  845. double* x = (double*) nu::data(bpn_x);
  846. ^~~~~
  847. adolc/src/py_adolc.cpp:153:38: error: ‘num_util::data’ cannot be used as a function
  848. double* x = (double*) nu::data(bpn_x);
  849. ^
  850. adolc/src/py_adolc.cpp:154:33: error: ‘bpn_y’ was not declared in this scope
  851. double* y = (double*) nu::data(bpn_y);
  852. ^~~~~
  853. adolc/src/py_adolc.cpp:154:38: error: ‘num_util::data’ cannot be used as a function
  854. double* y = (double*) nu::data(bpn_y);
  855. ^
  856. adolc/src/py_adolc.cpp:155:38: error: ‘bpn_V’ was not declared in this scope
  857. double* V_data = (double*) nu::data(bpn_V);
  858. ^~~~~
  859. adolc/src/py_adolc.cpp:155:43: error: ‘num_util::data’ cannot be used as a function
  860. double* V_data = (double*) nu::data(bpn_V);
  861. ^
  862. adolc/src/py_adolc.cpp:160:38: error: ‘bpn_W’ was not declared in this scope
  863. double* W_data = (double*) nu::data(bpn_W);
  864. ^~~~~
  865. adolc/src/py_adolc.cpp:160:43: error: ‘num_util::data’ cannot be used as a function
  866. double* W_data = (double*) nu::data(bpn_W);
  867. ^
  868. adolc/src/py_adolc.cpp: At global scope:
  869. adolc/src/py_adolc.cpp:169:76: error: ‘bpn’ has not been declared
  870. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  871. ^~~
  872. adolc/src/py_adolc.cpp:169:87: error: expected ‘,’ or ‘...’ before ‘&’ token
  873. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  874. ^
  875. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_forward(short int, int, int, int, int, int)’:
  876. adolc/src/py_adolc.cpp:170:33: error: ‘bpn_x’ was not declared in this scope
  877. double* x = (double*) nu::data(bpn_x);
  878. ^~~~~
  879. adolc/src/py_adolc.cpp:170:38: error: ‘num_util::data’ cannot be used as a function
  880. double* x = (double*) nu::data(bpn_x);
  881. ^
  882. adolc/src/py_adolc.cpp:171:33: error: ‘bpn_y’ was not declared in this scope
  883. double* y = (double*) nu::data(bpn_y);
  884. ^~~~~
  885. adolc/src/py_adolc.cpp:171:38: error: ‘num_util::data’ cannot be used as a function
  886. double* y = (double*) nu::data(bpn_y);
  887. ^
  888. adolc/src/py_adolc.cpp:172:38: error: ‘bpn_V’ was not declared in this scope
  889. double* V_data = (double*) nu::data(bpn_V);
  890. ^~~~~
  891. adolc/src/py_adolc.cpp:172:43: error: ‘num_util::data’ cannot be used as a function
  892. double* V_data = (double*) nu::data(bpn_V);
  893. ^
  894. adolc/src/py_adolc.cpp:177:38: error: ‘bpn_W’ was not declared in this scope
  895. double* W_data = (double*) nu::data(bpn_W);
  896. ^~~~~
  897. adolc/src/py_adolc.cpp:177:43: error: ‘num_util::data’ cannot be used as a function
  898. double* W_data = (double*) nu::data(bpn_W);
  899. ^
  900. adolc/src/py_adolc.cpp: At global scope:
  901. adolc/src/py_adolc.cpp:185:73: error: ‘bpn’ has not been declared
  902. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  903. ^~~
  904. adolc/src/py_adolc.cpp:185:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  905. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  906. ^
  907. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_forward(short int, int, int, int, int, int)’:
  908. adolc/src/py_adolc.cpp:186:33: error: ‘bpn_x’ was not declared in this scope
  909. double* x = (double*) nu::data(bpn_x);
  910. ^~~~~
  911. adolc/src/py_adolc.cpp:186:38: error: ‘num_util::data’ cannot be used as a function
  912. double* x = (double*) nu::data(bpn_x);
  913. ^
  914. adolc/src/py_adolc.cpp:187:33: error: ‘bpn_y’ was not declared in this scope
  915. double* y = (double*) nu::data(bpn_y);
  916. ^~~~~
  917. adolc/src/py_adolc.cpp:187:38: error: ‘num_util::data’ cannot be used as a function
  918. double* y = (double*) nu::data(bpn_y);
  919. ^
  920. adolc/src/py_adolc.cpp:188:38: error: ‘bpn_V’ was not declared in this scope
  921. double* V_data = (double*) nu::data(bpn_V);
  922. ^~~~~
  923. adolc/src/py_adolc.cpp:188:43: error: ‘num_util::data’ cannot be used as a function
  924. double* V_data = (double*) nu::data(bpn_V);
  925. ^
  926. adolc/src/py_adolc.cpp:199:38: error: ‘bpn_W’ was not declared in this scope
  927. double* W_data = (double*) nu::data(bpn_W);
  928. ^~~~~
  929. adolc/src/py_adolc.cpp:199:43: error: ‘num_util::data’ cannot be used as a function
  930. double* W_data = (double*) nu::data(bpn_W);
  931. ^
  932. adolc/src/py_adolc.cpp: At global scope:
  933. adolc/src/py_adolc.cpp:212:85: error: ‘bpn’ has not been declared
  934. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  935. ^~~
  936. adolc/src/py_adolc.cpp:212:96: error: expected ‘,’ or ‘...’ before ‘&’ token
  937. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  938. ^
  939. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_wk_forward(short int, int, int, int, int, int, int)’:
  940. adolc/src/py_adolc.cpp:213:33: error: ‘bpn_x’ was not declared in this scope
  941. double* x = (double*) nu::data(bpn_x);
  942. ^~~~~
  943. adolc/src/py_adolc.cpp:213:38: error: ‘num_util::data’ cannot be used as a function
  944. double* x = (double*) nu::data(bpn_x);
  945. ^
  946. adolc/src/py_adolc.cpp:214:33: error: ‘bpn_y’ was not declared in this scope
  947. double* y = (double*) nu::data(bpn_y);
  948. ^~~~~
  949. adolc/src/py_adolc.cpp:214:38: error: ‘num_util::data’ cannot be used as a function
  950. double* y = (double*) nu::data(bpn_y);
  951. ^
  952. adolc/src/py_adolc.cpp:215:38: error: ‘bpn_V’ was not declared in this scope
  953. double* V_data = (double*) nu::data(bpn_V);
  954. ^~~~~
  955. adolc/src/py_adolc.cpp:215:43: error: ‘num_util::data’ cannot be used as a function
  956. double* V_data = (double*) nu::data(bpn_V);
  957. ^
  958. adolc/src/py_adolc.cpp:226:38: error: ‘bpn_W’ was not declared in this scope
  959. double* W_data = (double*) nu::data(bpn_W);
  960. ^~~~~
  961. adolc/src/py_adolc.cpp:226:43: error: ‘num_util::data’ cannot be used as a function
  962. double* W_data = (double*) nu::data(bpn_W);
  963. ^
  964. adolc/src/py_adolc.cpp: At global scope:
  965. adolc/src/py_adolc.cpp:240:59: error: ‘bpn’ has not been declared
  966. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z){
  967. ^~~
  968. adolc/src/py_adolc.cpp:240:70: error: expected ‘,’ or ‘...’ before ‘&’ token
  969. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z){
  970. ^
  971. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fos_reverse(short int, int, int, int)’:
  972. adolc/src/py_adolc.cpp:241:33: error: ‘bpn_u’ was not declared in this scope
  973. double* u = (double*) nu::data(bpn_u);
  974. ^~~~~
  975. adolc/src/py_adolc.cpp:241:38: error: ‘num_util::data’ cannot be used as a function
  976. double* u = (double*) nu::data(bpn_u);
  977. ^
  978. adolc/src/py_adolc.cpp:242:33: error: ‘bpn_z’ was not declared in this scope
  979. double* z = (double*) nu::data(bpn_z);
  980. ^~~~~
  981. adolc/src/py_adolc.cpp:242:38: error: ‘num_util::data’ cannot be used as a function
  982. double* z = (double*) nu::data(bpn_z);
  983. ^
  984. adolc/src/py_adolc.cpp: At global scope:
  985. adolc/src/py_adolc.cpp:246:66: error: ‘bpn’ has not been declared
  986. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z){
  987. ^~~
  988. adolc/src/py_adolc.cpp:246:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  989. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z){
  990. ^
  991. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fov_reverse(short int, int, int, int, int)’:
  992. adolc/src/py_adolc.cpp:247:38: error: ‘bpn_U’ was not declared in this scope
  993. double* U_data = (double*) nu::data(bpn_U);
  994. ^~~~~
  995. adolc/src/py_adolc.cpp:247:43: error: ‘num_util::data’ cannot be used as a function
  996. double* U_data = (double*) nu::data(bpn_U);
  997. ^
  998. adolc/src/py_adolc.cpp:253:38: error: ‘bpn_Z’ was not declared in this scope
  999. double* Z_data = (double*) nu::data(bpn_Z);
  1000. ^~~~~
  1001. adolc/src/py_adolc.cpp:253:43: error: ‘num_util::data’ cannot be used as a function
  1002. double* Z_data = (double*) nu::data(bpn_Z);
  1003. ^
  1004. adolc/src/py_adolc.cpp: At global scope:
  1005. adolc/src/py_adolc.cpp:260:66: error: ‘bpn’ has not been declared
  1006. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z){
  1007. ^~~
  1008. adolc/src/py_adolc.cpp:260:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1009. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z){
  1010. ^
  1011. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_reverse(short int, int, int, int, int)’:
  1012. adolc/src/py_adolc.cpp:261:33: error: ‘bpn_u’ was not declared in this scope
  1013. double* u = (double*) nu::data(bpn_u);
  1014. ^~~~~
  1015. adolc/src/py_adolc.cpp:261:38: error: ‘num_util::data’ cannot be used as a function
  1016. double* u = (double*) nu::data(bpn_u);
  1017. ^
  1018. adolc/src/py_adolc.cpp:262:38: error: ‘bpn_Z’ was not declared in this scope
  1019. double* Z_data = (double*) nu::data(bpn_Z);
  1020. ^~~~~
  1021. adolc/src/py_adolc.cpp:262:43: error: ‘num_util::data’ cannot be used as a function
  1022. double* Z_data = (double*) nu::data(bpn_Z);
  1023. ^
  1024. adolc/src/py_adolc.cpp: At global scope:
  1025. adolc/src/py_adolc.cpp:270:70: error: ‘bpn’ has not been declared
  1026. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z){
  1027. ^~~
  1028. adolc/src/py_adolc.cpp:270:81: error: expected ‘,’ or ‘...’ before ‘&’ token
  1029. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z){
  1030. ^
  1031. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_ti_reverse(short int, int, int, int, int)’:
  1032. adolc/src/py_adolc.cpp:271:38: error: ‘bpn_U’ was not declared in this scope
  1033. double* U_data = (double*) nu::data(bpn_U);
  1034. ^~~~~
  1035. adolc/src/py_adolc.cpp:271:43: error: ‘num_util::data’ cannot be used as a function
  1036. double* U_data = (double*) nu::data(bpn_U);
  1037. ^
  1038. adolc/src/py_adolc.cpp:276:38: error: ‘bpn_Z’ was not declared in this scope
  1039. double* Z_data = (double*) nu::data(bpn_Z);
  1040. ^~~~~
  1041. adolc/src/py_adolc.cpp:276:43: error: ‘num_util::data’ cannot be used as a function
  1042. double* Z_data = (double*) nu::data(bpn_Z);
  1043. ^
  1044. adolc/src/py_adolc.cpp: At global scope:
  1045. adolc/src/py_adolc.cpp:285:73: error: ‘bpn’ has not been declared
  1046. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1047. ^~~
  1048. adolc/src/py_adolc.cpp:285:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  1049. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1050. ^
  1051. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_reverse(short int, int, int, int, int, int)’:
  1052. adolc/src/py_adolc.cpp:286:38: error: ‘bpn_U’ was not declared in this scope
  1053. double* U_data = (double*) nu::data(bpn_U);
  1054. ^~~~~
  1055. adolc/src/py_adolc.cpp:286:43: error: ‘num_util::data’ cannot be used as a function
  1056. double* U_data = (double*) nu::data(bpn_U);
  1057. ^
  1058. adolc/src/py_adolc.cpp:292:38: error: ‘bpn_Z’ was not declared in this scope
  1059. double* Z_data = (double*) nu::data(bpn_Z);
  1060. ^~~~~
  1061. adolc/src/py_adolc.cpp:292:43: error: ‘num_util::data’ cannot be used as a function
  1062. double* Z_data = (double*) nu::data(bpn_Z);
  1063. ^
  1064. adolc/src/py_adolc.cpp:302:37: error: ‘bpn_nz’ was not declared in this scope
  1065. short* nz_data = (short*) nu::data(bpn_nz);
  1066. ^~~~~~
  1067. adolc/src/py_adolc.cpp:302:43: error: ‘num_util::data’ cannot be used as a function
  1068. short* nz_data = (short*) nu::data(bpn_nz);
  1069. ^
  1070. adolc/src/py_adolc.cpp: At global scope:
  1071. adolc/src/py_adolc.cpp:311:75: error: ‘bpn’ has not been declared
  1072. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1073. ^~~
  1074. adolc/src/py_adolc.cpp:311:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1075. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1076. ^
  1077. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_ti_reverse(short int, int, int, int, int, int)’:
  1078. adolc/src/py_adolc.cpp:314:38: error: ‘bpn_U’ was not declared in this scope
  1079. double* U_data = (double*) nu::data(bpn_U);
  1080. ^~~~~
  1081. adolc/src/py_adolc.cpp:314:43: error: ‘num_util::data’ cannot be used as a function
  1082. double* U_data = (double*) nu::data(bpn_U);
  1083. ^
  1084. adolc/src/py_adolc.cpp:327:38: error: ‘bpn_Z’ was not declared in this scope
  1085. double* Z_data = (double*) nu::data(bpn_Z);
  1086. ^~~~~
  1087. adolc/src/py_adolc.cpp:327:43: error: ‘num_util::data’ cannot be used as a function
  1088. double* Z_data = (double*) nu::data(bpn_Z);
  1089. ^
  1090. adolc/src/py_adolc.cpp:340:37: error: ‘bpn_nz’ was not declared in this scope
  1091. short* nz_data = (short*) nu::data(bpn_nz);
  1092. ^~~~~~
  1093. adolc/src/py_adolc.cpp:340:43: error: ‘num_util::data’ cannot be used as a function
  1094. short* nz_data = (short*) nu::data(bpn_nz);
  1095. ^
  1096. adolc/src/py_adolc.cpp: At global scope:
  1097. adolc/src/py_adolc.cpp:351:75: error: ‘bpn’ has not been declared
  1098. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z){
  1099. ^~~
  1100. adolc/src/py_adolc.cpp:351:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1101. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z){
  1102. ^
  1103. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_ov_reverse(short int, int, int, int, int, int)’:
  1104. adolc/src/py_adolc.cpp:355:38: error: ‘bpn_U’ was not declared in this scope
  1105. double* U_data = (double*) nu::data(bpn_U);
  1106. ^~~~~
  1107. adolc/src/py_adolc.cpp:355:43: error: ‘num_util::data’ cannot be used as a function
  1108. double* U_data = (double*) nu::data(bpn_U);
  1109. ^
  1110. adolc/src/py_adolc.cpp:362:38: error: ‘bpn_Z’ was not declared in this scope
  1111. double* Z_data = (double*) nu::data(bpn_Z);
  1112. ^~~~~
  1113. adolc/src/py_adolc.cpp:362:43: error: ‘num_util::data’ cannot be used as a function
  1114. double* Z_data = (double*) nu::data(bpn_Z);
  1115. ^
  1116. adolc/src/py_adolc.cpp: At global scope:
  1117. adolc/src/py_adolc.cpp:381:34: error: ‘bpn’ has not been declared
  1118. void py_tape_doc(short tape_tag, bpn::array &x, bpn::array &y ){
  1119. ^~~
  1120. adolc/src/py_adolc.cpp:381:45: error: expected ‘,’ or ‘...’ before ‘&’ token
  1121. void py_tape_doc(short tape_tag, bpn::array &x, bpn::array &y ){
  1122. ^
  1123. adolc/src/py_adolc.cpp: In function ‘void py_tape_doc(short int, int)’:
  1124. adolc/src/py_adolc.cpp:382:6: error: ‘check_rank’ is not a member of ‘nu’
  1125. nu::check_rank(x,1);
  1126. ^~~~~~~~~~
  1127. adolc/src/py_adolc.cpp:382:17: error: ‘x’ was not declared in this scope
  1128. nu::check_rank(x,1);
  1129. ^
  1130. adolc/src/py_adolc.cpp:383:6: error: ‘check_rank’ is not a member of ‘nu’
  1131. nu::check_rank(y,1);
  1132. ^~~~~~~~~~
  1133. adolc/src/py_adolc.cpp:383:17: error: ‘y’ was not declared in this scope
  1134. nu::check_rank(y,1);
  1135. ^
  1136. adolc/src/py_adolc.cpp:385:42: error: ‘num_util::data’ cannot be used as a function
  1137. double* dataPtr_x = (double*) nu::data(x);
  1138. ^
  1139. adolc/src/py_adolc.cpp:386:42: error: ‘num_util::data’ cannot be used as a function
  1140. double* dataPtr_y = (double*) nu::data(y);
  1141. ^
  1142. In file included from adolc/src/py_adolc.hpp:5:0,
  1143. from adolc/src/py_adolc.cpp:3:
  1144. adolc/src/num_util.h:32:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1145. boost::python::numeric::array makeNum(boost::python::object x);
  1146. ^~~~~~~
  1147. adolc/src/num_util.h:41:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1148. boost::python::numeric::array makeNum(npy_intp n, NPY_TYPES t);
  1149. ^~~~~~~
  1150. adolc/src/num_util.h:50:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1151. boost::python::numeric::array makeNum(std::vector<npy_intp> dimens,
  1152. ^~~~~~~
  1153. adolc/src/num_util.h:76:40: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1154. template <typename T> boost::python::numeric::array makeNum(T* data, npy_intp n = 0){
  1155. ^~~~~~~
  1156. adolc/src/num_util.h:93:40: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1157. template <typename T> boost::python::numeric::array makeNum(T * data, std::vector<npy_intp> dims){
  1158. ^~~~~~~
  1159. adolc/src/num_util.h:107:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1160. boost::python::numeric::array makeNum(const
  1161. ^~~~~~~
  1162. adolc/src/num_util.h:115:33: error: ‘boost::python::numeric’ has not been declared
  1163. NPY_TYPES type(boost::python::numeric::array arr);
  1164. ^~~~~~~
  1165. adolc/src/num_util.h:124:34: error: variable or field ‘check_type’ declared void
  1166. void check_type(boost::python::numeric::array arr,
  1167. ^~~~~~~
  1168. adolc/src/num_util.h:124:34: error: ‘boost::python::numeric’ has not been declared
  1169. adolc/src/num_util.h:125:15: error: expected primary-expression before ‘expected_type’
  1170. NPY_TYPES expected_type);
  1171. ^~~~~~~~~~~~~
  1172. adolc/src/num_util.h:132:27: error: ‘boost::python::numeric’ has not been declared
  1173. int rank(boost::python::numeric::array arr);
  1174. ^~~~~~~
  1175. adolc/src/num_util.h:140:34: error: variable or field ‘check_rank’ declared void
  1176. void check_rank(boost::python::numeric::array arr, int expected_rank);
  1177. ^~~~~~~
  1178. adolc/src/num_util.h:140:34: error: ‘boost::python::numeric’ has not been declared
  1179. adolc/src/num_util.h:140:54: error: expected primary-expression before ‘int’
  1180. void check_rank(boost::python::numeric::array arr, int expected_rank);
  1181. ^~~
  1182. adolc/src/num_util.h:147:32: error: ‘boost::python::numeric’ has not been declared
  1183. npy_intp size(boost::python::numeric::array arr);
  1184. ^~~~~~~
  1185. adolc/src/num_util.h:156:34: error: variable or field ‘check_size’ declared void
  1186. void check_size(boost::python::numeric::array arr, npy_intp expected_size);
  1187. ^~~~~~~
  1188. adolc/src/num_util.h:156:34: error: ‘boost::python::numeric’ has not been declared
  1189. adolc/src/num_util.h:156:63: error: expected primary-expression before ‘expected_size’
  1190. void check_size(boost::python::numeric::array arr, npy_intp expected_size);
  1191. ^~~~~~~~~~~~~
  1192. adolc/src/num_util.h:163:46: error: ‘boost::python::numeric’ has not been declared
  1193. std::vector<npy_intp> shape(boost::python::numeric::array arr);
  1194. ^~~~~~~
  1195. adolc/src/num_util.h:171:35: error: ‘boost::python::numeric’ has not been declared
  1196. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  1197. ^~~~~~~
  1198. adolc/src/num_util.h:171:55: error: expected primary-expression before ‘int’
  1199. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  1200. ^~~
  1201. adolc/src/num_util.h:171:65: error: expression list treated as compound expression in initializer [-fpermissive]
  1202. npy_intp get_dim(boost::python::numeric::array arr, int dimnum);
  1203. ^
  1204. adolc/src/num_util.h:180:35: error: variable or field ‘check_shape’ declared void
  1205. void check_shape(boost::python::numeric::array arr,
  1206. ^~~~~~~
  1207. adolc/src/num_util.h:180:35: error: ‘boost::python::numeric’ has not been declared
  1208. adolc/src/num_util.h:181:28: error: expected primary-expression before ‘expected_dims’
  1209. std::vector<npy_intp> expected_dims);
  1210. ^~~~~~~~~~~~~
  1211. adolc/src/num_util.h:191:33: error: variable or field ‘check_dim’ declared void
  1212. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  1213. ^~~~~~~
  1214. adolc/src/num_util.h:191:33: error: ‘boost::python::numeric’ has not been declared
  1215. adolc/src/num_util.h:191:53: error: expected primary-expression before ‘int’
  1216. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  1217. ^~~
  1218. adolc/src/num_util.h:191:74: error: expected primary-expression before ‘dimsize’
  1219. void check_dim(boost::python::numeric::array arr, int dimnum, npy_intp dimsize);
  1220. ^~~~~~~
  1221. adolc/src/num_util.h:198:36: error: ‘boost::python::numeric’ has not been declared
  1222. bool iscontiguous(boost::python::numeric::array arr);
  1223. ^~~~~~~
  1224. adolc/src/num_util.h:205:40: error: variable or field ‘check_contiguous’ declared void
  1225. void check_contiguous(boost::python::numeric::array arr);
  1226. ^~~~~~~
  1227. adolc/src/num_util.h:205:40: error: ‘boost::python::numeric’ has not been declared
  1228. adolc/src/num_util.h:212:29: error: ‘boost::python::numeric’ has not been declared
  1229. void* data(boost::python::numeric::array arr);
  1230. ^~~~~~~
  1231. adolc/src/num_util.h:220:33: error: variable or field ‘copy_data’ declared void
  1232. void copy_data(boost::python::numeric::array arr, char* new_data);
  1233. ^~~~~~~
  1234. adolc/src/num_util.h:220:33: error: ‘boost::python::numeric’ has not been declared
  1235. adolc/src/num_util.h:220:53: error: expected primary-expression before ‘char’
  1236. void copy_data(boost::python::numeric::array arr, char* new_data);
  1237. ^~~~
  1238. adolc/src/num_util.h:227:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1239. boost::python::numeric::array clone(boost::python::numeric::array arr);
  1240. ^~~~~~~
  1241. adolc/src/num_util.h:235:18: error: ‘numeric’ in namespace ‘boost::python’ does not name a type
  1242. boost::python::numeric::array astype(boost::python::numeric::array arr,
  1243. ^~~~~~~
  1244. adolc/src/num_util.h:243:31: error: ‘boost::python::numeric’ has not been declared
  1245. int refcount(boost::python::numeric::array arr);
  1246. ^~~~~~~
  1247. adolc/src/num_util.h:250:48: error: ‘boost::python::numeric’ has not been declared
  1248. std::vector<npy_intp> strides(boost::python::numeric::array arr);
  1249. ^~~~~~~
  1250. In file included from adolc/src/py_adolc.hpp:8:0,
  1251. from adolc/src/py_adolc.cpp:3:
  1252. adolc/src/py_interpolation.h:9:32: error: ‘numeric’ is not a namespace-name
  1253. namespace bpn = boost::python::numeric;
  1254. ^~~~~~~
  1255. adolc/src/py_interpolation.h:9:39: error: expected namespace-name before ‘;’ token
  1256. namespace bpn = boost::python::numeric;
  1257. ^
  1258. adolc/src/py_interpolation.h:45:21: error: variable or field ‘entangle_cross’ declared void
  1259. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1260. ^~~
  1261. adolc/src/py_interpolation.h:45:21: error: ‘bpn’ has not been declared
  1262. adolc/src/py_interpolation.h:45:33: error: ‘V’ was not declared in this scope
  1263. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1264. ^
  1265. adolc/src/py_interpolation.h:45:36: error: ‘bpn’ has not been declared
  1266. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1267. ^~~
  1268. adolc/src/py_interpolation.h:45:48: error: ‘V1’ was not declared in this scope
  1269. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1270. ^~
  1271. adolc/src/py_interpolation.h:45:48: note: suggested alternative: ‘y1’
  1272. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1273. ^~
  1274. y1
  1275. adolc/src/py_interpolation.h:45:52: error: ‘bpn’ has not been declared
  1276. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1277. ^~~
  1278. adolc/src/py_interpolation.h:45:64: error: ‘V2’ was not declared in this scope
  1279. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1280. ^~
  1281. adolc/src/py_interpolation.h:45:68: error: ‘bpn’ has not been declared
  1282. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1283. ^~~
  1284. adolc/src/py_interpolation.h:45:80: error: ‘V12’ was not declared in this scope
  1285. void entangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1286. ^~~
  1287. adolc/src/py_interpolation.h:72:21: error: variable or field ‘detangle_cross’ declared void
  1288. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1289. ^~~
  1290. adolc/src/py_interpolation.h:72:21: error: ‘bpn’ has not been declared
  1291. adolc/src/py_interpolation.h:72:33: error: ‘V’ was not declared in this scope
  1292. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1293. ^
  1294. adolc/src/py_interpolation.h:72:36: error: ‘bpn’ has not been declared
  1295. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1296. ^~~
  1297. adolc/src/py_interpolation.h:72:48: error: ‘V1’ was not declared in this scope
  1298. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1299. ^~
  1300. adolc/src/py_interpolation.h:72:48: note: suggested alternative: ‘y1’
  1301. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1302. ^~
  1303. y1
  1304. adolc/src/py_interpolation.h:72:52: error: ‘bpn’ has not been declared
  1305. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1306. ^~~
  1307. adolc/src/py_interpolation.h:72:64: error: ‘V2’ was not declared in this scope
  1308. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1309. ^~
  1310. adolc/src/py_interpolation.h:72:68: error: ‘bpn’ has not been declared
  1311. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1312. ^~~
  1313. adolc/src/py_interpolation.h:72:80: error: ‘V12’ was not declared in this scope
  1314. void detangle_cross(bpn::array &V, bpn::array &V1, bpn::array &V2, bpn::array &V12);
  1315. ^~~
  1316. In file included from adolc/src/py_adolc.cpp:3:0:
  1317. adolc/src/py_adolc.hpp:13:32: error: ‘numeric’ is not a namespace-name
  1318. namespace bpn = boost::python::numeric;
  1319. ^~~~~~~
  1320. adolc/src/py_adolc.hpp:13:39: error: expected namespace-name before ‘;’ token
  1321. namespace bpn = boost::python::numeric;
  1322. ^
  1323. adolc/src/py_adolc.hpp:77:57: error: ‘bpn’ has not been declared
  1324. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y );
  1325. ^~~
  1326. adolc/src/py_adolc.hpp:77:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  1327. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y );
  1328. ^
  1329. adolc/src/py_adolc.hpp:78:50: error: ‘bpn’ has not been declared
  1330. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g);
  1331. ^~~
  1332. adolc/src/py_adolc.hpp:78:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  1333. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g);
  1334. ^
  1335. adolc/src/py_adolc.hpp:79:49: error: ‘bpn’ has not been declared
  1336. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H);
  1337. ^~~
  1338. adolc/src/py_adolc.hpp:79:60: error: expected ‘,’ or ‘...’ before ‘&’ token
  1339. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H);
  1340. ^
  1341. adolc/src/py_adolc.hpp:80:57: error: ‘bpn’ has not been declared
  1342. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J);
  1343. ^~~
  1344. adolc/src/py_adolc.hpp:80:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  1345. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J);
  1346. ^
  1347. adolc/src/py_adolc.hpp:81:69: error: ‘bpn’ has not been declared
  1348. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z);
  1349. ^~~
  1350. adolc/src/py_adolc.hpp:81:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1351. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z);
  1352. ^
  1353. adolc/src/py_adolc.hpp:82:56: error: ‘bpn’ has not been declared
  1354. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  1355. ^~~
  1356. adolc/src/py_adolc.hpp:82:67: error: expected ‘,’ or ‘...’ before ‘&’ token
  1357. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  1358. ^
  1359. adolc/src/py_adolc.hpp:83:50: error: ‘bpn’ has not been declared
  1360. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  1361. ^~~
  1362. adolc/src/py_adolc.hpp:83:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  1363. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z);
  1364. ^
  1365. adolc/src/py_adolc.hpp:84:61: error: ‘bpn’ has not been declared
  1366. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h);
  1367. ^~~
  1368. adolc/src/py_adolc.hpp:84:72: error: expected ‘,’ or ‘...’ before ‘&’ token
  1369. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h);
  1370. ^
  1371. In file included from adolc/src/py_adolc.cpp:3:0:
  1372. adolc/src/py_adolc.hpp:86:69: error: ‘bpn’ has not been declared
  1373. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y);
  1374. ^~~
  1375. adolc/src/py_adolc.hpp:86:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1376. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y);
  1377. ^
  1378. adolc/src/py_adolc.hpp:87:69: error: ‘bpn’ has not been declared
  1379. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w);
  1380. ^~~
  1381. adolc/src/py_adolc.hpp:87:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1382. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w);
  1383. ^
  1384. adolc/src/py_adolc.hpp:88:66: error: ‘bpn’ has not been declared
  1385. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1386. ^~~
  1387. adolc/src/py_adolc.hpp:88:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1388. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1389. ^
  1390. adolc/src/py_adolc.hpp:89:76: error: ‘bpn’ has not been declared
  1391. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1392. ^~~
  1393. adolc/src/py_adolc.hpp:89:87: error: expected ‘,’ or ‘...’ before ‘&’ token
  1394. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1395. ^
  1396. adolc/src/py_adolc.hpp:90:73: error: ‘bpn’ has not been declared
  1397. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1398. ^~~
  1399. adolc/src/py_adolc.hpp:90:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  1400. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1401. ^
  1402. adolc/src/py_adolc.hpp:91:85: error: ‘bpn’ has not been declared
  1403. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1404. ^~~
  1405. adolc/src/py_adolc.hpp:91:96: error: expected ‘,’ or ‘...’ before ‘&’ token
  1406. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W);
  1407. ^
  1408. adolc/src/py_adolc.hpp:94:59: error: ‘bpn’ has not been declared
  1409. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z);
  1410. ^~~
  1411. adolc/src/py_adolc.hpp:94:70: error: expected ‘,’ or ‘...’ before ‘&’ token
  1412. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z);
  1413. ^
  1414. adolc/src/py_adolc.hpp:95:66: error: ‘bpn’ has not been declared
  1415. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z);
  1416. ^~~
  1417. adolc/src/py_adolc.hpp:95:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1418. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z);
  1419. ^
  1420. adolc/src/py_adolc.hpp:96:66: error: ‘bpn’ has not been declared
  1421. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z);
  1422. ^~~
  1423. adolc/src/py_adolc.hpp:96:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1424. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z);
  1425. ^
  1426. adolc/src/py_adolc.hpp:97:70: error: ‘bpn’ has not been declared
  1427. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z);
  1428. ^~~
  1429. adolc/src/py_adolc.hpp:97:81: error: expected ‘,’ or ‘...’ before ‘&’ token
  1430. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z);
  1431. ^
  1432. adolc/src/py_adolc.hpp:100:73: error: ‘bpn’ has not been declared
  1433. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  1434. ^~~
  1435. adolc/src/py_adolc.hpp:100:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  1436. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  1437. ^
  1438. adolc/src/py_adolc.hpp:101:75: error: ‘bpn’ has not been declared
  1439. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  1440. ^~~
  1441. adolc/src/py_adolc.hpp:101:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1442. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz);
  1443. ^
  1444. adolc/src/py_adolc.hpp:102:75: error: ‘bpn’ has not been declared
  1445. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z);
  1446. ^~~
  1447. adolc/src/py_adolc.hpp:102:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1448. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z);
  1449. ^
  1450. adolc/src/py_adolc.hpp:105:34: error: ‘bpn’ has not been declared
  1451. void py_tape_doc(short tape_tag, bpn::array &bpn_x, bpn::array &bpn_y );
  1452. ^~~
  1453. adolc/src/py_adolc.hpp:105:45: error: expected ‘,’ or ‘...’ before ‘&’ token
  1454. void py_tape_doc(short tape_tag, bpn::array &bpn_x, bpn::array &bpn_y );
  1455. ^
  1456. adolc/src/py_adolc.hpp: In function ‘void init_module__adolc()’:
  1457. adolc/src/py_adolc.hpp:210:2: error: ‘bpn’ has not been declared
  1458. bpn::array::set_module_and_type("numpy", "ndarray"); /* some kind of hack to get numpy working */
  1459. ^~~
  1460. adolc/src/py_adolc.hpp:219:26: error: ‘entangle_cross’ was not declared in this scope
  1461. def("_entangle_cross", &entangle_cross);
  1462. ^~~~~~~~~~~~~~
  1463. adolc/src/py_adolc.hpp:220:26: error: ‘detangle_cross’ was not declared in this scope
  1464. def("_detangle_cross", &detangle_cross);
  1465. ^~~~~~~~~~~~~~
  1466. adolc/src/py_adolc.cpp: At global scope:
  1467. adolc/src/py_adolc.cpp:76:57: error: ‘bpn’ has not been declared
  1468. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y ){
  1469. ^~~
  1470. adolc/src/py_adolc.cpp:76:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  1471. int c_wrapped_function (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_y ){
  1472. ^
  1473. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_function(short int, int, int, int)’:
  1474. adolc/src/py_adolc.cpp:77:33: error: ‘bpn_x’ was not declared in this scope
  1475. double* x = (double*) nu::data(bpn_x);
  1476. ^~~~~
  1477. adolc/src/py_adolc.cpp:77:38: error: ‘num_util::data’ cannot be used as a function
  1478. double* x = (double*) nu::data(bpn_x);
  1479. ^
  1480. adolc/src/py_adolc.cpp:78:33: error: ‘bpn_y’ was not declared in this scope
  1481. double* y = (double*) nu::data(bpn_y);
  1482. ^~~~~
  1483. adolc/src/py_adolc.cpp:78:38: error: ‘num_util::data’ cannot be used as a function
  1484. double* y = (double*) nu::data(bpn_y);
  1485. ^
  1486. adolc/src/py_adolc.cpp: At global scope:
  1487. adolc/src/py_adolc.cpp:81:50: error: ‘bpn’ has not been declared
  1488. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g){
  1489. ^~~
  1490. adolc/src/py_adolc.cpp:81:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  1491. int c_wrapped_gradient (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_g){
  1492. ^
  1493. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_gradient(short int, int, int)’:
  1494. adolc/src/py_adolc.cpp:82:33: error: ‘bpn_x’ was not declared in this scope
  1495. double* x = (double*) nu::data(bpn_x);
  1496. ^~~~~
  1497. adolc/src/py_adolc.cpp:82:38: error: ‘num_util::data’ cannot be used as a function
  1498. double* x = (double*) nu::data(bpn_x);
  1499. ^
  1500. adolc/src/py_adolc.cpp:83:33: error: ‘bpn_g’ was not declared in this scope
  1501. double* g = (double*) nu::data(bpn_g);
  1502. ^~~~~
  1503. adolc/src/py_adolc.cpp:83:38: error: ‘num_util::data’ cannot be used as a function
  1504. double* g = (double*) nu::data(bpn_g);
  1505. ^
  1506. adolc/src/py_adolc.cpp: At global scope:
  1507. adolc/src/py_adolc.cpp:86:49: error: ‘bpn’ has not been declared
  1508. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H){
  1509. ^~~
  1510. adolc/src/py_adolc.cpp:86:60: error: expected ‘,’ or ‘...’ before ‘&’ token
  1511. int c_wrapped_hessian (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_H){
  1512. ^
  1513. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hessian(short int, int, int)’:
  1514. adolc/src/py_adolc.cpp:87:33: error: ‘bpn_x’ was not declared in this scope
  1515. double* x = (double*) nu::data(bpn_x);
  1516. ^~~~~
  1517. adolc/src/py_adolc.cpp:87:38: error: ‘num_util::data’ cannot be used as a function
  1518. double* x = (double*) nu::data(bpn_x);
  1519. ^
  1520. adolc/src/py_adolc.cpp:88:38: error: ‘bpn_H’ was not declared in this scope
  1521. double* H_data = (double*) nu::data(bpn_H);
  1522. ^~~~~
  1523. adolc/src/py_adolc.cpp:88:43: error: ‘num_util::data’ cannot be used as a function
  1524. double* H_data = (double*) nu::data(bpn_H);
  1525. ^
  1526. adolc/src/py_adolc.cpp: At global scope:
  1527. adolc/src/py_adolc.cpp:95:57: error: ‘bpn’ has not been declared
  1528. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J){
  1529. ^~~
  1530. adolc/src/py_adolc.cpp:95:68: error: expected ‘,’ or ‘...’ before ‘&’ token
  1531. int c_wrapped_jacobian (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_J){
  1532. ^
  1533. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_jacobian(short int, int, int, int)’:
  1534. adolc/src/py_adolc.cpp:96:33: error: ‘bpn_x’ was not declared in this scope
  1535. double* x = (double*) nu::data(bpn_x);
  1536. ^~~~~
  1537. adolc/src/py_adolc.cpp:96:38: error: ‘num_util::data’ cannot be used as a function
  1538. double* x = (double*) nu::data(bpn_x);
  1539. ^
  1540. adolc/src/py_adolc.cpp:98:38: error: ‘bpn_J’ was not declared in this scope
  1541. double* J_data = (double*) nu::data(bpn_J);
  1542. ^~~~~
  1543. adolc/src/py_adolc.cpp:98:43: error: ‘num_util::data’ cannot be used as a function
  1544. double* J_data = (double*) nu::data(bpn_J);
  1545. ^
  1546. adolc/src/py_adolc.cpp: At global scope:
  1547. adolc/src/py_adolc.cpp:104:69: error: ‘bpn’ has not been declared
  1548. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z){
  1549. ^~~
  1550. adolc/src/py_adolc.cpp:104:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1551. int c_wrapped_vec_jac (short tape_tag, int M, int N, bool repeat, bpn::array &bpn_x, bpn::array &bpn_u, bpn::array &bpn_z){
  1552. ^
  1553. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_vec_jac(short int, int, int, bool, int)’:
  1554. adolc/src/py_adolc.cpp:105:33: error: ‘bpn_x’ was not declared in this scope
  1555. double* x = (double*) nu::data(bpn_x);
  1556. ^~~~~
  1557. adolc/src/py_adolc.cpp:105:38: error: ‘num_util::data’ cannot be used as a function
  1558. double* x = (double*) nu::data(bpn_x);
  1559. ^
  1560. adolc/src/py_adolc.cpp:106:33: error: ‘bpn_u’ was not declared in this scope
  1561. double* u = (double*) nu::data(bpn_u);
  1562. ^~~~~
  1563. adolc/src/py_adolc.cpp:106:38: error: ‘num_util::data’ cannot be used as a function
  1564. double* u = (double*) nu::data(bpn_u);
  1565. ^
  1566. adolc/src/py_adolc.cpp:107:33: error: ‘bpn_z’ was not declared in this scope
  1567. double* z = (double*) nu::data(bpn_z);
  1568. ^~~~~
  1569. adolc/src/py_adolc.cpp:107:38: error: ‘num_util::data’ cannot be used as a function
  1570. double* z = (double*) nu::data(bpn_z);
  1571. ^
  1572. adolc/src/py_adolc.cpp: At global scope:
  1573. adolc/src/py_adolc.cpp:110:56: error: ‘bpn’ has not been declared
  1574. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  1575. ^~~
  1576. adolc/src/py_adolc.cpp:110:67: error: expected ‘,’ or ‘...’ before ‘&’ token
  1577. int c_wrapped_jac_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  1578. ^
  1579. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_jac_vec(short int, int, int, int)’:
  1580. adolc/src/py_adolc.cpp:111:33: error: ‘bpn_x’ was not declared in this scope
  1581. double* x = (double*) nu::data(bpn_x);
  1582. ^~~~~
  1583. adolc/src/py_adolc.cpp:111:38: error: ‘num_util::data’ cannot be used as a function
  1584. double* x = (double*) nu::data(bpn_x);
  1585. ^
  1586. adolc/src/py_adolc.cpp:112:33: error: ‘bpn_v’ was not declared in this scope
  1587. double* v = (double*) nu::data(bpn_v);
  1588. ^~~~~
  1589. adolc/src/py_adolc.cpp:112:38: error: ‘num_util::data’ cannot be used as a function
  1590. double* v = (double*) nu::data(bpn_v);
  1591. ^
  1592. adolc/src/py_adolc.cpp:113:33: error: ‘bpn_z’ was not declared in this scope
  1593. double* z = (double*) nu::data(bpn_z);
  1594. ^~~~~
  1595. adolc/src/py_adolc.cpp:113:38: error: ‘num_util::data’ cannot be used as a function
  1596. double* z = (double*) nu::data(bpn_z);
  1597. ^
  1598. adolc/src/py_adolc.cpp: At global scope:
  1599. adolc/src/py_adolc.cpp:116:50: error: ‘bpn’ has not been declared
  1600. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  1601. ^~~
  1602. adolc/src/py_adolc.cpp:116:61: error: expected ‘,’ or ‘...’ before ‘&’ token
  1603. int c_wrapped_hess_vec (short tape_tag, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_z){
  1604. ^
  1605. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hess_vec(short int, int, int)’:
  1606. adolc/src/py_adolc.cpp:117:33: error: ‘bpn_x’ was not declared in this scope
  1607. double* x = (double*) nu::data(bpn_x);
  1608. ^~~~~
  1609. adolc/src/py_adolc.cpp:117:38: error: ‘num_util::data’ cannot be used as a function
  1610. double* x = (double*) nu::data(bpn_x);
  1611. ^
  1612. adolc/src/py_adolc.cpp:118:33: error: ‘bpn_v’ was not declared in this scope
  1613. double* v = (double*) nu::data(bpn_v);
  1614. ^~~~~
  1615. adolc/src/py_adolc.cpp:118:38: error: ‘num_util::data’ cannot be used as a function
  1616. double* v = (double*) nu::data(bpn_v);
  1617. ^
  1618. adolc/src/py_adolc.cpp:119:33: error: ‘bpn_z’ was not declared in this scope
  1619. double* z = (double*) nu::data(bpn_z);
  1620. ^~~~~
  1621. adolc/src/py_adolc.cpp:119:38: error: ‘num_util::data’ cannot be used as a function
  1622. double* z = (double*) nu::data(bpn_z);
  1623. ^
  1624. adolc/src/py_adolc.cpp: At global scope:
  1625. adolc/src/py_adolc.cpp:122:61: error: ‘bpn’ has not been declared
  1626. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h){
  1627. ^~~
  1628. adolc/src/py_adolc.cpp:122:72: error: expected ‘,’ or ‘...’ before ‘&’ token
  1629. int c_wrapped_lagra_hess_vec (short tape_tag, int M, int N, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_u,bpn::array &bpn_h){
  1630. ^
  1631. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_lagra_hess_vec(short int, int, int, int)’:
  1632. adolc/src/py_adolc.cpp:124:33: error: ‘bpn_x’ was not declared in this scope
  1633. double* x = (double*) nu::data(bpn_x);
  1634. ^~~~~
  1635. adolc/src/py_adolc.cpp:124:38: error: ‘num_util::data’ cannot be used as a function
  1636. double* x = (double*) nu::data(bpn_x);
  1637. ^
  1638. adolc/src/py_adolc.cpp:125:33: error: ‘bpn_v’ was not declared in this scope
  1639. double* v = (double*) nu::data(bpn_v);
  1640. ^~~~~
  1641. adolc/src/py_adolc.cpp:125:38: error: ‘num_util::data’ cannot be used as a function
  1642. double* v = (double*) nu::data(bpn_v);
  1643. ^
  1644. adolc/src/py_adolc.cpp:126:33: error: ‘bpn_u’ was not declared in this scope
  1645. double* u = (double*) nu::data(bpn_u);
  1646. ^~~~~
  1647. adolc/src/py_adolc.cpp:126:38: error: ‘num_util::data’ cannot be used as a function
  1648. double* u = (double*) nu::data(bpn_u);
  1649. ^
  1650. adolc/src/py_adolc.cpp:127:33: error: ‘bpn_h’ was not declared in this scope
  1651. double* h = (double*) nu::data(bpn_h);
  1652. ^~~~~
  1653. adolc/src/py_adolc.cpp:127:38: error: ‘num_util::data’ cannot be used as a function
  1654. double* h = (double*) nu::data(bpn_h);
  1655. ^
  1656. adolc/src/py_adolc.cpp: At global scope:
  1657. adolc/src/py_adolc.cpp:137:69: error: ‘bpn’ has not been declared
  1658. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y){
  1659. ^~~
  1660. adolc/src/py_adolc.cpp:137:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1661. int c_wrapped_zos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_y){
  1662. ^
  1663. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_zos_forward(short int, int, int, int, int)’:
  1664. adolc/src/py_adolc.cpp:138:33: error: ‘bpn_x’ was not declared in this scope
  1665. double* x = (double*) nu::data(bpn_x);
  1666. ^~~~~
  1667. adolc/src/py_adolc.cpp:138:38: error: ‘num_util::data’ cannot be used as a function
  1668. double* x = (double*) nu::data(bpn_x);
  1669. ^
  1670. adolc/src/py_adolc.cpp:139:33: error: ‘bpn_y’ was not declared in this scope
  1671. double* y = (double*) nu::data(bpn_y);
  1672. ^~~~~
  1673. adolc/src/py_adolc.cpp:139:38: error: ‘num_util::data’ cannot be used as a function
  1674. double* y = (double*) nu::data(bpn_y);
  1675. ^
  1676. adolc/src/py_adolc.cpp: At global scope:
  1677. adolc/src/py_adolc.cpp:142:69: error: ‘bpn’ has not been declared
  1678. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w){
  1679. ^~~
  1680. adolc/src/py_adolc.cpp:142:80: error: expected ‘,’ or ‘...’ before ‘&’ token
  1681. int c_wrapped_fos_forward (short tape_tag, int M, int N, int keep, bpn::array &bpn_x, bpn::array &bpn_v, bpn::array &bpn_y, bpn::array &bpn_w){
  1682. ^
  1683. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fos_forward(short int, int, int, int, int)’:
  1684. adolc/src/py_adolc.cpp:144:33: error: ‘bpn_x’ was not declared in this scope
  1685. double* x = (double*) nu::data(bpn_x);
  1686. ^~~~~
  1687. adolc/src/py_adolc.cpp:144:38: error: ‘num_util::data’ cannot be used as a function
  1688. double* x = (double*) nu::data(bpn_x);
  1689. ^
  1690. adolc/src/py_adolc.cpp:145:33: error: ‘bpn_v’ was not declared in this scope
  1691. double* v = (double*) nu::data(bpn_v);
  1692. ^~~~~
  1693. adolc/src/py_adolc.cpp:145:38: error: ‘num_util::data’ cannot be used as a function
  1694. double* v = (double*) nu::data(bpn_v);
  1695. ^
  1696. adolc/src/py_adolc.cpp:146:33: error: ‘bpn_y’ was not declared in this scope
  1697. double* y = (double*) nu::data(bpn_y);
  1698. ^~~~~
  1699. adolc/src/py_adolc.cpp:146:38: error: ‘num_util::data’ cannot be used as a function
  1700. double* y = (double*) nu::data(bpn_y);
  1701. ^
  1702. adolc/src/py_adolc.cpp:147:33: error: ‘bpn_w’ was not declared in this scope
  1703. double* w = (double*) nu::data(bpn_w);
  1704. ^~~~~
  1705. adolc/src/py_adolc.cpp:147:38: error: ‘num_util::data’ cannot be used as a function
  1706. double* w = (double*) nu::data(bpn_w);
  1707. ^
  1708. adolc/src/py_adolc.cpp: At global scope:
  1709. adolc/src/py_adolc.cpp:152:66: error: ‘bpn’ has not been declared
  1710. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1711. ^~~
  1712. adolc/src/py_adolc.cpp:152:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1713. int c_wrapped_fov_forward (short tape_tag, int M, int N, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1714. ^
  1715. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fov_forward(short int, int, int, int, int)’:
  1716. adolc/src/py_adolc.cpp:153:33: error: ‘bpn_x’ was not declared in this scope
  1717. double* x = (double*) nu::data(bpn_x);
  1718. ^~~~~
  1719. adolc/src/py_adolc.cpp:153:38: error: ‘num_util::data’ cannot be used as a function
  1720. double* x = (double*) nu::data(bpn_x);
  1721. ^
  1722. adolc/src/py_adolc.cpp:154:33: error: ‘bpn_y’ was not declared in this scope
  1723. double* y = (double*) nu::data(bpn_y);
  1724. ^~~~~
  1725. adolc/src/py_adolc.cpp:154:38: error: ‘num_util::data’ cannot be used as a function
  1726. double* y = (double*) nu::data(bpn_y);
  1727. ^
  1728. adolc/src/py_adolc.cpp:155:38: error: ‘bpn_V’ was not declared in this scope
  1729. double* V_data = (double*) nu::data(bpn_V);
  1730. ^~~~~
  1731. adolc/src/py_adolc.cpp:155:43: error: ‘num_util::data’ cannot be used as a function
  1732. double* V_data = (double*) nu::data(bpn_V);
  1733. ^
  1734. adolc/src/py_adolc.cpp:160:38: error: ‘bpn_W’ was not declared in this scope
  1735. double* W_data = (double*) nu::data(bpn_W);
  1736. ^~~~~
  1737. adolc/src/py_adolc.cpp:160:43: error: ‘num_util::data’ cannot be used as a function
  1738. double* W_data = (double*) nu::data(bpn_W);
  1739. ^
  1740. adolc/src/py_adolc.cpp: At global scope:
  1741. adolc/src/py_adolc.cpp:169:76: error: ‘bpn’ has not been declared
  1742. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1743. ^~~
  1744. adolc/src/py_adolc.cpp:169:87: error: expected ‘,’ or ‘...’ before ‘&’ token
  1745. int c_wrapped_hos_forward (short tape_tag, int M, int N, int D, int keep, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1746. ^
  1747. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_forward(short int, int, int, int, int, int)’:
  1748. adolc/src/py_adolc.cpp:170:33: error: ‘bpn_x’ was not declared in this scope
  1749. double* x = (double*) nu::data(bpn_x);
  1750. ^~~~~
  1751. adolc/src/py_adolc.cpp:170:38: error: ‘num_util::data’ cannot be used as a function
  1752. double* x = (double*) nu::data(bpn_x);
  1753. ^
  1754. adolc/src/py_adolc.cpp:171:33: error: ‘bpn_y’ was not declared in this scope
  1755. double* y = (double*) nu::data(bpn_y);
  1756. ^~~~~
  1757. adolc/src/py_adolc.cpp:171:38: error: ‘num_util::data’ cannot be used as a function
  1758. double* y = (double*) nu::data(bpn_y);
  1759. ^
  1760. adolc/src/py_adolc.cpp:172:38: error: ‘bpn_V’ was not declared in this scope
  1761. double* V_data = (double*) nu::data(bpn_V);
  1762. ^~~~~
  1763. adolc/src/py_adolc.cpp:172:43: error: ‘num_util::data’ cannot be used as a function
  1764. double* V_data = (double*) nu::data(bpn_V);
  1765. ^
  1766. adolc/src/py_adolc.cpp:177:38: error: ‘bpn_W’ was not declared in this scope
  1767. double* W_data = (double*) nu::data(bpn_W);
  1768. ^~~~~
  1769. adolc/src/py_adolc.cpp:177:43: error: ‘num_util::data’ cannot be used as a function
  1770. double* W_data = (double*) nu::data(bpn_W);
  1771. ^
  1772. adolc/src/py_adolc.cpp: At global scope:
  1773. adolc/src/py_adolc.cpp:185:73: error: ‘bpn’ has not been declared
  1774. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1775. ^~~
  1776. adolc/src/py_adolc.cpp:185:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  1777. int c_wrapped_hov_forward (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1778. ^
  1779. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_forward(short int, int, int, int, int, int)’:
  1780. adolc/src/py_adolc.cpp:186:33: error: ‘bpn_x’ was not declared in this scope
  1781. double* x = (double*) nu::data(bpn_x);
  1782. ^~~~~
  1783. adolc/src/py_adolc.cpp:186:38: error: ‘num_util::data’ cannot be used as a function
  1784. double* x = (double*) nu::data(bpn_x);
  1785. ^
  1786. adolc/src/py_adolc.cpp:187:33: error: ‘bpn_y’ was not declared in this scope
  1787. double* y = (double*) nu::data(bpn_y);
  1788. ^~~~~
  1789. adolc/src/py_adolc.cpp:187:38: error: ‘num_util::data’ cannot be used as a function
  1790. double* y = (double*) nu::data(bpn_y);
  1791. ^
  1792. adolc/src/py_adolc.cpp:188:38: error: ‘bpn_V’ was not declared in this scope
  1793. double* V_data = (double*) nu::data(bpn_V);
  1794. ^~~~~
  1795. adolc/src/py_adolc.cpp:188:43: error: ‘num_util::data’ cannot be used as a function
  1796. double* V_data = (double*) nu::data(bpn_V);
  1797. ^
  1798. adolc/src/py_adolc.cpp:199:38: error: ‘bpn_W’ was not declared in this scope
  1799. double* W_data = (double*) nu::data(bpn_W);
  1800. ^~~~~
  1801. adolc/src/py_adolc.cpp:199:43: error: ‘num_util::data’ cannot be used as a function
  1802. double* W_data = (double*) nu::data(bpn_W);
  1803. ^
  1804. adolc/src/py_adolc.cpp: At global scope:
  1805. adolc/src/py_adolc.cpp:212:85: error: ‘bpn’ has not been declared
  1806. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1807. ^~~
  1808. adolc/src/py_adolc.cpp:212:96: error: expected ‘,’ or ‘...’ before ‘&’ token
  1809. int c_wrapped_hov_wk_forward (short tape_tag, int M, int N, int D, int keep, int P, bpn::array &bpn_x, bpn::array &bpn_V, bpn::array &bpn_y, bpn::array &bpn_W){
  1810. ^
  1811. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_wk_forward(short int, int, int, int, int, int, int)’:
  1812. adolc/src/py_adolc.cpp:213:33: error: ‘bpn_x’ was not declared in this scope
  1813. double* x = (double*) nu::data(bpn_x);
  1814. ^~~~~
  1815. adolc/src/py_adolc.cpp:213:38: error: ‘num_util::data’ cannot be used as a function
  1816. double* x = (double*) nu::data(bpn_x);
  1817. ^
  1818. adolc/src/py_adolc.cpp:214:33: error: ‘bpn_y’ was not declared in this scope
  1819. double* y = (double*) nu::data(bpn_y);
  1820. ^~~~~
  1821. adolc/src/py_adolc.cpp:214:38: error: ‘num_util::data’ cannot be used as a function
  1822. double* y = (double*) nu::data(bpn_y);
  1823. ^
  1824. adolc/src/py_adolc.cpp:215:38: error: ‘bpn_V’ was not declared in this scope
  1825. double* V_data = (double*) nu::data(bpn_V);
  1826. ^~~~~
  1827. adolc/src/py_adolc.cpp:215:43: error: ‘num_util::data’ cannot be used as a function
  1828. double* V_data = (double*) nu::data(bpn_V);
  1829. ^
  1830. adolc/src/py_adolc.cpp:226:38: error: ‘bpn_W’ was not declared in this scope
  1831. double* W_data = (double*) nu::data(bpn_W);
  1832. ^~~~~
  1833. adolc/src/py_adolc.cpp:226:43: error: ‘num_util::data’ cannot be used as a function
  1834. double* W_data = (double*) nu::data(bpn_W);
  1835. ^
  1836. adolc/src/py_adolc.cpp: At global scope:
  1837. adolc/src/py_adolc.cpp:240:59: error: ‘bpn’ has not been declared
  1838. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z){
  1839. ^~~
  1840. adolc/src/py_adolc.cpp:240:70: error: expected ‘,’ or ‘...’ before ‘&’ token
  1841. int c_wrapped_fos_reverse (short tape_tag, int M, int N, bpn::array &bpn_u, bpn::array &bpn_z){
  1842. ^
  1843. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fos_reverse(short int, int, int, int)’:
  1844. adolc/src/py_adolc.cpp:241:33: error: ‘bpn_u’ was not declared in this scope
  1845. double* u = (double*) nu::data(bpn_u);
  1846. ^~~~~
  1847. adolc/src/py_adolc.cpp:241:38: error: ‘num_util::data’ cannot be used as a function
  1848. double* u = (double*) nu::data(bpn_u);
  1849. ^
  1850. adolc/src/py_adolc.cpp:242:33: error: ‘bpn_z’ was not declared in this scope
  1851. double* z = (double*) nu::data(bpn_z);
  1852. ^~~~~
  1853. adolc/src/py_adolc.cpp:242:38: error: ‘num_util::data’ cannot be used as a function
  1854. double* z = (double*) nu::data(bpn_z);
  1855. ^
  1856. adolc/src/py_adolc.cpp: At global scope:
  1857. adolc/src/py_adolc.cpp:246:66: error: ‘bpn’ has not been declared
  1858. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z){
  1859. ^~~
  1860. adolc/src/py_adolc.cpp:246:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1861. int c_wrapped_fov_reverse (short tape_tag, int M, int N, int Q, bpn::array &bpn_U, bpn::array &bpn_Z){
  1862. ^
  1863. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_fov_reverse(short int, int, int, int, int)’:
  1864. adolc/src/py_adolc.cpp:247:38: error: ‘bpn_U’ was not declared in this scope
  1865. double* U_data = (double*) nu::data(bpn_U);
  1866. ^~~~~
  1867. adolc/src/py_adolc.cpp:247:43: error: ‘num_util::data’ cannot be used as a function
  1868. double* U_data = (double*) nu::data(bpn_U);
  1869. ^
  1870. adolc/src/py_adolc.cpp:253:38: error: ‘bpn_Z’ was not declared in this scope
  1871. double* Z_data = (double*) nu::data(bpn_Z);
  1872. ^~~~~
  1873. adolc/src/py_adolc.cpp:253:43: error: ‘num_util::data’ cannot be used as a function
  1874. double* Z_data = (double*) nu::data(bpn_Z);
  1875. ^
  1876. adolc/src/py_adolc.cpp: At global scope:
  1877. adolc/src/py_adolc.cpp:260:66: error: ‘bpn’ has not been declared
  1878. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z){
  1879. ^~~
  1880. adolc/src/py_adolc.cpp:260:77: error: expected ‘,’ or ‘...’ before ‘&’ token
  1881. int c_wrapped_hos_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_u, bpn::array &bpn_Z){
  1882. ^
  1883. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_reverse(short int, int, int, int, int)’:
  1884. adolc/src/py_adolc.cpp:261:33: error: ‘bpn_u’ was not declared in this scope
  1885. double* u = (double*) nu::data(bpn_u);
  1886. ^~~~~
  1887. adolc/src/py_adolc.cpp:261:38: error: ‘num_util::data’ cannot be used as a function
  1888. double* u = (double*) nu::data(bpn_u);
  1889. ^
  1890. adolc/src/py_adolc.cpp:262:38: error: ‘bpn_Z’ was not declared in this scope
  1891. double* Z_data = (double*) nu::data(bpn_Z);
  1892. ^~~~~
  1893. adolc/src/py_adolc.cpp:262:43: error: ‘num_util::data’ cannot be used as a function
  1894. double* Z_data = (double*) nu::data(bpn_Z);
  1895. ^
  1896. adolc/src/py_adolc.cpp: At global scope:
  1897. adolc/src/py_adolc.cpp:270:70: error: ‘bpn’ has not been declared
  1898. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z){
  1899. ^~~
  1900. adolc/src/py_adolc.cpp:270:81: error: expected ‘,’ or ‘...’ before ‘&’ token
  1901. int c_wrapped_hos_ti_reverse (short tape_tag, int M, int N, int D, bpn::array &bpn_U, bpn::array &bpn_Z){
  1902. ^
  1903. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_ti_reverse(short int, int, int, int, int)’:
  1904. adolc/src/py_adolc.cpp:271:38: error: ‘bpn_U’ was not declared in this scope
  1905. double* U_data = (double*) nu::data(bpn_U);
  1906. ^~~~~
  1907. adolc/src/py_adolc.cpp:271:43: error: ‘num_util::data’ cannot be used as a function
  1908. double* U_data = (double*) nu::data(bpn_U);
  1909. ^
  1910. adolc/src/py_adolc.cpp:276:38: error: ‘bpn_Z’ was not declared in this scope
  1911. double* Z_data = (double*) nu::data(bpn_Z);
  1912. ^~~~~
  1913. adolc/src/py_adolc.cpp:276:43: error: ‘num_util::data’ cannot be used as a function
  1914. double* Z_data = (double*) nu::data(bpn_Z);
  1915. ^
  1916. adolc/src/py_adolc.cpp: At global scope:
  1917. adolc/src/py_adolc.cpp:285:73: error: ‘bpn’ has not been declared
  1918. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1919. ^~~
  1920. adolc/src/py_adolc.cpp:285:84: error: expected ‘,’ or ‘...’ before ‘&’ token
  1921. int c_wrapped_hov_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1922. ^
  1923. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_reverse(short int, int, int, int, int, int)’:
  1924. adolc/src/py_adolc.cpp:286:38: error: ‘bpn_U’ was not declared in this scope
  1925. double* U_data = (double*) nu::data(bpn_U);
  1926. ^~~~~
  1927. adolc/src/py_adolc.cpp:286:43: error: ‘num_util::data’ cannot be used as a function
  1928. double* U_data = (double*) nu::data(bpn_U);
  1929. ^
  1930. adolc/src/py_adolc.cpp:292:38: error: ‘bpn_Z’ was not declared in this scope
  1931. double* Z_data = (double*) nu::data(bpn_Z);
  1932. ^~~~~
  1933. adolc/src/py_adolc.cpp:292:43: error: ‘num_util::data’ cannot be used as a function
  1934. double* Z_data = (double*) nu::data(bpn_Z);
  1935. ^
  1936. adolc/src/py_adolc.cpp:302:37: error: ‘bpn_nz’ was not declared in this scope
  1937. short* nz_data = (short*) nu::data(bpn_nz);
  1938. ^~~~~~
  1939. adolc/src/py_adolc.cpp:302:43: error: ‘num_util::data’ cannot be used as a function
  1940. short* nz_data = (short*) nu::data(bpn_nz);
  1941. ^
  1942. adolc/src/py_adolc.cpp: At global scope:
  1943. adolc/src/py_adolc.cpp:311:75: error: ‘bpn’ has not been declared
  1944. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1945. ^~~
  1946. adolc/src/py_adolc.cpp:311:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1947. int c_wrapped_hov_ti_reverse (short tape_tag, int M, int N, int D, int Q, bpn::array &bpn_U, bpn::array &bpn_Z, bpn::array &bpn_nz){
  1948. ^
  1949. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hov_ti_reverse(short int, int, int, int, int, int)’:
  1950. adolc/src/py_adolc.cpp:314:38: error: ‘bpn_U’ was not declared in this scope
  1951. double* U_data = (double*) nu::data(bpn_U);
  1952. ^~~~~
  1953. adolc/src/py_adolc.cpp:314:43: error: ‘num_util::data’ cannot be used as a function
  1954. double* U_data = (double*) nu::data(bpn_U);
  1955. ^
  1956. adolc/src/py_adolc.cpp:327:38: error: ‘bpn_Z’ was not declared in this scope
  1957. double* Z_data = (double*) nu::data(bpn_Z);
  1958. ^~~~~
  1959. adolc/src/py_adolc.cpp:327:43: error: ‘num_util::data’ cannot be used as a function
  1960. double* Z_data = (double*) nu::data(bpn_Z);
  1961. ^
  1962. adolc/src/py_adolc.cpp:340:37: error: ‘bpn_nz’ was not declared in this scope
  1963. short* nz_data = (short*) nu::data(bpn_nz);
  1964. ^~~~~~
  1965. adolc/src/py_adolc.cpp:340:43: error: ‘num_util::data’ cannot be used as a function
  1966. short* nz_data = (short*) nu::data(bpn_nz);
  1967. ^
  1968. adolc/src/py_adolc.cpp: At global scope:
  1969. adolc/src/py_adolc.cpp:351:75: error: ‘bpn’ has not been declared
  1970. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z){
  1971. ^~~
  1972. adolc/src/py_adolc.cpp:351:86: error: expected ‘,’ or ‘...’ before ‘&’ token
  1973. int c_wrapped_hos_ov_reverse (short tape_tag, int M, int N, int D, int P, bpn::array &bpn_U, bpn::array &bpn_Z){
  1974. ^
  1975. adolc/src/py_adolc.cpp: In function ‘int c_wrapped_hos_ov_reverse(short int, int, int, int, int, int)’:
  1976. adolc/src/py_adolc.cpp:355:38: error: ‘bpn_U’ was not declared in this scope
  1977. double* U_data = (double*) nu::data(bpn_U);
  1978. ^~~~~
  1979. adolc/src/py_adolc.cpp:355:43: error: ‘num_util::data’ cannot be used as a function
  1980. double* U_data = (double*) nu::data(bpn_U);
  1981. ^
  1982. adolc/src/py_adolc.cpp:362:38: error: ‘bpn_Z’ was not declared in this scope
  1983. double* Z_data = (double*) nu::data(bpn_Z);
  1984. ^~~~~
  1985. adolc/src/py_adolc.cpp:362:43: error: ‘num_util::data’ cannot be used as a function
  1986. double* Z_data = (double*) nu::data(bpn_Z);
  1987. ^
  1988. adolc/src/py_adolc.cpp: At global scope:
  1989. adolc/src/py_adolc.cpp:381:34: error: ‘bpn’ has not been declared
  1990. void py_tape_doc(short tape_tag, bpn::array &x, bpn::array &y ){
  1991. ^~~
  1992. adolc/src/py_adolc.cpp:381:45: error: expected ‘,’ or ‘...’ before ‘&’ token
  1993. void py_tape_doc(short tape_tag, bpn::array &x, bpn::array &y ){
  1994. ^
  1995. adolc/src/py_adolc.cpp: In function ‘void py_tape_doc(short int, int)’:
  1996. adolc/src/py_adolc.cpp:382:6: error: ‘check_rank’ is not a member of ‘nu’
  1997. nu::check_rank(x,1);
  1998. ^~~~~~~~~~
  1999. adolc/src/py_adolc.cpp:382:17: error: ‘x’ was not declared in this scope
  2000. nu::check_rank(x,1);
  2001. ^
  2002. adolc/src/py_adolc.cpp:383:6: error: ‘check_rank’ is not a member of ‘nu’
  2003. nu::check_rank(y,1);
  2004. ^~~~~~~~~~
  2005. adolc/src/py_adolc.cpp:383:17: error: ‘y’ was not declared in this scope
  2006. nu::check_rank(y,1);
  2007. ^
  2008. adolc/src/py_adolc.cpp:385:42: error: ‘num_util::data’ cannot be used as a function
  2009. double* dataPtr_x = (double*) nu::data(x);
  2010. ^
  2011. adolc/src/py_adolc.cpp:386:42: error: ‘num_util::data’ cannot be used as a function
  2012. double* dataPtr_y = (double*) nu::data(y);
  2013. ^
  2014. error: Command "gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -Iadolc/src -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/inst/include -I/home/paul/github-forks/pyadolc/PACKAGES/ADOL-C/ThirdParty/ColPack/include -I/usr/include/python2.7 -c adolc/src/py_adolc.cpp -o build/temp.linux-x86_64-2.7/adolc/src/py_adolc.o -std=c++11 -ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -Wno-unused-local-typedefs" failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement