Comments (26)
Hello George !
To compile Alenka you need to download and install Thrust 1.7.
You also need to download and build CUDPP - it is used for join operations (code.google.com/p/cudpp/)
Regards,
Anton
from alenka.
Thanks Anton, that works. But I need remove cucpp.o from Makefile and add -lcudpp link flag.
from alenka.
Thanks, I updated the Makefile.
from alenka.
i also meet this error
and i download the thrust 1.7 https://github.com/thrust/thrust and try to install it ,but still didn't work
how to install thrust 1.7 correctly?
tried to extract the thrust zipfile to alenka directory but still error
or put the thrust fold to repalce the thrust fold in the directory of C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include still error
from alenka.
Simply go to C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.0\include
and rename thrust to thrust.old and unzip the new version of thrust there.
from alenka.
installed,but some error happen when loading
E:\Alenka-master>alenka.exe load_customer.sql
Process count = 6200000
LOAD: C customer.tbl 3 |
STORE: C customer
LOADING customer.tbl |
and then occur a dialog box that: alenka has been stopped working
i tracked it and seems error happen in calling pfor_compress
line 468: thrust::device_ptr<int_type> s((int_type*)source);
from alenka.
Do you actually have customer.tbl file with data in alenka's directory ?
from alenka.
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);
is my thrust didn't install correctly? i do installed it by the way you told me
from alenka.
Well, if you compiled Alenka successfully there shouldn't be a problem.
Which version of CUDA do you have ? Which GPU do you use and how much memory it has ?
from alenka.
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2012 NVIDIA Corporation
Built on Tue_Sep_25_09:18:50_PDT_2012
Cuda compilation tools, release 5.0, V0.2.1221
GPU: geforce 9600 gso memory is about 200M
from alenka.
Where are you guys get these cards, this thing must be 10 years old. Ok, so your card doesn't support -arch=sm_20.
Your the only option is to compile it with -arch=sm_13. Oh, and the joins are not gonna work too because CUDPP requires Fermi architecture for atomic operations or something like that. Which means that you need GTX 400 or better.
from alenka.
i changed my device to gtx580 and it works....
execute q1 and the data is 1G
here is output ,i think it works.....
E:\Alenka-master>alenka.exe q1.sql
Process count = 6200000
BINARY LOAD: A lineitem
FILTER B A 1218834432
MAP CHECK R
filter is finished 5916591 1127477248
filter time 0.427 1205727232
SELECT D B
cycle 0 select mem 1157623808
final select 4
select time 0.189
STORE: D mytest.txt |
SQL scan parse worked
cycle time 0.687
from alenka.
Looks fine, might wanna check the results in mytest.txt
from alenka.
how to debugging the project on windows if i want to view some variables' status?
from alenka.
printf or cout, it's your choice.
from alenka.
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? [email protected] thanks
from alenka.
when compiling cudpp_src_2.0 it generates libcudpp.so but the make file asks for a -libcudpp
am i doing something wrong?
from alenka.
Im compiling cudpp_src_2.0 as a static library , should i compile as share ( dynamic ) ?
from alenka.
i think i made some progress , but now im getting the error:
/usr/bin/ld: cannot find -libcudpp_hash64
it loads -lcuda but when i try to find it with
find / =name 'lcuda*'
it shows me nothing
i have put libcudpp_hash64.a in all places but nothing works.
maybe my computer hd or memory have some liking problems?
from alenka.
should complie cudpp in this way:
http://henry2005.jimdo.com/2011/08/29/compile-cudpp-2-0/
and get two libraries created ,and put it the alenka directory
the two libraries are cudpp64d.lib and cudpp_hash64d.lib
from alenka.
thanks your instructions are alright but they are for windows. .lib are libs for windows.
for linux they are .so or .a
anyway i`ll keep trying a little more.
from alenka.
It should be the same on Linux and Windows, as long as you have libraries libcudpp_hash64.a and libcudpp64.a
it should link them. Make sure that you generate 64bit release version of CUDPP.
What is the exact error that you are getting ?
from alenka.
when I send the command:
objdump -f libcudpp.a | grep ^architecture
it shows:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
architecture: i386:x86-64, flags 0x00000011:
I have put libcudpp.a and libcudpp_hash.a in all possible directories name it:
/lib
/Alenka-master
/cudpp_src_2.0
/Alenka-master/lib
from alenka.
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.
But now I get some new errors:
In file included from /usr/local/cuda-5.0/bin/crt/link.stub:79:0:
/tmp/tmpxft_000011c7_00000000-1_alenka_dlink.reg.c:2:1: error: redefinition of ‘const unsigned char def_module_id_str__NV_MODULE_ID []’
and a lot of similar errors more.
from alenka.
I haven't seen these errors before. Probably has something to do with the
libraries.I compiled CUDPP on Linux using CMake, seems like it worked well.
I'm not sure what else to advise you, just try to compile the libraries so
you get 2 files : libcudpp64.a and libcudpp_hash64.a
On Sat, Apr 27, 2013 at 3:17 PM, miltonyukio [email protected]:
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.
But now I get some new errors:
In file included from /usr/local/cuda-5.0/bin/crt/link.stub:79:0:
/tmp/tmpxft_000011c7_00000000-1_alenka_dlink.reg.c:2:1: error:
redefinition of ‘const unsigned char def_module_id_str__NV_MODULE_ID []’and a lot of similar errors more.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-17115205
.
from alenka.
what linux distribution did you use when compiling ?
from alenka.
Related Issues (20)
- Device Errors HOT 5
- Loading error HOT 2
- Alenka unable to find a table HOT 1
- trivial_copy_n: an illegal memory access was encountered HOT 14
- Project license? HOT 2
- What is the syntax for appending data into a table? HOT 1
- Data partitioning architecture HOT 12
- OpenCL port HOT 4
- Compilation on Windows HOT 2
- Generic Interface for Storage Behavior Layout HOT 1
- Compilation time very long HOT 4
- Benchmarking HOT 3
- License? HOT 1
- Compile problem for strings_sort_device.cu HOT 4
- Is this project live? HOT 1
- Out of memory error HOT 3
- Compile problem HOT 1
- Hardware spec HOT 4
- Case sensitive columns HOT 1
- mgpu::cuda_exception_t "Invalid device function" exception HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alenka.