pytorch / pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration
https://pytorch.org
Other
83.51k stars 22.53k forks source link

Error building torch._C extension when compiling from source #2299

Closed rawmarshmellows closed 7 years ago

rawmarshmellows commented 7 years ago

I have an error when building PyTorch from source

Here is my clang version:

Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Here is the error:

export CMAKE_PREFIX_PATH=/Users/kevinlu/miniconda3/
MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install
running install
running build_deps
-- Try OpenMP C flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing:  OpenMP_C_FLAGS OpenMP_CXX_FLAGS) 
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- SSE2 Found
-- SSE3 Found
-- AVX Found
-- AVX2 Found
-- TH_SO_VERSION: 1
-- Atomics: using GCC intrinsics
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: /Users/kevinlu/miniconda3/envs/pytorch/lib/libmkl_intel_lp64.dylib
--   Library mkl_intel_thread: /Users/kevinlu/miniconda3/envs/pytorch/lib/libmkl_intel_thread.dylib
--   Library mkl_core: /Users/kevinlu/miniconda3/envs/pytorch/lib/libmkl_core.dylib
--   Library iomp5: /Users/kevinlu/miniconda3/envs/pytorch/lib/libiomp5.dylib
--   Library pthread: /usr/lib/libpthread.dylib
--   Library m: /usr/lib/libm.dylib
-- MKL library found
-- Found a library with BLAS API (mkl).
-- Found a library with LAPACK API. (mkl)
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   TH

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/TH
[100%] Built target TH
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/TH.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THMath.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THBlas.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THDiskFile.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THFile.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THFilePrivate.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGeneral.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateAllTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateDoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateHalfType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateLongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateCharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateFloatTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THGenerateIntTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THLapack.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THLogAdd.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THMemoryFile.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THRandom.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THSize.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THTensorApply.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THTensorDimApply.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THTensorMacros.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THVector.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THAtomic.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/THHalf.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/vector/AVX.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/vector/AVX2.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THBlas.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THBlas.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THLapack.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THLapack.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THStorage.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THStorageCopy.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THStorageCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensor.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorConv.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorConv.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorCopy.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorLapack.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorLapack.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorMath.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorMath.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorRandom.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THTensorRandom.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THVectorDispatch.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/TH/generic/THVector.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/share/cmake/TH/THConfig.cmake
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THS_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THS

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THS
[ 50%] Linking C shared library libTHS.dylib
ld: warning: object file (CMakeFiles/THS.dir/THSTensor.c.o) was built for newer OSX version (10.12) than being linke
[100%] Built target THS
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHS.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHS.dylib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /Users/kev
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/THS.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/THSGenerateAllTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/THSGenerateFloatTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/THSGenerateIntTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/THSTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/generic/THSTensor.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/generic/THSTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/generic/THSTensorMath.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THS/generic/THSTensorMath.h
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- Try OpenMP C flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing:  OpenMP_C_FLAGS OpenMP_CXX_FLAGS) 
CMake Warning (dev) at CMakeLists.txt:61 (LINK_DIRECTORIES):
  This command specifies the relative path

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- THNN_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THNN

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THNN
[ 50%] Linking C shared library libTHNN.dylib
ld: warning: object file (CMakeFiles/THNN.dir/init.c.o) was built for newer OSX version (10.12) than being linked (1
[100%] Built target THNN
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHNN.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHNN.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THNN/THNN.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THNN/generic/THNN.h
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s): 6.1
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS:  -DTH_INDEX_BASE=0 -I/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include   -I/Users/k
-- THC_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THC

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THC
[  1%] Linking CXX shared library libTHC.dylib
[100%] Built target THC
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THC.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGeneral.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCBlas.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCSleep.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCStorageCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCStream.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCThreadLocal.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorRandom.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorMath.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorConv.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCApply.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCReduce.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCReduceAll.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCReduceApplyUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCAsmUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCAtomics.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCScanUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCSortUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCCachingAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCCachingHostAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCDeviceUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCDeviceTensor.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCDeviceTensor-inl.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCDeviceTensorUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCDeviceTensorUtils-inl.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateAllTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateCharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateLongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateHalfType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateFloatTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCGenerateDoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCHalf.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCNumerics.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorSort.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorInfo.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorMathPointwise.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorTypeUtils.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorRandom.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorMathMagma.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCThrustAllocator.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorMode.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/THCTensorTopK.cuh
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorage.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorage.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensor.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensor.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorageCopy.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorageCopy.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCStorageCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorCopy.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorCopy.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorCopy.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMasked.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMasked.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMath.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMath.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathBlas.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathBlas.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathCompare.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathCompare.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathCompareT.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathCompareT.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathMagma.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathMagma.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathPairwise.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathPairwise.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathPointwise.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathPointwise.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathReduce.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathReduce.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathScan.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMathScan.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorScatterGather.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorScatterGather.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorIndex.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorIndex.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorSort.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorSort.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCDeviceTensorUtils.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorRandom.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorRandom.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMode.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorMode.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorTopK.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THC/generic/THCTensorTopK.cu
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THC_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- THS_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHS.1.dylib
-- Autodetected CUDA architecture(s): 6.1
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS:  -DTH_INDEX_BASE=0 -I/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include   -I/Users/k
-- THCS_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THCS

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THCS
[ 25%] Linking CXX shared library libTHCS.dylib
[100%] Built target THCS
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCS.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCS.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCS.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateAllTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateCharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateLongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateHalfType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateFloatTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSGenerateDoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/THCSparse.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/generic/THCSTensor.c
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/generic/THCSTensor.cu
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/generic/THCSTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/generic/THCSTensorMath.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCS/generic/THCSTensorMath.cu
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THC_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- Autodetected CUDA architecture(s): 6.1
-- THCUNN_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THCUNN

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THCUNN
[  1%] Linking CXX shared library libTHCUNN.dylib
[100%] Built target THCUNN
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCUNN.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCUNN.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCUNN/THCUNN.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THCUNN/generic/THCUNN.h
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THC_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- THCS_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCS.1.dylib
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/storages/generic/THCStorage.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/storages/generic/THStorage.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/tensors/generic/THCSTensor.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/tensors/generic/THCTensor.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/tensors/generic/THSTensor.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THPP/tensors/generic/THTensor.cpp from the build
CMake Warning (dev) at CMakeLists.txt:101 (TARGET_LINK_LIBRARIES):
  Policy CMP0023 is not set: Plain and keyword target_link_libraries
  signatures cannot be mixed.  Run "cmake --help-policy CMP0023" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The keyword signature for target_link_libraries has already been used with
  the target "THPP".  All uses of target_link_libraries with a target should
  be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:98 (TARGET_LINK_LIBRARIES)
   * CMakeLists.txt:100 (TARGET_LINK_LIBRARIES)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THPP

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THPP
[  9%] Linking CXX shared library libTHPP.dylib
ld: warning: ld: warning: object file (CMakeFiles/THPP.dir/Traits.cpp.o) was built for newer OSX version (10.12) tha

ld: warning: ld: warning: ld: warning: object file (CMakeFiles/THPP.dir/generators/THGenerator.cpp.o) was built for 

ld: warning: object file (CMakeFiles/THPP.dir/tensors/THCSTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/THPP.dir/storages/THStorage.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/THPP.dir/tensors/THCTensor.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/THPP.dir/tensors/THSTensor.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/THPP.dir/tensors/THTensor.cpp.o) was built for newer OSX version (10.12) than b
[100%] Built target THPP
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHPP.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHPP.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/THPP.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/Generator.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/Storage.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/Tensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/Traits.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/TraitsCuda.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/Type.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/generators/THCGenerator.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/generators/THGenerator.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/storages/THCStorage.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/storages/THStorage.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/storages/generic/THCStorage.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/storages/generic/THStorage.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/THCSTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/THCTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/THSTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/THTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/generic/THCSTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/generic/THCTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/generic/THSTensor.hpp
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THPP/tensors/generic/THTensor.hpp
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   shm

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/libshm
[ 25%] Linking CXX shared library libshm.dylib
[ 75%] Built target torch_shm_manager
ld: warning: object file (CMakeFiles/shm.dir/core.cpp.o) was built for newer OSX version (10.12) than being linked (
[100%] Built target shm
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libshm.dylib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /Users/kev
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/libshm.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/bin/torch_shm_manager
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THNN_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHNN.1.dylib
-- THC_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- THCS_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCS.1.dylib
-- THCUNN_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHCUNN.1.dylib
Excluding arange
Excluding arange
Excluding arange
Excluding arange
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding random_
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding normal_
Excluding exponential_
Excluding exponential_
Excluding exponential_
Excluding exponential_
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli
Excluding bernoulli
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
Excluding bernoulli_
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   ATen

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/ATen
[  1%] Linking CXX shared library libATen.dylib
ld: warning: ld: warning: object file (CMakeFiles/ATen.dir/CUDAGenerator.cpp.o) was built for newer OSX version (10.

ld: warning: ld: warning: ld: warning: object file (CMakeFiles/ATen.dir/Context.cpp.o) was built for newer OSX versi

ld: warning: ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUByteStorage.cpp.o) was built for newer OSX versio

ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUByteType.cpp.o) was built for newer OSX version (10.12) than b
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUByteTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUCharStorage.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUCharType.cpp.o) was built for newer OSX version (10.12) than b
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUCharTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUDoubleStorage.cpp.o) was built for newer OSX version (10.12) t
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUDoubleTensor.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUDoubleType.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUFloatStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUFloatType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUFloatTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUIntStorage.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUIntType.cpp.o) was built for newer OSX version (10.12) than be
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUIntTensor.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPULongStorage.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPULongType.cpp.o) was built for newer OSX version (10.12) than b
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPULongTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUShortStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUShortType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUShortTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUHalfStorage.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUHalfType.cpp.o) was built for newer OSX version (10.12) than b
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CPUHalfTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUByteType.cpp.o) was built for newer OSX version (10.12) 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUByteTensor.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUCharType.cpp.o) was built for newer OSX version (10.12) 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUCharTensor.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUDoubleTensor.cpp.o) was built for newer OSX version (10.
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUDoubleType.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUFloatTensor.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUFloatType.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUIntType.cpp.o) was built for newer OSX version (10.12) t
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUIntTensor.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPULongType.cpp.o) was built for newer OSX version (10.12) 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPULongTensor.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUShortType.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCPUShortTensor.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAByteStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAByteType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAByteTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDACharStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDACharType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDADoubleStorage.cpp.o) was built for newer OSX version (10.12) 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDACharTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDADoubleTensor.cpp.o) was built for newer OSX version (10.12) t
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDADoubleType.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAFloatStorage.cpp.o) was built for newer OSX version (10.12) t
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAFloatType.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAFloatTensor.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAIntStorage.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAIntType.cpp.o) was built for newer OSX version (10.12) than b
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAIntTensor.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDALongStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDALongType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDALongTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAShortStorage.cpp.o) was built for newer OSX version (10.12) t
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAShortType.cpp.o) was built for newer OSX version (10.12) than
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAShortTensor.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAHalfStorage.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAHalfType.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/ATen.dir/ATen/CUDAHalfTensor.cpp.o) was built for newer OSX version (10.12) tha
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAByteTensor.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAByteType.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDACharType.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDACharTensor.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDADoubleType.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDADoubleTensor.cpp.o) was built for newer OSX version (10
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAFloatType.cpp.o) was built for newer OSX version (10.12
ld: warning: ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAIntType.cpp.o) was built for newer OSX ver

ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAIntTensor.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDALongType.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDALongTensor.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAShortType.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/ATen.dir/ATen/SparseCUDAShortTensor.cpp.o) was built for newer OSX version (10.
ld: warning: object file (CMakeFiles/ATen.dir/ATen/Type.cpp.o) was built for newer OSX version (10.12) than being li
ld: warning: object file (CMakeFiles/ATen.dir/ATen/Copy.cpp.o) was built for newer OSX version (10.12) than being li
[100%] Built target ATen
Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libATen.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libATen.dylib
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ATen.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUFixedAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAFixedAllocator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CheckGenerator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Context.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Formatting.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Generator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Half.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Scalar.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseTensorRef.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Storage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/THLongStorageView.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/TensorAccessor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/TensorImpl.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/TensorOperators.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Utils.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUGenerator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAGenerator.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUByteStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUByteTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUCharStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUCharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUCharTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUDoubleStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUDoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUDoubleTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUFloatStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUFloatTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUIntStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUIntTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPULongStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPULongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPULongTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUShortStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUShortTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUHalfStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUHalfType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CPUHalfTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUByteTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUCharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUCharTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUDoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUDoubleTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUFloatTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUIntTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPULongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPULongTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCPUShortTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAByteStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAByteTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDACharStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDACharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDACharTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDADoubleStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDADoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDADoubleTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAFloatStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAFloatTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAIntStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAIntTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDALongStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDALongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDALongTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAShortStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAShortTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAHalfStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAHalfType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/CUDAHalfTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAByteType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAByteTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDACharType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDACharTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDADoubleType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDADoubleTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAFloatType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAFloatTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAIntType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAIntTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDALongType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDALongTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAShortType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/SparseCUDAShortTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Type.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Tensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/TensorMethods.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Functions.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/Dispatch.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/share/ATen/Declarations.yaml
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
-- Found Gloo: FALSE
-- TH_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTH.1.dylib
-- THPP_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHPP.1.dylib
-- THC_LIBRARIES: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHC.1.dylib
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/Communication.cpp from the
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/Generator.cpp from the bui
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/Storage.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/Tensor.cpp from the build
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/TensorCopy.cpp from the bu
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/TensorLapack.cpp from the 
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/TensorMath.cpp from the bu
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/worker/dispatch/TensorRandom.cpp from the 
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDStorage.cpp from the bui
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensor.cpp from the buil
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensorCopy.cpp from the 
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensorLapack.cpp from th
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensorMath.cpp from the 
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensorMeta.cpp from the 
-- Excluding /Users/kevinlu/Downloads/pytorch/torch/lib/THD/master_worker/master/generic/THDTensorRandom.cpp from th
-- THD_SO_VERSION: 1
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   THD

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/kevinlu/Downloads/pytorch/torch/lib/build/THD
[  4%] Linking CXX shared library libTHD.dylib
ld: warning: directory not found for option '-L/usr/local/cuda/lib64'
ld: warning: ld: warning: object file (CMakeFiles/THD.dir/base/ChannelUtils.cpp.o) was built for newer OSX version (

ld: warning: object file (CMakeFiles/THD.dir/base/DataChannel.cpp.o) was built for newer OSX version (10.12) than be
ld: warning: ld: warning: object file (CMakeFiles/THD.dir/base/TensorDescriptor.cpp.o) was built for newer OSX versi

ld: warning: ld: warning: object file (CMakeFiles/THD.dir/base/data_channels/DataChannelMPI.cpp.o) was built for new

object file (CMakeFiles/THD.dir/base/data_channels/DataChannelTCP.cpp.o) was built for newer OSX version (10.12) thl
object file (CMakeFiles/THD.dir/base/init_methods/InitMethodEnv.cpp.o) was built for newer OSX version (10.12) than 
ld: warning: object file (CMakeFiles/THD.dir/base/init_methods/InitMethodTCP.cpp.o) was built for newer OSX version 
ld: warning: object file (CMakeFiles/THD.dir/base/init_methods/InitMethodFile.cpp.o) was built for newer OSX version
ld: warning: object file (CMakeFiles/THD.dir/base/init_methods/InitMethodUtils.cpp.o) was built for newer OSX versio
ld: warning: object file (CMakeFiles/THD.dir/process_group/Collectives.cpp.o) was built for newer OSX version (10.12
ld: warning: object file (CMakeFiles/THD.dir/master_worker/common/ByteArray.cpp.o) was built for newer OSX version (
ld: warning: object file (CMakeFiles/THD.dir/process_group/General.cpp.o) was built for newer OSX version (10.12) th
ld: warning: object file (CMakeFiles/THD.dir/master_worker/common/CommandChannel.cpp.o) was built for newer OSX vers
ld: warning: object file (CMakeFiles/THD.dir/master_worker/common/RPC.cpp.o) was built for newer OSX version (10.12)
ld: warning: object file (CMakeFiles/THD.dir/master_worker/master/Master.cpp.o) was built for newer OSX version (10.
ld: warning: object file (CMakeFiles/THD.dir/master_worker/master/State.cpp.o) was built for newer OSX version (10.1
ld: warning: object file (CMakeFiles/THD.dir/master_worker/master/THDRandom.cpp.o) was built for newer OSX version (
ld: warning: object file (CMakeFiles/THD.dir/master_worker/master/THDStorage.cpp.o) was built for newer OSX version 
ld: warning: object file (CMakeFiles/THD.dir/master_worker/master/THDTensor.cpp.o) was built for newer OSX version (
ld: warning: object file (CMakeFiles/THD.dir/master_worker/worker/Worker.cpp.o) was built for newer OSX version (10.
ld: warning: object file (CMakeFiles/THD.dir/master_worker/worker/Dispatch.cpp.o) was built for newer OSX version (1
[100%] Built target THD
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHD.1.dylib
-- Installing: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/lib/libTHD.dylib
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /usr/local
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /usr/local
error: /Library/Developer/CommandLineTools/usr/bin/install_name_tool: no LC_RPATH load command with path: /Users/kev
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/THD.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/ChannelType.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/Cuda.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/DataChannel.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/DataChannelRequest.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/THDGenerateAllTypes.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/base/TensorDescriptor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/process_group/Collectives.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/process_group/General.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/Master.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/State.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/THDRandom.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/THDStorage.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/THDTensor.h
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDSt
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDTe
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDTe
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDTe
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDTe
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/master/generic/THDTe
-- Up-to-date: /Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/THD/master_worker/worker/Worker.h
Updating install_name for libATen.1.dylib
Updating install_name for libTH.1.dylib
Updating install_name for libTHC.1.dylib
Updating install_name for libTHCS.1.dylib
Updating install_name for libTHCUNN.1.dylib
Updating install_name for libTHD.1.dylib
Updating install_name for libTHNN.1.dylib
Updating install_name for libTHPP.1.dylib
Updating install_name for libTHS.1.dylib
Updating install_name for libshm.dylib
running build
running build_py
-- Building version 0.2.0+d2b61e4
copying torch/version.py -> build/lib.macosx-10.7-x86_64-3.6/torch
copying torch/lib/libATen.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libshm.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTH.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHC.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHCS.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHCUNN.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHD.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHNN.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHPP.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/libTHS.1.dylib -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/torch_shm_manager -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/THCUNN.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/THNN.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib
copying torch/lib/include/TH/TH.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THAllocator.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THAtomic.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THBlas.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THDiskFile.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THFile.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THFilePrivate.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGeneral.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateAllTypes.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateByteType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateCharType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateDoubleType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateFloatType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateFloatTypes.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateHalfType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateIntType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateIntTypes.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateLongType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THGenerateShortType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THHalf.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THLapack.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THLogAdd.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THMath.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THMemoryFile.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THRandom.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THSize.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THStorage.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THTensor.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THTensorApply.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THTensorDimApply.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THTensorMacros.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/THVector.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/TH/generic/THBlas.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THLapack.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THStorage.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THStorageCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generi
copying torch/lib/include/TH/generic/THTensor.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THTensorConv.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THTensorCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THTensorLapack.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/gener
copying torch/lib/include/TH/generic/THTensorMath.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/TH/generic/THTensorRandom.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/gener
copying torch/lib/include/TH/generic/THVector.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH/generic
copying torch/lib/include/THC/THC.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCAllocator.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCBlas.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCCachingAllocator.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCCachingHostAllocator.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGeneral.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateAllTypes.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateByteType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateCharType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateDoubleType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateFloatType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateFloatTypes.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateHalfType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateIntType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateLongType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCGenerateShortType.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCHalf.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCSleep.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCStorage.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCStorageCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCStream.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCTensor.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCTensorConv.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCTensorCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCTensorMath.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCTensorRandom.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/THCThreadLocal.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/generic/THCStorage.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/generic
copying torch/lib/include/THC/generic/THCStorageCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gen
copying torch/lib/include/THC/generic/THCTensor.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/generic
copying torch/lib/include/THC/generic/THCTensorCopy.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gene
copying torch/lib/include/THC/generic/THCTensorIndex.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gen
copying torch/lib/include/THC/generic/THCTensorMasked.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/ge
copying torch/lib/include/THC/generic/THCTensorMath.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gene
copying torch/lib/include/THC/generic/THCTensorMathBlas.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/
copying torch/lib/include/THC/generic/THCTensorMathCompare.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/T
copying torch/lib/include/THC/generic/THCTensorMathCompareT.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/
copying torch/lib/include/THC/generic/THCTensorMathMagma.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC
copying torch/lib/include/THC/generic/THCTensorMathPairwise.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/
copying torch/lib/include/THC/generic/THCTensorMathPointwise.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include
copying torch/lib/include/THC/generic/THCTensorMathReduce.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/TH
copying torch/lib/include/THC/generic/THCTensorMathScan.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/
copying torch/lib/include/THC/generic/THCTensorMode.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gene
copying torch/lib/include/THC/generic/THCTensorRandom.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/ge
copying torch/lib/include/THC/generic/THCTensorScatterGather.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include
copying torch/lib/include/THC/generic/THCTensorSort.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gene
copying torch/lib/include/THC/generic/THCTensorTopK.h -> build/lib.macosx-10.7-x86_64-3.6/torch/lib/include/THC/gene
running build_ext
-- Building with NumPy bindings
-- Detected cuDNN at /usr/local/cuda/lib, /usr/local/cuda/include
-- Detected CUDA at /usr/local/cuda
-- Not using NCCL
-- Building with distributed package 
building 'torch._C' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
torch/csrc/autograd/functions/convolution.cpp:185:20: error: no viable conversion from 'std::vector<long>' to
      'IntList' (aka 'ArrayRef<long long>')
    output.resize_(output_size(input, weight));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:34:9: note: candidate constructor
      (the implicit copy constructor) not viable: no known conversion from 'std::vector<long>' to
      'const at::ArrayRef<long long> &' for 1st argument
  class ArrayRef {
        ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:34:9: note: candidate constructor
      (the implicit move constructor) not viable: no known conversion from 'std::vector<long>' to
      'at::ArrayRef<long long> &&' for 1st argument
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:57:18: note: candidate constructor
      not viable: no known conversion from 'std::vector<long>' to 'const long long &' for 1st argument
    /*implicit*/ ArrayRef(const T &OneElt)
                 ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:83:18: note: candidate constructor
      not viable: no known conversion from 'std::vector<long>' to 'const std::initializer_list<long long> &' for 1st
      argument
    /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
                 ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:70:18: note: candidate template
      ignored: could not match 'long long' against 'long'
    /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
                 ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:75:28: note: candidate template
      ignored: could not match 'array' against 'vector'
    /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
                           ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/ArrayRef.h:80:28: note: candidate template
      ignored: could not match 'const long long [N]' against 'std::vector<long>'
    /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
                           ^
/Users/kevinlu/Downloads/pytorch/torch/lib/tmp_install/include/ATen/TensorMethods.h:13:41: note: passing argument to
      parameter 'size' here
inline Tensor & Tensor::resize_(IntList size) {
                                        ^
1 error generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/minicondaa
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/mi
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/minicondat
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/minicondac
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/minicondam
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda/
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/kevinlu/miniconda3
error: command 'clang' failed with exit status 1
zhaopengme commented 7 years ago

me too

soumith commented 7 years ago

cc: @zdevito

killeent commented 7 years ago

I can fix this.

ritchieng commented 7 years ago

@killeent I downloaded the master branch (saw you merged a fix to this issue) but I'm still facing the exact error as above (same clang version). Any idea? Thanks.

killeent commented 7 years ago

@ritchieng can you do a clean build, and post your error output?

zhaopengme commented 7 years ago

hi .What progress has been made recently?

rawmarshmellows commented 7 years ago

After using the new commit I was able to install PyTorch successfully

zhaopengme commented 7 years ago

@kevinlu1211 Yeah! I build ok now.