torch / cunn

Other
215 stars 174 forks source link

Failed to install cunn on macOS Sierra #461

Open michaelmaverick opened 7 years ago

michaelmaverick commented 7 years ago

I am currently using MacBook Pro with GT650M. Here is the output:

Warning: unmatched variable LUALIB cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/Users/Michael/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/Users/Michael/torch/install/lib/luarocks/rocks/cunn/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install

-- The C compiler identification is AppleClang 8.0.0.8000042 -- The CXX compiler identification is AppleClang 8.0.0.8000042 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Torch7 in /Users/Michael/torch/install -- Found CUDA: /Developer/NVIDIA/CUDA-8.0 (found suitable version "8.0", minimum required is "6.5") -- Removing -DNDEBUG from compile flags -- TH_LIBRARIES: TH -- THC_LIBRARIES: THC -- Autodetected CUDA architecture(s): 3.0 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

LUALIB

-- Build files have been written to: /Users/Michael/cunn/build [ 1%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_Abs.cu.o [ 3%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_VolumetricReplicationPadding.cu.o [ 4%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_AbsCriterion.cu.o [ 6%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_BCECriterion.cu.o [ 7%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_BatchNormalization.cu.o [ 9%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_ELU.cu.o [ 10%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_DistKLDivCriterion.cu.o [ 12%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_ClassNLLCriterion.cu.o [ 14%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_FusedRNNKernel.cu.o [ 15%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_GatedLinearUnit.cu.o [ 17%] Building NVCC (Device) object lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_HardTanh.cu.o /Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

/Users/Michael/cunn/lib/THCUNN/generic/FusedRNNKernel.cu(497): error: explicit instantiation definition directive for global functions with clang host compiler is not yet supported

96 errors detected in the compilation of "/var/folders/q9/w4tq1_k96cl18khhp70vnfw00000gn/T//tmpxft_000028c4_00000000-7_FusedRNNKernel.cpp1.ii". CMake Error at THCUNN_generated_FusedRNNKernel.cu.o.cmake:267 (message): Error generating file /Users/Michael/cunn/build/lib/THCUNN/CMakeFiles/THCUNN.dir//./THCUNN_generated_FusedRNNKernel.cu.o

make[2]: [lib/THCUNN/CMakeFiles/THCUNN.dir/THCUNN_generated_FusedRNNKernel.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [lib/THCUNN/CMakeFiles/THCUNN.dir/all] Error 2 make: [all] Error 2

Error: Build error: Failed building.