Advertisement
rajhlinux

Untitled

Sep 23rd, 2022 (edited)
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.42 KB | None | 0 0
  1. $ cmake -DBLAS=open -DUSE_OPENCL=ON -DUSE_CLGEMM=ON -DCMAKE_BUILD_TYPE=Debug -DUSE_TIMER=ON -DCMAKE_INSTALL_PREFIX=debug -DclBLAS_INCLUDE_DIR=/usr/local/include/ -DclBLAS_LIB=/usr/local/lib/libclBLAS.so ../../
  2.  
  3.  
  4. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  5.   Compatibility with CMake < 2.8.12 will be removed from a future version of
  6.   CMake.
  7.  
  8.   Update the VERSION argument <min> value or use a ...<max> suffix to tell
  9.   CMake that the project does not need compatibility with older versions.
  10.  
  11.  
  12. -- The C compiler identification is Clang 13.0.0
  13. -- The CXX compiler identification is Clang 13.0.0
  14. -- Detecting C compiler ABI info
  15. -- Detecting C compiler ABI info - done
  16. -- Check for working C compiler: /usr/bin/cc - skipped
  17. -- Detecting C compile features
  18. -- Detecting C compile features - done
  19. -- Detecting CXX compiler ABI info
  20. -- Detecting CXX compiler ABI info - done
  21. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  22. -- Detecting CXX compile features
  23. -- Detecting CXX compile features - done
  24. CMake Warning (dev) at cmake/Misc.cmake:32 (set):
  25.   implicitly converting 'BOOLEAN' to 'STRING' type.
  26. Call Stack (most recent call first):
  27.   CMakeLists.txt:11 (include)
  28. This warning is for project developers.  Use -Wno-dev to suppress it.
  29.  
  30. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  31.   New Boost version may have incorrect or missing dependencies and imported
  32.   targets
  33. Call Stack (most recent call first):
  34.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  35.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  36.   cmake/Dependencies.cmake:5 (find_package)
  37.   CMakeLists.txt:30 (include)
  38.  
  39.  
  40. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  41.   New Boost version may have incorrect or missing dependencies and imported
  42.   targets
  43. Call Stack (most recent call first):
  44.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  45.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  46.   cmake/Dependencies.cmake:5 (find_package)
  47.   CMakeLists.txt:30 (include)
  48.  
  49.  
  50. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  51.   New Boost version may have incorrect or missing dependencies and imported
  52.   targets
  53. Call Stack (most recent call first):
  54.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  55.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  56.   cmake/Dependencies.cmake:5 (find_package)
  57.   CMakeLists.txt:30 (include)
  58.  
  59.  
  60. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  61.   New Boost version may have incorrect or missing dependencies and imported
  62.   targets
  63. Call Stack (most recent call first):
  64.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  65.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  66.   cmake/Dependencies.cmake:5 (find_package)
  67.   CMakeLists.txt:30 (include)
  68.  
  69.  
  70. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  71.   New Boost version may have incorrect or missing dependencies and imported
  72.   targets
  73. Call Stack (most recent call first):
  74.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  75.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  76.   cmake/Dependencies.cmake:5 (find_package)
  77.   CMakeLists.txt:30 (include)
  78.  
  79.  
  80. -- Looking for pthread.h
  81. -- Looking for pthread.h - found
  82. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  83. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  84. -- Looking for pthread_create in pthreads
  85. -- Looking for pthread_create in pthreads - not found
  86. -- Looking for pthread_create in pthread
  87. -- Looking for pthread_create in pthread - found
  88. -- Found Threads: TRUE  
  89. -- Found Boost: /usr/local/include (found suitable version "1.80.0", minimum required is "1.46") found components: system thread regex chrono atomic
  90. CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  91.   The package name passed to `find_package_handle_standard_args` (GLOG) does
  92.   not match the name of the calling package (Glog).  This can lead to
  93.   problems in calling code that expects `find_package` result variables
  94.   (e.g., `_FOUND`) to follow a certain pattern.
  95. Call Stack (most recent call first):
  96.   cmake/Modules/FindGlog.cmake:40 (find_package_handle_standard_args)
  97.   cmake/Dependencies.cmake:14 (find_package)
  98.   CMakeLists.txt:30 (include)
  99. This warning is for project developers.  Use -Wno-dev to suppress it.
  100.  
  101. -- Found GLOG: /usr/local/include  
  102. -- Found glog    (include: /usr/local/include, library: /usr/local/lib/libglog.so)
  103. CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  104.   The package name passed to `find_package_handle_standard_args` (GFLAGS)
  105.   does not match the name of the calling package (GFlags).  This can lead to
  106.   problems in calling code that expects `find_package` result variables
  107.   (e.g., `_FOUND`) to follow a certain pattern.
  108. Call Stack (most recent call first):
  109.   cmake/Modules/FindGFlags.cmake:41 (find_package_handle_standard_args)
  110.   cmake/Dependencies.cmake:19 (find_package)
  111.   CMakeLists.txt:30 (include)
  112. This warning is for project developers.  Use -Wno-dev to suppress it.
  113.  
  114. -- Found GFLAGS: /usr/local/include  
  115. -- Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.so)
  116. -- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found version "3.20.1")
  117. -- Found PROTOBUF Compiler: /usr/local/bin/protoc
  118. -- Found HDF5: hdf5-shared;hdf5_cpp-shared (found version "1.12.2") found components: HL
  119. -- Found LMDB: /usr/local/include  
  120. -- Found lmdb    (include: /usr/local/include, library: /usr/local/lib/liblmdb.so)
  121. -- Found LevelDB: /usr/local/include  
  122. -- Found LevelDB (include: /usr/local/include, library: /usr/local/lib/libleveldb.so)
  123. -- Found Snappy: /usr/local/include  
  124. -- Found Snappy  (include: /usr/local/include, library: /usr/local/lib/libsnappy.so)
  125. -- CUDA is not detected by cmake. Building without it...
  126. -- OpenCV found (/usr/local/lib/cmake/opencv4)
  127. -- Found OpenBLAS libraries: /usr/local/lib/libopenblas.so
  128. -- Found OpenBLAS include: /usr/local/include
  129. CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  130.   The package name passed to `find_package_handle_standard_args` (OPENCL)
  131.   does not match the name of the calling package (OpenCL).  This can lead to
  132.   problems in calling code that expects `find_package` result variables
  133.   (e.g., `_FOUND`) to follow a certain pattern.
  134. Call Stack (most recent call first):
  135.   cmake/Modules/FindOpenCL.cmake:97 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  136.   cmake/Dependencies.cmake:99 (find_package)
  137.   CMakeLists.txt:30 (include)
  138. This warning is for project developers.  Use -Wno-dev to suppress it.
  139.  
  140. -- Found OPENCL: /usr/local/lib/libOpenCL.so  
  141. -- Found OpenCL libraries: /usr/local/lib/libOpenCL.so
  142. -- Found OpenCL include  : /usr/local/include
  143. -- Found clBLAS libraries: /usr/local/lib/libclBLAS.so
  144. -- Found clBLAS include: /usr/local/include
  145. -- Found PythonInterp: /usr/local/bin/python (found suitable version "3.9.13", minimum required is "2.7")
  146. -- Found PythonLibs: /usr/local/lib/libpython3.9.so (found suitable version "3.9.13", minimum required is "2.7")
  147. -- Found NumPy: /usr/local/lib/python3.9/site-packages/numpy/core/include (found suitable version "1.22.4", minimum required is "1.7.1")
  148. -- NumPy ver. 1.22.4 found (include: /usr/local/lib/python3.9/site-packages/numpy/core/include)
  149. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
  150.   New Boost version may have incorrect or missing dependencies and imported
  151.   targets
  152. Call Stack (most recent call first):
  153.   /usr/local/share/cmake/Modules/FindBoost.cmake:1513 (_Boost_COMPONENT_DEPENDENCIES)
  154.   /usr/local/share/cmake/Modules/FindBoost.cmake:2124 (_Boost_MISSING_DEPENDENCIES)
  155.   cmake/Dependencies.cmake:160 (find_package)
  156.   CMakeLists.txt:30 (include)
  157.  
  158.  
  159. -- Could NOT find Boost (missing: python) (found suitable version "1.80.0", minimum required is "1.46")
  160. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  161. -- /home/user/caffe/tools/caffe.cpp
  162. -- /home/user/caffe/tools/compute_image_mean.cpp
  163. -- /home/user/caffe/tools/convert_imageset.cpp
  164. -- /home/user/caffe/tools/device_query.cpp
  165. -- /home/user/caffe/tools/extract_features.cpp
  166. -- /home/user/caffe/tools/finetune_net.cpp
  167. -- /home/user/caffe/tools/net_speed_benchmark.cpp
  168. -- /home/user/caffe/tools/test_net.cpp
  169. -- /home/user/caffe/tools/train_net.cpp
  170. -- /home/user/caffe/tools/upgrade_net_proto_binary.cpp
  171. -- /home/user/caffe/tools/upgrade_net_proto_text.cpp
  172. -- Python interface is disabled or not all required dependecies found. Building without it...
  173. -- Found Git: /usr/local/bin/git (found version "2.37.1")
  174. --
  175. -- ******************* Caffe Configuration Summary *******************
  176. -- General:
  177. --   Version           :   <TODO> (Caffe doesn't declare its version in headers)
  178. --   Git               :   rc2-212-g209fac06
  179. --   System            :   FreeBSD
  180. --   C++ compiler      :   /usr/bin/c++
  181. --   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized
  182. --   Debug CXX flags   :   -g -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized
  183. --   Build type        :   Debug
  184. --   ENABLE_PROFILING  :   OFF
  185. --
  186. --   BUILD_SHARED_LIBS :   ON
  187. --   BUILD_python      :   ON
  188. --   BUILD_matlab      :   OFF
  189. --   BUILD_docs        :   ON
  190. --   CPU_ONLY          :   OFF
  191. --   USE_OPENCL        :   ON
  192. --   USE_CLGEMM        :   ON
  193. --   USE_OPENMP        :   OFF
  194. --   USE_TIMER         :   ON
  195. --
  196. -- Dependencies:
  197. --   BLAS              :   Yes (open)
  198. --   Boost             :   Yes (ver. 1.80)
  199. --   glog              :   Yes
  200. --   gflags            :   Yes
  201. --   protobuf          :   Yes (ver. ..)
  202. --   lmdb              :   Yes (ver. 0.9.29)
  203. --   Snappy            :   Yes (ver. 1.1.9)
  204. --   LevelDB           :   Yes (ver. 1.23)
  205. --   OpenCV            :   Yes (ver. 4.6.0)
  206. --   CUDA              :   No
  207. --   OpenCL            :   Yes (ver. )
  208. --   clBLAS            :   Yes
  209. --
  210. -- Documentaion:
  211. --   Doxygen           :   No
  212. --   config_file       :  
  213. --
  214. -- Install:
  215. --   Install path      :   /home/user/caffe/build/OpenCL/debug
  216. --
  217. -- Configuring done
  218. -- Generating done
  219. -- Build files have been written to: /home/user/caffe/build/OpenCL
  220.  
  221.  
  222. $ make -j7
  223.  
  224.  
  225. [  1%] Running C++/Python protocol buffer compiler on /home/user/caffe/src/caffe/proto/caffe.proto
  226. [  1%] Building CXX object src/caffe/CMakeFiles/proto.dir/__/__/include/caffe/proto/caffe.pb.cc.o
  227. [  3%] Linking CXX static library ../../lib/libproto-d.a
  228. [  3%] Built target proto
  229. [  3%] Building CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o
  230. [  6%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o
  231. [  6%] Building CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o
  232. [  6%] Building CXX object src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o
  233. [  7%] Building CXX object src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o
  234. [  9%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o
  235. [  9%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o
  236. In file included from /home/user/caffe/src/caffe/layers/accuracy_layer.cpp:6:
  237. In file included from /home/user/caffe/include/caffe/layer.hpp:8:
  238. In file included from /home/user/caffe/include/caffe/blob.hpp:8:
  239. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  240. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  241. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  242. #include <CL/cl.hpp>
  243.         ^~~~~~~~~~~
  244. In file included from /home/user/caffe/src/caffe/blob.cpp:4:
  245. In file included from /home/user/caffe/include/caffe/blob.hpp:8:
  246. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  247. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  248. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  249. #include <CL/cl.hpp>
  250.         ^~~~~~~~~~~
  251. In file included from /home/user/caffe/src/caffe/layer_factory.cpp:3:
  252. In file included from /home/user/caffe/include/caffe/layer.hpp:8:
  253. In file included from /home/user/caffe/include/caffe/blob.hpp:8:
  254. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  255. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  256. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  257. #include <CL/cl.hpp>
  258.         ^~~~~~~~~~~
  259. In file included from /home/user/caffe/src/caffe/layers/absval_layer.cpp:3:
  260. In file included from /home/user/caffe/include/caffe/layer.hpp:8:
  261. In file included from /home/user/caffe/include/caffe/blob.hpp:8:
  262. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  263. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  264. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  265. #include <CL/cl.hpp>
  266.         ^~~~~~~~~~~
  267. In file included from /home/user/caffe/src/caffe/common.cpp:5:
  268. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  269. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  270. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  271. #include <CL/cl.hpp>
  272.         ^~~~~~~~~~~
  273. 1 error generated.
  274. --- src/caffe/CMakeFiles/caffe.dir/common.cpp.o ---
  275. *** [src/caffe/CMakeFiles/caffe.dir/common.cpp.o] Error code 1
  276.  
  277. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  278. In file included from /home/user/caffe/src/caffe/data_transformer.cpp:6:
  279. In file included from /home/user/caffe/include/caffe/data_transformer.hpp:6:
  280. In file included from /home/user/caffe/include/caffe/blob.hpp:8:
  281. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  282. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  283. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  284. #include <CL/cl.hpp>
  285.         ^~~~~~~~~~~
  286. 1 error generated.
  287. --- src/caffe/CMakeFiles/caffe.dir/blob.cpp.o ---
  288. *** [src/caffe/CMakeFiles/caffe.dir/blob.cpp.o] Error code 1
  289.  
  290. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  291. 1 error generated.
  292. --- src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o ---
  293. *** [src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o] Error code 1
  294.  
  295. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  296. 1 error generated.
  297. --- src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o ---
  298. *** [src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o] Error code 1
  299.  
  300. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  301. In file included from /home/user/caffe/src/caffe/internal_thread.cpp:2:
  302. In file included from /home/user/caffe/include/caffe/internal_thread.hpp:4:
  303. In file included from /home/user/caffe/include/caffe/common.hpp:22:
  304. In file included from /home/user/caffe/include/caffe/util/OpenCL/OpenCLSupport.hpp:11:
  305. /home/user/caffe/include/caffe/util/OpenCL/OpenCLDevice.hpp:5:10: fatal error: 'CL/cl.hpp' file not found
  306. #include <CL/cl.hpp>
  307.         ^~~~~~~~~~~
  308. 1 error generated.
  309. --- src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o ---
  310. *** [src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o] Error code 1
  311.  
  312. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  313. 1 error generated.
  314. --- src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o ---
  315. *** [src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o] Error code 1
  316.  
  317. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  318. 1 error generated.
  319. --- src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o ---
  320. *** [src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o] Error code 1
  321.  
  322. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  323. 7 errors
  324.  
  325. make[2]: stopped in /usr/home/user/caffe/build/OpenCL
  326. --- src/caffe/CMakeFiles/caffe.dir/all ---
  327. *** [src/caffe/CMakeFiles/caffe.dir/all] Error code 2
  328.  
  329. make[1]: stopped in /usr/home/user/caffe/build/OpenCL
  330. 1 error
  331.  
  332. make[1]: stopped in /usr/home/user/caffe/build/OpenCL
  333. *** [all] Error code 2
  334.  
  335. make: stopped in /usr/home/user/caffe/build/OpenCL
  336. 1 error
  337.  
  338. make: stopped in /usr/home/user/caffe/build/OpenCL
  339.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement