-
Notifications
You must be signed in to change notification settings - Fork 207
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
Cmake errors #749
Comments
Try this: |
I am pretty sure your |
I just downgraded CUDA version to 7.5 from 8.0. And it solved. |
I got the same problem installing Torch on Cuda 9.0 and 9.2. Solved it with:
before running |
Installing https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec... switching to 'build' mode
Cloning into 'cutorch'...
remote: Counting objects: 225, done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 225 (delta 61), reused 94 (delta 44), pack-reused 0
Receiving objects: 100% (225/225), 231.27 KiB | 0 bytes/s, done.
Resolving deltas: 100% (61/61), done.
Checking connectivity... done.
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/root/torch_distro/distro/install/bin/.." -DCMAKE_INSTALL_PREFIX="/root/torch_distro/distro/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /root/torch_distro/distro/install
-- Found CUDA: /usr/local/cuda (found suitable version "8.0", minimum required is "6.5")
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;6.1+PTX
-- got cuda version 8.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_61,code=compute_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/luarocks_cutorch-scm-1-4310/cutorch/build
[ 1%] [ 2%] [ 3%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o
[ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o
Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
[ 5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o
[ 6%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o
[ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.cu
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorageCopy.cu
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.cu
[ 9%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
[ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorCopy.cu
[ 11%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath2.cu.o
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathBlas.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathMagma.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathPairwise.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathPointwise.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathReduce.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathCompare.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathCompareT.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathScan.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMasked.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorScatterGather.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorIndex.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorSort.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMode.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMath.cu
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THStorageCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorRandom.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorConv.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THTensorLapack.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCStorage.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensor.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMath.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathBlas.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathMagma.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathPairwise.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathPointwise.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathReduce.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathCompare.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathCompareT.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMathScan.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMasked.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorScatterGather.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorIndex.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorSort.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorMode.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorCopy.h
CMake Warning at /usr/share/cmake-2.8/Modules/FindCUDA/make2cmake.cmake:66 (message):
Removing non-existent dependency file: generic/THCTensorRandom.h
/usr/local/cuda/include/thrust/detail/reference.inl(127): error: no default constructor exists for class "thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>"
detected during:
instantiation of "void thrust::reference<Element, Pointer, Derived>::assign_from(OtherPointer) [with Element=signed long, Pointer=thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>, Derived=thrust::use_default, OtherPointer=const signed long *]"
(65): here
instantiation of "thrust::reference<Element, Pointer, Derived>::derived_type &thrust::reference<Element, Pointer, Derived>::operator=(const thrust::reference<Element, Pointer, Derived>::value_type &) [with Element=signed long, Pointer=thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>, Derived=thrust::use_default]"
/usr/local/cuda/include/thrust/system/cuda/detail/reduce_intervals.inl(150): here
instantiation of "void thrust::system::cuda::detail::commutative_reduce_intervals_closure<InputIterator, OutputIterator, BinaryFunction, Decomposition, Context>::operator()() [with InputIterator=thrust::transform_iterator<thrust::detail::predicate_to_integral<NonZeroOp, signed long>, thrust::device_ptr, signed long, thrust::use_default>, OutputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, BinaryFunction=thrust::plus, Decomposition=thrust::system::detail::internal::uniform_decomposition, Context=thrust::system::cuda::detail::detail::blocked_thread_array]"
/usr/local/cuda/include/thrust/system/cuda/detail/detail/launch_closure.inl(52): here
instantiation of "void thrust::system::cuda::detail::detail::launch_closure_by_value(Closure) [with Closure=thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<NonZeroOp, signed long>, thrust::device_ptr, signed long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, thrust::plus, thrust::system::detail::internal::uniform_decomposition, thrust::system::cuda::detail::detail::blocked_thread_array>]"
/usr/local/cuda/include/thrust/system/cuda/detail/detail/launch_closure.inl(81): here
instantiation of "thrust::system::cuda::detail::detail::closure_launcher_base<Closure, launch_by_value>::launch_function_t thrust::system::cuda::detail::detail::closure_launcher_base<Closure, launch_by_value>::get_launch_function() [with Closure=thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<NonZeroOp, signed long>, thrust::device_ptr, signed long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, thrust::plus, thrust::system::detail::internal::uniform_decomposition, thrust::system::cuda::detail::detail::blocked_thread_array>, launch_by_value=true]"
/usr/local/cuda/include/thrust/system/cuda/detail/detail/launch_closure.inl(206): here
[ 2 instantiation contexts not shown ]
instantiation of "thrust::system::cuda::detail::detail::launch_calculator::launch_calculator() [with Closure=thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<NonZeroOp, signed long>, thrust::device_ptr, signed long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, thrust::plus, thrust::system::detail::internal::uniform_decomposition, thrust::system::cuda::detail::detail::blocked_thread_array>]"
/usr/local/cuda/include/thrust/system/cuda/detail/reduce_intervals.inl(189): here
instantiation of "void thrust::system::cuda::detail::reduce_intervals(thrust::system::cuda::detail::execution_policy &, InputIterator, OutputIterator, BinaryFunction, Decomposition) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator=thrust::transform_iterator<thrust::detail::predicate_to_integral<NonZeroOp, signed long>, thrust::device_ptr, signed long, thrust::use_default>, OutputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, BinaryFunction=thrust::plus, Decomposition=thrust::system::detail::internal::uniform_decomposition]"
/usr/local/cuda/include/thrust/system/cuda/detail/copy_if.inl(201): here
instantiation of "OutputIterator thrust::system::cuda::detail::copy_if_detail::copy_if(thrust::system::cuda::detail::execution_policy &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/usr/local/cuda/include/thrust/system/cuda/detail/copy_if.inl(251): here
instantiation of "OutputIterator thrust::system::cuda::detail::copy_if(thrust::system::cuda::detail::execution_policy &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/usr/local/cuda/include/thrust/detail/copy_if.inl(60): here
instantiation of "OutputIterator thrust::copy_if(const thrust::detail::execution_policy_base &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/tmp/luarocks_cutorch-scm-1-4310/cutorch/lib/THC/generic/THCTensorMath.cu(313): here
/usr/local/cuda/include/thrust/detail/reference.inl(98): error: no default constructor exists for class "thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>"
detected during:
instantiation of "thrust::reference<Element, Pointer, Derived>::operator thrust::reference<Element, Pointer, Derived>::value_type() const [with Element=signed long, Pointer=thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>, Derived=thrust::use_default]"
/usr/local/cuda/include/thrust/system/cuda/detail/bulk/algorithm/scan.hpp(514): here
instantiation of "RandomAccessIterator2 thrust::system::cuda::detail::bulk_::inclusive_scan(thrust::system::cuda::detail::bulk_::concurrent_group<thrust::system::cuda::detail::bulk_::agent, size> &, RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, BinaryFunction) [with size=512UL, grainsize=3UL, RandomAccessIterator1=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, RandomAccessIterator2=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, BinaryFunction=thrust::plus]"
/usr/local/cuda/include/thrust/system/cuda/detail/scan.inl(55): here
instantiation of "void thrust::system::cuda::detail::scan_detail::inclusive_scan_n::operator()(ConcurrentGroup &, InputIterator, Size, OutputIterator, BinaryFunction) [with ConcurrentGroup=thrust::system::cuda::detail::bulk_::concurrent_group<thrust::system::cuda::detail::bulk_::agent<3UL>, 512UL>, InputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, Size=signed long, OutputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, BinaryFunction=thrust::plus]"
/usr/local/cuda/include/thrust/system/cuda/detail/bulk/detail/apply_from_tuple.hpp(83): here
instantiation of "void thrust::system::cuda::detail::bulk_::detail::apply_from_tuple(Function, const thrust::tuple<Arg1, Arg2, Arg3, Arg4, Arg5, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type> &) [with Function=thrust::system::cuda::detail::scan_detail::inclusive_scan_n, Arg1=thrust::system::cuda::detail::bulk_::concurrent_group<thrust::system::cuda::detail::bulk_::agent<3UL>, 512UL> &, Arg2=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, Arg3=signed long, Arg4=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, Arg5=thrust::plus]"
/usr/local/cuda/include/thrust/system/cuda/detail/bulk/detail/closure.hpp(50): here
instantiation of "void thrust::system::cuda::detail::bulk_::detail::closure<Function, Tuple>::operator()() [with Function=thrust::system::cuda::detail::scan_detail::inclusive_scan_n, Tuple=thrust::tuple<thrust::system::cuda::detail::bulk_::concurrent_group<thrust::system::cuda::detail::bulk_::agent<3UL>, 512UL> &, thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, signed long, thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, thrust::plus, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type, thrust::null_type>]"
/usr/local/cuda/include/thrust/system/cuda/detail/bulk/detail/cuda_task.hpp(58): here
[ 11 instantiation contexts not shown ]
instantiation of "OutputIterator thrust::system::cuda::detail::inclusive_scan(thrust::system::cuda::detail::execution_policy &, InputIterator, InputIterator, OutputIterator, AssociativeOperator) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, OutputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, AssociativeOperator=thrust::plus]"
/usr/local/cuda/include/thrust/detail/scan.inl(63): here
instantiation of "OutputIterator thrust::inclusive_scan(const thrust::detail::execution_policy_base &, InputIterator, InputIterator, OutputIterator, AssociativeOperator) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, OutputIterator=thrust::detail::normal_iterator<thrust::pointer<signed long, thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, thrust::use_default, thrust::use_default>>, AssociativeOperator=thrust::plus]"
/usr/local/cuda/include/thrust/system/cuda/detail/copy_if.inl(204): here
instantiation of "OutputIterator thrust::system::cuda::detail::copy_if_detail::copy_if(thrust::system::cuda::detail::execution_policy &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/usr/local/cuda/include/thrust/system/cuda/detail/copy_if.inl(251): here
instantiation of "OutputIterator thrust::system::cuda::detail::copy_if(thrust::system::cuda::detail::execution_policy &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/usr/local/cuda/include/thrust/detail/copy_if.inl(60): here
instantiation of "OutputIterator thrust::copy_if(const thrust::detail::execution_policy_base &, InputIterator1, InputIterator1, InputIterator2, OutputIterator, Predicate) [with DerivedPolicy=thrust::detail::execute_with_allocator<THCThrustAllocator, thrust::system::cuda::detail::execute_on_stream_base>, InputIterator1=thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, InputIterator2=thrust::device_ptr, OutputIterator=thrust::permutation_iterator<thrust::device_ptr, thrust::transform_iterator<strided_range<thrust::device_ptr>::stride_functor, thrust::counting_iterator<long, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>>, Predicate=NonZeroOp]"
/tmp/luarocks_cutorch-scm-1-4310/cutorch/lib/THC/generic/THCTensorMath.cu(313): here
2 errors detected in the compilation of "/tmp/tmpxft_00000e56_00000000-17_THCTensorMath.compute_61.cpp1.ii".
CMake Error at THC_generated_THCTensorMath.cu.o.cmake:264 (message):
Error generating file
/tmp/luarocks_cutorch-scm-1-4310/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/./THC_generated_THCTensorMath.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sorry about long log message, I don't know where is the key text.
environments:
GTX 1080 *2
Ubuntu 14.04
Cuda 8.0.61
GCC 4.8.4
I've tried,
which part did I miss? I've searched a lot for this issue, haven't got an answer.
The text was updated successfully, but these errors were encountered: