Not able to compile with nvcc?

The CUDA SDK examples use a custom makefile based on rules defined in a common. Mk file. In order to compile individually the examples you can make use of that Makefiles which can be tuning to add more dependencies or extra info.

Up vote 0 down vote favorite share g+ share fb share tw.

I've installed CUDA on debian,i've successfully ran make file in C folder withing cuda folder. But whn i'm trying to run individual file like matMult. Cu with nvcc i'm getting following error error:matrixMult.

Cu:no such file or directory error:cutil_inline:no such file or directory n also it is complaining about other header files...please help me out cuda nvcc link|improve this question asked Nov 3 '11 at 13:58user9977041386 39% accept rate.

The CUDA SDK examples use a custom makefile based on rules defined in a common. Mk file. In order to compile individually the examples you can make use of that Makefiles which can be tuning to add more dependencies or extra info.

To compile the matrixMul example by hand using the nvcc compiler, for an architecture of 64 bits and a Fermi device you can use: g++ -Wall -m64 -fno-strict-aliasing -I. -I/usr/local/cuda/include -I../../common/inc -I../../../shared//inc -DUNIX -O2 -o obj/x86_64/release/matrixMul_gold.cpp. O -c matrixMul_gold.

Cpp /usr/local/cuda/bin/nvcc -gencode=arch=compute_20,code=\"sm_20,compute_20\" -m64 --compiler-options -fno-strict-aliasing -I. -I/usr/local/cuda/include -I../../common/inc -I../../../shared//inc -DUNIX -O2 -o obj/x86_64/release/matrixMul.cu. O -c matrixMul.

Cu g++ -m64 -o ../../bin/linux/release/matrixMul obj/x86_64/release/matrixMul_gold.cpp. O obj/x86_64/release/matrixMul.cu. O -L/usr/local/cuda/lib64 -L../../lib -L../../common/lib/linux -L../../../shared//lib -lcudart -L/usr/local/cuda/lib64 -L../../lib -L../../common/lib/linux -L../../../shared//lib -lcudart -lcutil_x86_64 -lshrutil_x86_64 Compile the CUDA SDK examples by hand it's a little weary.

I recommend you use the makefile of each example or start a new project from the scratch.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions