SHARE
TWEET

JFMSU pytorch

a guest Jun 29th, 2020 4 in 355 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (base) USER@USER:~/Dokumente/SourceCode/pytorch$ python3 setup.py install
  2. Building wheel torch-1.7.0a0+fd90e4b
  3. -- Building version 1.7.0a0+fd90e4b
  4. cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/USER/Dokumente/SourceCode/pytorch/torch -DCMAKE_PREFIX_PATH=/home/USER/Dokumente/Programme/Tools/anaconda3 -DNUMPY_INCLUDE_DIR=/home/USER/Dokumente/Programme/Tools/anaconda3/lib/python3.7/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/home/USER/Dokumente/Programme/Tools/anaconda3/bin/python3 -DPYTHON_INCLUDE_DIR=/home/USER/Dokumente/Programme/Tools/anaconda3/include/python3.7m -DPYTHON_LIBRARY=/home/USER/Dokumente/Programme/Tools/anaconda3/lib/libpython3.7m.so.1.0 -DTORCH_BUILD_VERSION=1.7.0a0+fd90e4b -DUSE_NUMPY=True /home/USER/Dokumente/SourceCode/pytorch
  5. -- The CXX compiler identification is GNU 7.5.0
  6. -- The C compiler identification is GNU 7.5.0
  7. -- Check for working CXX compiler: /usr/bin/c++
  8. -- Check for working CXX compiler: /usr/bin/c++ -- works
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Detecting CXX compile features
  12. -- Detecting CXX compile features - done
  13. -- Check for working C compiler: /usr/bin/cc
  14. -- Check for working C compiler: /usr/bin/cc -- works
  15. -- Detecting C compiler ABI info
  16. -- Detecting C compiler ABI info - done
  17. -- Detecting C compile features
  18. -- Detecting C compile features - done
  19. -- Not forcing any particular BLAS to be found
  20. -- Performing Test COMPILER_WORKS
  21. -- Performing Test COMPILER_WORKS - Success
  22. -- Performing Test SUPPORT_GLIBCXX_USE_C99
  23. -- Performing Test SUPPORT_GLIBCXX_USE_C99 - Success
  24. -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED
  25. -- Performing Test CAFFE2_EXCEPTION_PTR_SUPPORTED - Success
  26. -- std::exception_ptr is supported.
  27. -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING
  28. -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Failed
  29. -- Turning off deprecation warning due to glog.
  30. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS
  31. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX2_EXTENSIONS - Success
  32. -- Current compiler supports avx2 extension. Will build perfkernels.
  33. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
  34. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success
  35. -- Current compiler supports avx512f extension. Will build fbgemm.
  36. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
  37. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
  38. -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
  39. -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
  40. -- Performing Test COMPILER_SUPPORTS_RDYNAMIC
  41. -- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
  42. -- Building using own protobuf under third_party per request.
  43. -- Use custom protobuf build.
  44. --
  45. -- 3.11.4.0
  46. -- Looking for pthread.h
  47. -- Looking for pthread.h - found
  48. -- Looking for pthread_create
  49. -- Looking for pthread_create - not found
  50. -- Check if compiler accepts -pthread
  51. -- Check if compiler accepts -pthread - yes
  52. -- Found Threads: TRUE  
  53. -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
  54. -- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
  55. -- Caffe2 protobuf include directory: $<BUILD_INTERFACE:/home/USER/Dokumente/SourceCode/pytorch/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
  56. -- Trying to find preferred BLAS backend of choice: MKL
  57. -- MKL_THREADING = OMP
  58. -- Looking for sys/types.h
  59. -- Looking for sys/types.h - found
  60. -- Looking for stdint.h
  61. -- Looking for stdint.h - found
  62. -- Looking for stddef.h
  63. -- Looking for stddef.h - found
  64. -- Check size of void*
  65. -- Check size of void* - done
  66. -- Looking for cblas_sgemm
  67. -- Looking for cblas_sgemm - found
  68. -- MKL libraries: /home/USER/Dokumente/Programme/Tools/anaconda3/lib/libmkl_intel_lp64.so;/home/USER/Dokumente/Programme/Tools/anaconda3/lib/libmkl_gnu_thread.so;/home/USER/Dokumente/Programme/Tools/anaconda3/lib/libmkl_core.so;-fopenmp;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libdl.so
  69. -- MKL include directory: /home/USER/Dokumente/Programme/Tools/anaconda3/include
  70. -- MKL OpenMP type: GNU
  71. -- MKL OpenMP library: -fopenmp
  72. -- The ASM compiler identification is GNU
  73. -- Found assembler: /usr/bin/cc
  74. -- Brace yourself, we are building NNPACK
  75. -- Performing Test NNPACK_ARCH_IS_X86_32
  76. -- Performing Test NNPACK_ARCH_IS_X86_32 - Failed
  77. -- Found PythonInterp: /home/USER/Dokumente/Programme/Tools/anaconda3/bin/python3 (found version "3.7.6")
  78. -- NNPACK backend is x86-64
  79. -- Failed to find LLVM FileCheck
  80. -- Found Git: /usr/bin/git (found version "2.17.1")
  81. -- git Version: v1.4.0-505be96a
  82. -- Version: 1.4.0
  83. -- Performing Test HAVE_CXX_FLAG_STD_CXX11
  84. -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
  85. -- Performing Test HAVE_CXX_FLAG_WALL
  86. -- Performing Test HAVE_CXX_FLAG_WALL - Success
  87. -- Performing Test HAVE_CXX_FLAG_WEXTRA
  88. -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
  89. -- Performing Test HAVE_CXX_FLAG_WSHADOW
  90. -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
  91. -- Performing Test HAVE_CXX_FLAG_WERROR
  92. -- Performing Test HAVE_CXX_FLAG_WERROR - Success
  93. -- Performing Test HAVE_CXX_FLAG_PEDANTIC
  94. -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
  95. -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
  96. -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
  97. -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
  98. -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
  99. -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
  100. -- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
  101. -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
  102. -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
  103. -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
  104. -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
  105. -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
  106. -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
  107. -- Performing Test HAVE_CXX_FLAG_WD654
  108. -- Performing Test HAVE_CXX_FLAG_WD654 - Failed
  109. -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
  110. -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
  111. -- Performing Test HAVE_CXX_FLAG_COVERAGE
  112. -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
  113. -- Performing Test HAVE_STD_REGEX
  114. -- Performing Test HAVE_STD_REGEX
  115. -- Performing Test HAVE_STD_REGEX -- success
  116. -- Performing Test HAVE_GNU_POSIX_REGEX
  117. -- Performing Test HAVE_GNU_POSIX_REGEX
  118. -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
  119. -- Performing Test HAVE_POSIX_REGEX
  120. -- Performing Test HAVE_POSIX_REGEX
  121. -- Performing Test HAVE_POSIX_REGEX -- success
  122. -- Performing Test HAVE_STEADY_CLOCK
  123. -- Performing Test HAVE_STEADY_CLOCK
  124. -- Performing Test HAVE_STEADY_CLOCK -- success
  125. -- Performing Test COMPILER_SUPPORTS_AVX512
  126. -- Performing Test COMPILER_SUPPORTS_AVX512 - Success
  127. -- Found OpenMP_C: -fopenmp (found version "4.5")
  128. -- Found OpenMP_CXX: -fopenmp (found version "4.5")
  129. -- Found OpenMP: TRUE (found version "4.5")  
  130. CMake Warning at third_party/fbgemm/CMakeLists.txt:61 (message):
  131.   OpenMP found! OpenMP_C_INCLUDE_DIRS =
  132.  
  133.  
  134. CMake Warning at third_party/fbgemm/CMakeLists.txt:130 (message):
  135.   ==========
  136.  
  137.  
  138. CMake Warning at third_party/fbgemm/CMakeLists.txt:131 (message):
  139.   CMAKE_BUILD_TYPE = Release
  140.  
  141.  
  142. CMake Warning at third_party/fbgemm/CMakeLists.txt:132 (message):
  143.   CMAKE_CXX_FLAGS_DEBUG is -g
  144.  
  145.  
  146. CMake Warning at third_party/fbgemm/CMakeLists.txt:133 (message):
  147.   CMAKE_CXX_FLAGS_RELEASE is -O3 -DNDEBUG
  148.  
  149.  
  150. CMake Warning at third_party/fbgemm/CMakeLists.txt:134 (message):
  151.   ==========
  152.  
  153.  
  154. -- Performing Test __CxxFlag__fno_threadsafe_statics
  155. -- Performing Test __CxxFlag__fno_threadsafe_statics - Success
  156. -- Performing Test __CxxFlag__fno_semantic_interposition
  157. -- Performing Test __CxxFlag__fno_semantic_interposition - Success
  158. -- Performing Test __CxxFlag__fmerge_all_constants
  159. -- Performing Test __CxxFlag__fmerge_all_constants - Success
  160. ** AsmJit Summary **
  161.    ASMJIT_DIR=/home/USER/Dokumente/SourceCode/pytorch/third_party/fbgemm/third_party/asmjit
  162.    ASMJIT_TEST=FALSE
  163.    ASMJIT_TARGET_TYPE=STATIC
  164.    ASMJIT_DEPS=pthread;rt
  165.    ASMJIT_LIBS=asmjit;pthread;rt
  166.    ASMJIT_CFLAGS=-DASMJIT_STATIC
  167.    ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-fno-math-errno;-fno-threadsafe-statics;-fno-semantic-interposition;-DASMJIT_STATIC
  168.    ASMJIT_PRIVATE_CFLAGS_DBG=
  169.    ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants
  170. -- Found Numa: /usr/include  
  171. -- Found Numa  (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libnuma.so)
  172. -- Using third party subdirectory Eigen.
  173. -- Found PythonInterp: /home/USER/Dokumente/Programme/Tools/anaconda3/bin/python3 (found suitable version "3.7.6", minimum required is "3.0")
  174. -- Found PythonLibs: /home/USER/Dokumente/Programme/Tools/anaconda3/lib/libpython3.7m.so.1.0 (found suitable version "3.7.6", minimum required is "3.0")
  175. -- Using third_party/pybind11.
  176. -- pybind11 include dirs: /home/USER/Dokumente/SourceCode/pytorch/cmake/../third_party/pybind11/include
  177. -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
  178. -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
  179. -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND)
  180. CMake Warning at cmake/Dependencies.cmake:949 (message):
  181.   Not compiling with MPI.  Suppress this warning with -DUSE_MPI=OFF
  182. Call Stack (most recent call first):
  183.   CMakeLists.txt:469 (include)
  184.  
  185.  
  186. -- Adding OpenMP CXX_FLAGS: -fopenmp
  187. -- Will link against OpenMP libraries: /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so;/usr/lib/x86_64-linux-gnu/libpthread.so
  188. CUDA_TOOLKIT_ROOT_DIR not found or specified
  189. -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
  190. CMake Warning at cmake/public/cuda.cmake:31 (message):
  191.   Caffe2: CUDA cannot be found.  Depending on whether you are building Caffe2
  192.   or a Caffe2 dependent library, the next warning / error will give you more
  193.   info.
  194. Call Stack (most recent call first):
  195.   cmake/Dependencies.cmake:1054 (include)
  196.   CMakeLists.txt:469 (include)
  197.  
  198.  
  199. CMake Warning at cmake/Dependencies.cmake:1077 (message):
  200.   Not compiling with CUDA.  Suppress this warning with -DUSE_CUDA=OFF.
  201. Call Stack (most recent call first):
  202.   CMakeLists.txt:469 (include)
  203.  
  204.  
  205. -- Found HIP: /opt/rocm-3.5.0/hip (found suitable version "3.5.20214-a2917cd", minimum required is "1.0")
  206. HIP VERSION: 3.5.20214-a2917cd
  207.  
  208. ***** Library versions from dpkg *****
  209.  
  210. rocm-dev VERSION: 3.5.0-30
  211. rocm-device-libs VERSION: 1.0.0.585-rocm-rel-3.5-30-e6d1be0
  212. hsakmt-roct VERSION: 1.0.9-347-gd4b224f
  213. hsakmt-roct-dev VERSION: 1.0.9-347-gd4b224f
  214. hsa-ext-rocr-dev VERSION: 1.1.30500.0-rocm-rel-3.5-30-def83d8
  215. hsa-rocr-dev VERSION: 1.1.30500.0-rocm-rel-3.5-30-def83d8
  216.  
  217. ***** Library versions from cmake find_package *****
  218.  
  219. CMake Error at cmake/public/LoadHIP.cmake:131 (find_package):
  220.   By not providing "Findrocrand.cmake" in CMAKE_MODULE_PATH this project has
  221.   asked CMake to find a package configuration file provided by "rocrand", but
  222.   CMake did not find one.
  223.  
  224.   Could not find a package configuration file provided by "rocrand" with any
  225.   of the following names:
  226.  
  227.     rocrandConfig.cmake
  228.     rocrand-config.cmake
  229.  
  230.   Add the installation prefix of "rocrand" to CMAKE_PREFIX_PATH or set
  231.   "rocrand_DIR" to a directory containing one of the above files.  If
  232.   "rocrand" provides a separate development package or SDK, be sure it has
  233.   been installed.
  234. Call Stack (most recent call first):
  235.   cmake/public/LoadHIP.cmake:167 (find_package_and_print_version)
  236.   cmake/Dependencies.cmake:1093 (include)
  237.   CMakeLists.txt:469 (include)
  238.  
  239.  
  240. -- Configuring incomplete, errors occurred!
  241. See also "/home/USER/Dokumente/SourceCode/pytorch/build/CMakeFiles/CMakeOutput.log".
  242. See also "/home/USER/Dokumente/SourceCode/pytorch/build/CMakeFiles/CMakeError.log".
  243. Traceback (most recent call last):
  244.   File "setup.py", line 734, in <module>
  245.     build_deps()
  246.   File "setup.py", line 318, in build_deps
  247.     cmake=cmake)
  248.   File "/home/USER/Dokumente/SourceCode/pytorch/tools/build_pytorch_libs.py", line 59, in build_caffe2
  249.     rerun_cmake)
  250.   File "/home/USER/Dokumente/SourceCode/pytorch/tools/setup_helpers/cmake.py", line 329, in generate
  251.     self.run(args, env=my_env)
  252.   File "/home/USER/Dokumente/SourceCode/pytorch/tools/setup_helpers/cmake.py", line 141, in run
  253.     check_call(command, cwd=self.build_dir, env=env)
  254.   File "/home/USER/Dokumente/Programme/Tools/anaconda3/lib/python3.7/subprocess.py", line 363, in check_call
  255.     raise CalledProcessError(retcode, cmd)
  256. subprocess.CalledProcessError: Command '['cmake', '-GNinja', '-DBUILD_PYTHON=True', '-DBUILD_TEST=True', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX=/home/USER/Dokumente/SourceCode/pytorch/torch', '-DCMAKE_PREFIX_PATH=/home/USER/Dokumente/Programme/Tools/anaconda3', '-DNUMPY_INCLUDE_DIR=/home/USER/Dokumente/Programme/Tools/anaconda3/lib/python3.7/site-packages/numpy/core/include', '-DPYTHON_EXECUTABLE=/home/USER/Dokumente/Programme/Tools/anaconda3/bin/python3', '-DPYTHON_INCLUDE_DIR=/home/USER/Dokumente/Programme/Tools/anaconda3/include/python3.7m', '-DPYTHON_LIBRARY=/home/USER/Dokumente/Programme/Tools/anaconda3/lib/libpython3.7m.so.1.0', '-DTORCH_BUILD_VERSION=1.7.0a0+fd90e4b', '-DUSE_NUMPY=True', '/home/USER/Dokumente/SourceCode/pytorch']' returned non-zero exit status 1.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top