Closed pinkstondevin closed 10 years ago
Which version of gcc do you have ?
On Tue, Nov 12, 2013 at 9:48 PM, pinkstondevin notifications@github.comwrote:
I am hitting error while trying to make Alenka on my local machine, and I am not able to see exactly why. I cmake Cudpp 2.0 and copy the lib folder into Alenka with the moderngpu, then when I try to Make i hit the following. I have uninstalled and reinstalled cuda, nvidia drivers and others but keep hitting the same error. Any idea what I might be doing wrong?
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c bison.cu fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(1092): error: namespace "std" has no member "to_string"
bison.y(1108): error: namespace "std" has no member "to_string"
bison.y(2344): error: namespace "std" has no member "to_string"
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
3 errors detected in the compilation of "/tmp/tmpxft_0000159e_00000000-6_bison.cpp1.ii". make: *\ [bison.o] Error 2
— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/issues/47 .
I am running 4.6.3
Does that pose any problems?
gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I updated my gcc to 4.8.1 to see if that would correct the problem, but i still receive the same compiler errors.
Thanks!
Ok, I think it is fixed and should work even with the old versions of gcc . Please get it from github.
Best regards
Anton
On Wed, Nov 13, 2013 at 4:08 PM, pinkstondevin notifications@github.comwrote:
I updated my gcc to 4.8.1 to see if that would correct the problem, but i still receive the same compiler errors.
Thanks!
— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/issues/47#issuecomment-28392537 .
Thanks for the update. It definitely corrected some things, the compile took much longer but is throwing some of the same & some new/different errors. Thanks for your help!
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c bison.cu fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
bison.y: In function ‘void emit_loadbinary(char, char_, int)’: b
ison.y:2351:38: warning: ignoring return value of ‘sizet fread(void, size_t, sizet, FILE)’, declared with attribute warn_unusedresult [-Wunused-result]
fread((char )&totalRecs, 8, 1, ff);
^
bison.y:2352:37: warning: ignoring return value of ‘sizet fread(void, size_t, sizet, FILE)’, declared with attribute warn_unused_result [-Wunused-result]
fread((char )&segCount, 4, 1, ff);
^
bison.y:2353:36: warning: ignoring return value of ‘sizet fread(void, size_t, size_t, FILE)’, declared with attribute warn_unused_result [-Wunused-result]
fread((char )&maxRecs, 4, 1, ff);
^
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c merge.cu
/usr/local/cuda/bin/..//include/thrust/detail/allocator/allocator_traits.inl(136): warning: calling a host function from a host device function is not allowed
detected during:
instantiation of "thrust::detail::enable_if<thrust::detail::allocator_traits_detail::has_member_destroy<Alloc, T>::value, void>::type thrust::detail::allocator_traits_detail::destroy(Alloc &, T ) [with Alloc=uninitialized_host_allocator
/usr/local/cuda/bin/..//include/thrust/detail/allocator/allocator_traits.inl(136): warning: calling a host function from a host device function is not allowed
detected during:
instantiation of "thrust::detail::enable_if<thrust::detail::allocator_traits_detail::has_member_destroy<Alloc, T>::value, void>::type thrust::detail::allocator_traits_detail::destroy(Alloc &, T ) [with Alloc=uninitialized_host_allocator
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c MurmurHash2_64.cu /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c filter.cu /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c strings_filter.cu strings_filter.cu(105): error: no instance of overloaded function "T_unroll_functor<unroll_count, T_functor>::operator() [with unroll_count=40U, T_functor=T_str_merge_by_key1]" matches the argument list argument types are: (long long , char , char , char , size_t, size_t, unsigned int) object type is: T_unroll_functor<40U, T_str_merge_by_key1>
1 error detected in the compilation of "/tmp/tmpxft_0000135f_00000000-6_strings_filter.cpp1.ii". make: *\ [strings_filter.o] Error 2
Ok, it is fixed now.
On Wed, Nov 13, 2013 at 5:15 PM, pinkstondevin notifications@github.comwrote:
Thanks for the update. It definitely corrected some things, the compile took much longer but is throwing some of the same & some new/different errors. Thanks for your help!
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c bison.cu fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
bison.y: In function ‘void emit_loadbinary(char, char_, int)’: b
ison.y:2351:38: warning: ignoring return value of ‘sizet fread(void, size_t, sizet, FILE)’, declared with attribute warn_unused_result [-Wunused-result] fread((char
_)&totalRecs, 8, 1, ff); ^ bison.y:2352:37: warning: ignoring return value of ‘sizet fread(void, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread((char
_)&segCount, 4, 1, ff); ^ bison.y:2353:36: warning: ignoring return value of ‘sizet fread(void, size_t, sizet, FILE)’, declared with attribute warn_unused_result [-Wunused-result] fread((char )&maxRecs, 4, 1, ff); ^ /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c merge.cu /usr/local/cuda/bin/..//include/thrust/detail/allocator/allocator_traits.inl(136): warning: calling a host_ function from a host device function is not allowed detected during: instantiation of "thrust::detail::enable_if::value, void>::type thrust::detail::allocator_traits_detail::destroy(Alloc &, T ) [with Alloc=uninitialized_host_allocator, T=int_type]" (265): here instantiation of "void thrust::detail::allocator_traits::destroy(thrust::detail::allocator_traits::allocator_type &, T ) [with Alloc=uninitialized_host_allocator, T=int_type]" /usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(103): here instantiation of "void thrust::detail::allocator_traits_detail::destroy_via_allocator::operator()(T &) [with Allocator=uninitialized_host_allocator, T=int_type]" /usr/local/cuda/bin/..//include/thrust/detail/function.h(47): here instantiation of "Result thrust::detail::host_function::operator()(Argument &) const [with Function=thrust::detail::allocator_traits_detail::destroy_via_allocator>, Result=void, Argument=int_type]" /usr/local/cuda/bin/..//include/thrust/system/detail/internal/scalar/for_each.h(75): here instantiation of "InputIterator thrust::system::detail::internal::scalar::for_each_n(InputIterator, Size, UnaryFunction) [with InputIterator=int_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/system/cpp/detail/for_each.h(53): here instantiation of "InputIterator thrust::system::cpp::detail::for_each_n(thrust::system::cpp::detail::execution_policy &, InputIterator, Size, UnaryFunction) [with DerivedPolicy=thrust::system::cpp::detail::tag, InputIterator=int_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/detail/for_each.inl(69): here instantiation of "InputIterator thrust::for_each_n(const thrust::detail::execution_policy_base &, InputIterator, Size, UnaryFunction) [with DerivedPolicy=thrust::system::cpp::detail::tag, InputIterator=int_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(113): here instantiation of "thrust::detail::allocator_traits_detail::enable_if_destroy_range_case1::type thrust::detail::allocator_traits_detail::destroy_range(Allocator &, Pointer, Size) [with Allocator=uninitialized_host_allocator, Pointer=int_type , Size=long]" /usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(152): here instantiation of "void thrust::detail::destroy_range(Allocator &, Pointer, Size) [with Allocator=uninitialized_host_allocator, Pointer=int_type , Size=long]" /usr/local/cuda/bin/..//include/thrust/detail/contiguous_storage.inl(233): here instantiation of "void thrust::detail::contiguous_storage::destroy(thrust::detail::contiguous_storage::iterator, thrust::detail::contiguous_storage::iterator) [with T=int_type, Alloc=uninitialized_host_allocator]" /usr/local/cuda/bin/..//include/thrust/detail/vector_base.inl(474): here instantiation of "thrust::detail::vector_base::~vector_base() [with T=int_type, Alloc=uninitialized_host_allocator]" /usr/local/cuda/bin/..//include/thrust/host_vector.h(52): here
/usr/local/cuda/bin/..//include/thrust/detail/allocator/allocator_traits.inl(136): warning: calling a host function from a host device function is not allowed detected during: instantiation of "thrust::detail::enable_if::value, void>::type thrust::detail::allocator_traits_detail::destroy(Alloc &, T ) [with Alloc=uninitialized_host_allocator, T=float_type]" (265): here instantiation of "void thrust::detail::allocator_traits::destroy(thrust::detail::allocator_traits::allocator_type &, T ) [with Alloc=uninitialized_host_allocator, T=float_type]" /usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(103): here instantiation of "void thrust::detail::allocator_traits_detail::destroy_via_allocator::operator()(T &) [with Allocator=uninitialized_host_allocator, T=float_type]" /usr/local/cuda/bin/..//include/thrust/detail/function.h(47): here instantiation of "Result thrust::detail::host_function::operator()(Argument &) const [with Function=thrust::detail::allocator_traits_detail::destroy_via_allocator>, Result=void, Argument=float_type]" /usr/local/cuda/bin/..//include/thrust/system/detail/internal/scalar/for_each.h(75): here instantiation of "InputIterator thrust::system::detail::internal::scalar::for_each_n(InputIterator, Size, UnaryFunction) [with InputIterator=float_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/system/cpp/detail/for_each.h(53): here instantiation of "InputIterator thrust::system::cpp::detail::for_each_n(thrust::system::cpp::detail::execution_policy &, InputIterator, Size, UnaryFunction) [with DerivedPolicy=thrust::system::cpp::detail::tag, InputIterator=float_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/detail/for_each.inl(69): here instantiation of "InputIterator thrust::for_each_n(const thrust::detail::execution_policy_base &, InputIterator, Size, UnaryFunction) [with DerivedPolicy=thrust::system::cpp::detail::tag, InputIterator=float_type *, Size=long, UnaryFunction=thrust::detail::allocator_traits_detail::destroy_via_allocator>]"
/usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(113): here instantiation of "thrust::detail::allocator_traits_detail::enable_if_destroy_range_case1::type thrust::detail::allocator_traits_detail::destroy_range(Allocator &, Pointer, Size) [with Allocator=uninitialized_host_allocator, Pointer=float_type , Size=long]" /usr/local/cuda/bin/..//include/thrust/detail/allocator/destroy_range.inl(152): here instantiation of "void thrust::detail::destroy_range(Allocator &, Pointer, Size) [with Allocator=uninitialized_host_allocator, Pointer=float_type , Size=long]" /usr/local/cuda/bin/..//include/thrust/detail/contiguous_storage.inl(233): here instantiation of "void thrust::detail::contiguous_storage::destroy(thrust::detail::contiguous_storage::iterator, thrust::detail::contiguous_storage::iterator) [with T=float_type, Alloc=uninitialized_host_allocator]" /usr/local/cuda/bin/..//include/thrust/detail/vector_base.inl(474): here instantiation of "thrust::detail::vector_base::~vector_base() [with T=float_type, Alloc=uninitialized_host_allocator]" /usr/local/cuda/bin/..//include/thrust/host_vector.h(52): here
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c MurmurHash2_64.cu /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c filter.cu /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c strings_filter.cu strings_filter.cu(105): error: no instance of overloaded function "T_unroll_functor::operator() [with unroll_count=40U, T_functor=T_str_merge_by_key1]" matches the argument list argument types are: (long long , char , char , char , size_t, size_t, unsigned int) object type is: T_unroll_functor
1 error detected in the compilation of "/tmp/tmpxft_0000135f_00000000-6_strings_filter.cpp1.ii". make: *\ [strings_filter.o] Error 2
— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/issues/47#issuecomment-28397096 .
Thanks Anton!
It is much better now, still only 1 error.
Alenka-master$ make /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c strings_filter.cu strings_filter.cu(105): error: no instance of overloaded function "T_unroll_functor<unroll_count, T_functor>::operator() [with unroll_count=40U, T_functor=T_str_merge_by_key1]" matches the argument list argument types are: (long long , char , char , char , size_t, size_t, unsigned int) object type is: T_unroll_functor<40U, T_str_merge_by_key1>
1 error detected in the compilation of "/tmp/tmpxft_00001431_00000000-6_strings_filter.cpp1.ii". make: *\ [strings_filter.o] Error 2
Did you get a latest file strings_type.h ? It is supposed to fix this problem.
On Wed, Nov 13, 2013 at 6:15 PM, pinkstondevin notifications@github.comwrote:
Thanks Anton!
It is much better now, still only 1 error.
Alenka-master$ make
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c strings_filter.cu strings_filter.cu(105): error: no instance of overloaded function "T_unroll_functor::operator() [with unroll_count=40U, T_functor=T_str_merge_by_key1]" matches the argument list argument types are: (long long , char , char , char , size_t, size_t, unsigned int) object type is: T_unroll_functor
1 error detected in the compilation of "/tmp/tmpxft_00001431_00000000-6_strings_filter.cpp1.ii". make: *\ [strings_filter.o] Error 2
— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/issues/47#issuecomment-28402353 .
Anton,
Yes I did. I just re-downloaded from GIT to make sure. I am receiving this error on trying to perform a make:
make /usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c strings_filter.cu strings_filter.cu(105): error: no instance of overloaded function "T_unroll_functor<unroll_count, T_functor>::operator() [with unroll_count=40U, T_functor=T_str_merge_by_key1]" matches the argument list argument types are: (long long , char , char , char , size_t, size_t, unsigned int) object type is: T_unroll_functor<40U, T_str_merge_by_key1>
1 error detected in the compilation of "/tmp/tmpxft_000015d5_00000000-6_strings_filter.cpp1.ii". make: *\ [strings_filter.o] Error 2
I rebooted and pulled again, looks like it adjusted itself. On performing a Make now:
cm.cu(2726): error: no operator "=" matches these operands operand types are: std::_Rb_tree_iterator<std::pair<const unsigned int, unsigned long long>> = std::_Rb_tree_iterator<std::pair<const unsigned int, size_t>>
cm.cu(2726): error: no operator "!=" matches these operands operand types are: std::_Rb_tree_iterator<std::pair<const unsigned int, unsigned long long>> != std::_Rb_tree_iterator<std::pair<const unsigned int, size_t>>
2 errors detected in the compilation of "/tmp/tmpxft_00001d50_00000000-6_cm.cpp1.ii". make: *\ [cm.o] Error 2
Check it now, hopefully it should compile with gcc.
Thank you very much Anton. Looks like those fixes should do the trick. Now I am just working to compile the CUDPP lib in 64 instead of 32, for some reason it continues to just build libcudpp.so and libcudpp_hash.so instead of 64 versions. I will update with any progress. Thanks!
Have you seen this before?
make /usr/local/cuda/bin/nvcc -O3 -arch=sm_20 -lcuda -lcudpp64 -lcudpp_hash64 -o alenka bison.o merge.o \ MurmurHash2_64.o filter.o \ strings_filter.o strings_join.o strings_sort_host.o strings_sort_device.o \ select.o zone_map.o \ atof.o cm.o mgpucontext.o format.o /usr/bin/ld: cannot find -lcudpp64 /usr/bin/ld: cannot find -lcudpp_hash64 collect2: error: ld returned 1 exit status make: *\ [alenka] Error 1
It means that you don't have cudpp libraries built. You need to build the libraries and place them into alenka source code directory.
Anton,
That's where I am a bit lost. I have compiled the CUDPP libraries and copied them into the Alenka source directory. So I have in the Alenka Directory:
Alenka-Master/libcudpp.a Alenka-master/libcudpp_hash.a
What is throwing me off is that they do not have 64 at the end, is that incorrect? If so, I have been searching high and low for how to compile in 64.
thanks for your help.
It should generate 64bit libraries by default on a 64 bit architecture. You can modify alenka Makefile, replacing MurmurHash2_64.o to MurmurHash2.o, see if it works.
Anton
On Thu, Nov 14, 2013 at 8:05 PM, pinkstondevin notifications@github.comwrote:
Anton,
That's where I am a bit lost. I have compiled the CUDPP libraries and copied them into the Alenka source directory. So I have in the Alenka Directory:
Alenka-Master/libcudpp.a Alenka-master/libcudpp_hash.a
What is throwing me off is that they do not have 64 at the end, is that incorrect? If so, I have been searching high and low for how to compile in 64.
thanks for your help.
— Reply to this email directly or view it on GitHubhttps://github.com/antonmks/Alenka/issues/47#issuecomment-28501997 .
Anton,
I had modified the Makefile and changed the -lcudpp64 and just removed 64 from it. I also copied those two libs to the /usr/lib directory and was able to get it working. thanks for all of your help!
I am hitting error while trying to make Alenka on my local machine, and I am not able to see exactly why. I cmake Cudpp 2.0 and copy the lib folder into Alenka with the moderngpu, then when I try to Make i hit the following. I have uninstalled and reinstalled cuda, nvidia drivers and others but keep hitting the same error. Any idea what I might be doing wrong?
/usr/local/cuda/bin/nvcc --machine 64 -O3 -arch=sm_20 -c bison.cu fl.l(35): warning: statement is unreachable
fl.l(36): warning: statement is unreachable
fl.l(37): warning: statement is unreachable
fl.l(38): warning: statement is unreachable
fl.l(39): warning: statement is unreachable
fl.l(40): warning: statement is unreachable
fl.l(41): warning: statement is unreachable
fl.l(42): warning: statement is unreachable
fl.l(43): warning: statement is unreachable
fl.l(44): warning: statement is unreachable
fl.l(45): warning: statement is unreachable
fl.l(46): warning: statement is unreachable
fl.l(47): warning: statement is unreachable
fl.l(48): warning: statement is unreachable
fl.l(49): warning: statement is unreachable
fl.l(50): warning: statement is unreachable
fl.l(51): warning: statement is unreachable
fl.l(52): warning: statement is unreachable
fl.l(53): warning: statement is unreachable
fl.l(54): warning: statement is unreachable
fl.l(55): warning: statement is unreachable
fl.l(56): warning: statement is unreachable
fl.l(57): warning: statement is unreachable
fl.l(58): warning: statement is unreachable
fl.l(59): warning: statement is unreachable
fl.l(60): warning: statement is unreachable
fl.l(61): warning: statement is unreachable
fl.l(62): warning: statement is unreachable
fl.l(63): warning: statement is unreachable
fl.l(64): warning: statement is unreachable
fl.l(65): warning: statement is unreachable
fl.l(66): warning: statement is unreachable
fl.l(67): warning: statement is unreachable
fl.l(70): warning: statement is unreachable
fl.l(75): warning: statement is unreachable
fl.l(77): warning: statement is unreachable
fl.l(78): warning: statement is unreachable
fl.l(79): warning: statement is unreachable
fl.l(81): warning: statement is unreachable
fl.l(82): warning: statement is unreachable
fl.l(83): warning: statement is unreachable
fl.l(86): warning: statement is unreachable
fl.l(87): warning: statement is unreachable
fl.l(88): warning: statement is unreachable
fl.l(89): warning: statement is unreachable
fl.l(90): warning: statement is unreachable
fl.l(91): warning: statement is unreachable
fl.l(92): warning: statement is unreachable
fl.l(93): warning: statement is unreachable
fl.l(94): warning: statement is unreachable
fl.l(95): warning: statement is unreachable
fl.l(96): warning: statement is unreachable
fl.l(98): warning: statement is unreachable
fl.l(101): warning: statement is unreachable
fl.l(103): warning: statement is unreachable
fl.l(104): warning: statement is unreachable
fl.l(105): warning: statement is unreachable
lex.yy.c(828): warning: label "find_rule" was declared but never referenced
lex.yy.c(1607): warning: statement is unreachable
bison.y(1092): error: namespace "std" has no member "to_string"
bison.y(1108): error: namespace "std" has no member "to_string"
bison.y(2344): error: namespace "std" has no member "to_string"
bison.y(2351): warning: result of call is not used
bison.y(2352): warning: result of call is not used
bison.y(2353): warning: result of call is not used
3 errors detected in the compilation of "/tmp/tmpxft_0000159e_00000000-6_bison.cpp1.ii". make: *\ [bison.o] Error 2