-
Notifications
You must be signed in to change notification settings - Fork 120
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
Compile fail with Thrust 1.5 #6
Comments
Hello George ! Regards, |
Thanks Anton, that works. But I need remove cucpp.o from Makefile and add -lcudpp link flag. |
Thanks, I updated the Makefile. |
i also meet this error tried to extract the thrust zipfile to alenka directory but still error |
Simply go to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include |
installed,but some error happen when loading E:\Alenka-master>alenka.exe load_customer.sql and then occur a dialog box that: alenka has been stopped working i tracked it and seems error happen in calling pfor_compress |
Do you actually have customer.tbl file with data in alenka's directory ? |
i do use dbgen to generate 1G file and put them in alenka's directory, since the output includes:"LOADING customer.tbl |" so i think it can be read ,and error happens when calling thrust::device_ptr s((int_type*)source); |
Well, if you compiled Alenka successfully there shouldn't be a problem. |
nvcc: NVIDIA (R) Cuda compiler driver GPU: geforce 9600 gso memory is about 200M |
Where are you guys get these cards, this thing must be 10 years old. Ok, so your card doesn't support -arch=sm_20. |
i changed my device to gtx580 and it works.... E:\Alenka-master>alenka.exe q1.sql |
Looks fine, might wanna check the results in mytest.txt |
how to debugging the project on windows if i want to view some variables' status? |
printf or cout, it's your choice. |
hi im having a hard time compiling alenka for latest ubuntu with no success so far, can you send a linux binary to my email? miltonyukio2@gmail.com thanks |
when compiling cudpp_src_2.0 it generates libcudpp.so but the make file asks for a -libcudpp |
Im compiling cudpp_src_2.0 as a static library , should i compile as share ( dynamic ) ? |
i think i made some progress , but now im getting the error: |
should complie cudpp in this way: |
thanks your instructions are alright but they are for windows. .lib are libs for windows. |
It should be the same on Linux and Windows, as long as you have libraries libcudpp_hash64.a and libcudpp64.a |
when I send the command: I have put libcudpp.a and libcudpp_hash.a in all possible directories name it: |
It seems I made a improvement again. Linux is so full of tiny rules that if you dont follow all of them the whole thing just doesnt work. In windows you can rename the lib files to the ones you have described in makefile in linux you have to make soft links to the libs using command ln. and a lot of similar errors more. |
I haven't seen these errors before. Probably has something to do with the On Sat, Apr 27, 2013 at 3:17 PM, miltonyukio notifications@github.comwrote:
|
what linux distribution did you use when compiling ? |
get the following error when compile on Mac OS X:
Alenka]$ make
/usr/local/cuda/bin/nvcc -O3 -arch=sm_20 -m64 -I/usr/local/boost_1_53_0 -c bison.cu
fl.l(34): warning: statement is unreachable
fl.l(35): warning: statement is unreachable
..
lex.yy.c(804): warning: label "find_rule" was declared but never referenced
lex.yy.c(1558): warning: statement is unreachable
bison.y(824): error: no instance of function template "thrust::stable_partition" matches the argument list
argument types are: (thrust::detail::normal_iterator<thrust::device_ptr>, thrust::detail::normal_iterator<thrust::device_ptr>, thrust::device_ptr<__nv_bool>, thrust::identity)
bison.y(825): error: no instance of function template "thrust::stable_partition" matches the argument list
argument types are: (thrust::detail::normal_iterator<thrust::device_ptr>, thrust::detail::normal_iterator<thrust::device_ptr>, thrust::device_ptr<__nv_bool>, thrust::identity)
2 errors detected in the compilation of "/tmp/tmpxft_000004f6_00000000-6_bison.cpp1.ii".
make: *** [bison.o] Error 2
I am using CUDA5.0 bundled thrust library:
$ grep 100503 /usr/local/cuda/include/thrust/version.h
define THRUST_VERSION 100503
regards,
George
The text was updated successfully, but these errors were encountered: