Skip to content

Instantly share code, notes, and snippets.

@wanchaol
Created March 29, 2019 23:20
Show Gist options
  • Save wanchaol/1630385e1aca100ca1a084820f68c5a2 to your computer and use it in GitHub Desktop.
Save wanchaol/1630385e1aca100ca1a084820f68c5a2 to your computer and use it in GitHub Desktop.
--
-- ******** Summary ********
-- General:
-- CMake version : 3.12.2
-- CMake command : /private/home/wanchaol/.conda/envs/pt/bin/cmake
-- System : Linux
-- C++ compiler : /scratch/wanchaol/ccache/lib/c++
-- C++ compiler id : GNU
-- C++ compiler version : 7.3.0
-- BLAS : MKL
-- CXX flags : -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Wno-stringop-overflow
-- Build type : Release
-- Compile definitions : TH_BLAS_MKL;ONNX_NAMESPACE=onnx_torch;USE_C11_ATOMICS=1;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1
-- CMAKE_PREFIX_PATH : /private/home/wanchaol/.conda/envs/pt/lib/python3.7/site-packages
-- CMAKE_INSTALL_PREFIX : /scratch/wanchaol/local/pytorch/torch
--
-- TORCH_VERSION : 1.1.0
-- CAFFE2_VERSION : 1.1.0
-- BUILD_ATEN_MOBILE : OFF
-- BUILD_ATEN_ONLY : OFF
-- BUILD_BINARY : False
-- BUILD_CUSTOM_PROTOBUF : ON
-- Link local protobuf : ON
-- BUILD_DOCS : OFF
-- BUILD_PYTHON : True
-- Python version : 3.7.2
-- Python executable : /private/home/wanchaol/.conda/envs/pt/bin/python
-- Pythonlibs version : 3.7.2
-- Python library : /private/home/wanchaol/.conda/envs/pt/lib/libpython3.7m.so.1.0
-- Python includes : /private/home/wanchaol/.conda/envs/pt/include/python3.7m
-- Python site-packages: lib/python3.7/site-packages
-- BUILD_CAFFE2_OPS : True
-- BUILD_SHARED_LIBS : ON
-- BUILD_TEST : True
-- USE_ASAN : OFF
-- USE_CUDA : False
-- USE_ROCM : False
-- USE_EIGEN_FOR_BLAS :
-- USE_FBGEMM : ON
-- USE_FFMPEG : False
-- USE_GFLAGS : OFF
-- USE_GLOG : OFF
-- USE_LEVELDB : False
-- USE_LITE_PROTO : OFF
-- USE_LMDB : False
-- USE_METAL : OFF
-- USE_MKL : ON
-- USE_MKLDNN : ON
-- USE_NCCL : False
-- USE_NNPACK : True
-- USE_NUMPY : ON
-- USE_OBSERVERS : ON
-- USE_OPENCL : OFF
-- USE_OPENCV : False
-- USE_OPENMP : ON
-- USE_PROF : OFF
-- USE_QNNPACK : True
-- USE_REDIS : OFF
-- USE_ROCKSDB : OFF
-- USE_ZMQ : OFF
-- USE_DISTRIBUTED : True
-- USE_MPI : ON
-- USE_GLOO : ON
-- USE_GLOO_IBVERBS : 1
-- Public Dependencies : Threads::Threads;caffe2::mkl;caffe2::mkldnn
-- Private Dependencies : qnnpack;nnpack;cpuinfo;fbgemm;/usr/lib/x86_64-linux-gnu/libnuma.so;fp16;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so;/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so;gloo;aten_op_header_gen;foxi_loader;rt;gcc_s;gcc;dl
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NNPACK_CLOG_CONTRIB_LIB
linked by target "tvm" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_topi" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_runtime" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
NNPACK_CONTRIB_LIB
linked by target "tvm" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_topi" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_runtime" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
NNPACK_CPUINFO_CONTRIB_LIB
linked by target "tvm" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_topi" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_runtime" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
NNPACK_PTHREAD_CONTRIB_LIB
linked by target "tvm" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_topi" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
linked by target "tvm_runtime" in directory /scratch/wanchaol/local/pytorch/third_party/tvm
-- Configuring incomplete, errors occurred!
See also "/scratch/wanchaol/local/pytorch/build/CMakeFiles/CMakeOutput.log".
See also "/scratch/wanchaol/local/pytorch/build/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 714, in <module>
build_deps()
File "setup.py", line 286, in build_deps
build_dir='build')
File "/scratch/wanchaol/local/pytorch/tools/build_pytorch_libs.py", line 253, in build_caffe2
my_env)
File "/scratch/wanchaol/local/pytorch/tools/build_pytorch_libs.py", line 233, in run_cmake
check_call(cmake_args, cwd=build_dir, env=my_env)
File "/private/home/wanchaol/.conda/envs/pt/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-GNinja', '-DBUILDING_WITH_TORCH_LIBS=ON', '-DBUILD_BINARY=False', '-DBUILD_CAFFE2_OPS=True', '-DBUILD_PYTHON=True', '-DBUILD_SHARED_LIBS=ON', '-DBUILD_TEST=True', '-DBUILD_TORCH=ON', '-DCAFFE2_STATIC_LINK_CUDA=False', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_CXX_FLAGS= ', '-DCMAKE_C_FLAGS= ', '-DCMAKE_EXE_LINKER_FLAGS=', '-DCMAKE_INSTALL_PREFIX=/scratch/wanchaol/local/pytorch/torch', '-DCMAKE_PREFIX_PATH=/private/home/wanchaol/.conda/envs/pt/lib/python3.7/site-packages', '-DCMAKE_SHARED_LINKER_FLAGS=', '-DCUDA_NVCC_EXECUTABLE=/scratch/wanchaol/ccache/cuda/nvcc', '-DINSTALL_TEST=True', '-DNCCL_EXTERNAL=False', '-DNUMPY_INCLUDE_DIR=/private/home/wanchaol/.conda/envs/pt/lib/python3.7/site-packages/numpy/core/include', '-DONNX_ML=False', '-DONNX_NAMESPACE=onnx_torch', '-DPYTHON_EXECUTABLE=/private/home/wanchaol/.conda/envs/pt/bin/python', '-DPYTHON_INCLUDE_DIR=/private/home/wanchaol/.conda/envs/pt/include/python3.7m', '-DPYTHON_LIBRARY=/private/home/wanchaol/.conda/envs/pt/lib/libpython3.7m.so.1.0', '-DTHD_SO_VERSION=1', '-DTORCH_BUILD_VERSION=1.1.0a0+2beff1b', '-DUSE_CUDA=False', '-DUSE_DISTRIBUTED=True', '-DUSE_FBGEMM=True', '-DUSE_FFMPEG=False', '-DUSE_LEVELDB=False', '-DUSE_LMDB=False', '-DUSE_MKLDNN=True', '-DUSE_NCCL=False', '-DUSE_NNPACK=True', '-DUSE_NUMPY=True', '-DUSE_OPENCV=False', '-DUSE_QNNPACK=True', '-DUSE_ROCM=False', '-DUSE_SYSTEM_EIGEN_INSTALL=OFF', '-DUSE_SYSTEM_NCCL=False', '-DUSE_TENSORRT=False', '-DUSE_GLOO_IBVERBS=1', '-DUSE_IBVERBS=1', '-DMKLDNN_ENABLE_CONCURRENT_EXEC=ON', '/scratch/wanchaol/local/pytorch']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment