mmizzle9 / cudpp

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

cudpp1.1.1 with cuda3.1 on ubuntu9.10 ../cudpp/make takes a long long time #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.download and install cuda 3.1 (first the driver-> toolkit ->sdk) on ubuntu 
9.10
2.compile sdk
3.download cudpp1.1.1 and place in /usr/local/cudpp (cuda is in /usr/local/cuda 
and sdk is in /usr/local/cuda/sdk)
4. go to /usr/local/cudpp/common/ and type make and then enter libcutil.a is 
successfully formed.
5. go to ../cudpp as suggested on (http://vietnamen.org/forcu/?p=1400&lang=en) 
and then type make again and press enter

What is the expected output? What do you see instead?

The command prompt never returns from this make when the expected output is 
that cudpp should be compiled in some time. NO response at all comes out of 
make.

I find it very strange, please suggest what i have done wrong in these steps? 
(by the way i also changed the /lb to /lib64 in the common.mk files in cudpp 
since  i have a 64 bit system)

My sdk works fine and i can also compile and run cuda programs successfully.

Please help me out.

regards and thanks in advance

rohit

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by itabhiya...@gmail.com on 13 Sep 2010 at 12:48

GoogleCodeExporter commented 8 years ago
it finally compiled after 15-20 minutes.

but when i included cudpp.h in my project i got the following errors
gcc -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses 
-Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type 
-Wno-unused-function  -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Wmain -fno-strict-aliasing -msse3 
-funroll-all-loops -mfpmath=sse -ffast-math -fomit-frame-pointer 
-fdump-tree-vect -ftree-vectorizer-verbose=3 -I. -I./inc 
-I/usr/local/cuda/include -I/usr/local/cuda/sdk/C/common/linux/inc -DUNIX 
-D_GLIBCXX_GCC_GTHR_POSIX_H  -O3 -DDEBUG=0  -o helpers.c_o -c helpers.c 
In file included from mussel_ibm.h:13,
                 from helpers.c:1:

/usr/local/cudpp/cudpp/include/cudpp.h:409: error: expected 
specifier-qualifier-list before ‘CUDPPAlgorithm’
/usr/local/cudpp/cudpp/include/cudpp.h:440: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppPlan’
/usr/local/cudpp/cudpp/include/cudpp.h:447: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppDestroyPlan’
/usr/local/cudpp/cudpp/include/cudpp.h:452: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppScan’
/usr/local/cudpp/cudpp/include/cudpp.h:458: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppMultiScan’
/usr/local/cudpp/cudpp/include/cudpp.h:465: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSegmentedScan’
/usr/local/cudpp/cudpp/include/cudpp.h:472: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppCompact’
/usr/local/cudpp/cudpp/include/cudpp.h:480: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSort’
/usr/local/cudpp/cudpp/include/cudpp.h:489: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppSparseMatrix’
/usr/local/cudpp/cudpp/include/cudpp.h:498: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppDestroySparseMatrix’
/usr/local/cudpp/cudpp/include/cudpp.h:503: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before 
‘cudppSparseMatrixVectorMultiply’
/usr/local/cudpp/cudpp/include/cudpp.h:509: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppRand’
/usr/local/cudpp/cudpp/include/cudpp.h:512: error: expected ‘=’, ‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before ‘cudppRandSeed’
make: *** [helpers.c_o] Error 1

Original comment by itabhiya...@gmail.com on 13 Sep 2010 at 1:09

GoogleCodeExporter commented 8 years ago
The long compilation time is a known issue. If you want to see progress, use 
"make verbose=1". 

I'm not sure about the errors. Obviously, including cudpp.h works in our tests. 
Do the examples in the apps folder compile ok for you? 

If they do, then this problem is specific to your code.

Original comment by harr...@gmail.com on 13 Sep 2010 at 2:19

GoogleCodeExporter commented 8 years ago
I'm closing this as wontfix since it is a known problem.  If you are still 
having compilation errors, please file another issue report.

Original comment by harr...@gmail.com on 1 Jul 2011 at 5:20