maaars / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

cudpp_1.1 does not compile with CUDA 2.3 in Debian #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile cutil (succeeds)
2. compile cudpp

What is the expected output? What do you see instead?
I expect cudpp to compile succesfully. Instead i get:

gauguin:/raid/filipe/cudpp_1.1/cudpp> make verbose=1
nvcc  -o obj/release/segmented_scan_app.cu_o -c src/app/
segmented_scan_app.cu --host-compilation=C --compiler-options -fno-strict-
aliasing   -I./ -I./include/ -Isrc/ -Isrc/app/ -Isrc/kernel/ -Isrc/cta/ -
I. -I/opt/cuda/include -I./../common/inc -DUNIX -O 
In file included from /tmp/
tmpxft_00004836_00000000-1_segmented_scan_app.cudafe1.stub.c:6,
                 from src/app/segmented_scan_app.cu:247:
/opt/cuda/bin/../include/crt/host_runtime.h:178: warning: 'struct 
surfaceReference' declared inside parameter list
/opt/cuda/bin/../include/crt/host_runtime.h:178: warning: its scope is 
only this definition or declaration, which is probably not what you want
In file included from src/app/segmented_scan_app.cu:247:
/tmp/tmpxft_00004836_00000000-1_segmented_scan_app.cudafe1.stub.c: In 
function 
'__sti____cudaRegisterAll_53_tmpxft_00004836_00000000_4_segmented_scan_app_cpp1_
ii_999fefc3':
/tmp/tmpxft_00004836_00000000-1_segmented_scan_app.cudafe1.stub.c:11623: 
error: '__fatDeviceText' undeclared (first use in this function)
/tmp/tmpxft_00004836_00000000-1_segmented_scan_app.cudafe1.stub.c:11623: 
error: (Each undeclared identifier is reported only once
/tmp/tmpxft_00004836_00000000-1_segmented_scan_app.cudafe1.stub.c:11623: 
error: for each function it appears in.)
make: *** [obj/release/segmented_scan_app.cu_o] Error 255

What version of the product are you using? On what operating system?
cudpp 1.1 with CUDA 2.3 on Debian sid with both gcc 4.3 and 4.1.

Please provide any additional information below.

I tried compile with emu=1 and this did work. I also tried dbg=1 but this 
didn't seem to make any difference. This might well be a CUDA bug and not 
cudpp's fault.

Original issue reported on code.google.com by filipe.c...@gmail.com on 27 Sep 2009 at 7:13

GoogleCodeExporter commented 8 years ago
I figured out the problem. 
I was running out of space on the /tmp directory without noticing. nvcc is not 
exactly very verbose about it. Anyway after getting the space cudpp compiles 
fine. 
You can close the bug.

Original comment by filipe.c...@gmail.com on 27 Sep 2009 at 7:50

GoogleCodeExporter commented 8 years ago

Original comment by harr...@gmail.com on 28 Sep 2009 at 12:37