Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install cunn on macOS Sierra #461

Open
michaelmaverick opened this issue Apr 14, 2017 · 0 comments
Open

Failed to install cunn on macOS Sierra #461

michaelmaverick opened this issue Apr 14, 2017 · 0 comments

Comments

@michaelmaverick
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant