trouble with CUDA toolkit and Nvidia samples.

Hey all!

I am on Jetpack 3.1 with a TX2 that I can flash and clone (so I think my TX2 and JetPack 3,1 are correctly installed and working)

I was trying the tutorial here: GitHub - dusty-nv/jetson-inference: Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson., but got stuck with making the CUDA samples. I downloaded nvidia-384, but have been able to see anything from “lsmod | grep nvidia” also,

sudo make

returned the error below, which I have shortened for brevity.

make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/1_Utilities/bandwidthTest’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/1_Utilities/deviceQueryDrv’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/1_Utilities/deviceQueryDrv’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/1_Utilities/p2pBandwidthLatencyTest’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/1_Utilities/p2pBandwidthLatencyTest’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES_screen’

WARNING - simpleGLES_screen is not supported on Linux x86_64 - waiving sample <<<
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -DUSE_CUDAINTEROP -DGRAPHICS_SETUP_EGL -DUSE_GLES -DWIN_INTERFACE_CUSTOM -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES_screen.o -c simpleGLES_screen.cu
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES_screen simpleGLES_screen.o -lGLESv2 -lEGL -lscreen
[@] mkdir -p …/…/bin/x86_64/linux/release
[@] cp simpleGLES_screen …/…/bin/x86_64/linux/release
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES_screen’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES_EGLOutput’
WARNING - simpleGLES_EGLOutput is not supported on Linux x86_64 - waiving sample <<<
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -DUSE_CUDAINTEROP -DGRAPHICS_SETUP_EGL -DUSE_GLES -I/usr/include/libdrm -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES_EGLOutput.o -c simpleGLES_EGLOutput.cu
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES_EGLOutput simpleGLES_EGLOutput.o -lGLESv2 -lEGL -ldrm
[@] mkdir -p …/…/bin/x86_64/linux/release
[@] cp simpleGLES_EGLOutput …/…/bin/x86_64/linux/release
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES_EGLOutput’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/volumeRender’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/volumeRender’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/Mandelbrot’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/Mandelbrot’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/volumeFiltering’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/volumeFiltering’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES’
WARNING - simpleGLES is not supported on Linux x86_64 - waiving sample <<<
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -DUSE_CUDAINTEROP -DGRAPHICS_SETUP_EGL -DUSE_GLES -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES.o -c simpleGLES.cu
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleGLES simpleGLES.o -lGLESv2 -lEGL -lX11
[@] mkdir -p …/…/bin/x86_64/linux/release
[@] cp simpleGLES …/…/bin/x86_64/linux/release
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleGLES’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleTexture3D’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/2_Graphics/simpleTexture3D’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/2_Graphics/marchingCubes’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/3_Imaging/HSOpticalFlow’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/3_Imaging/EGLStreams_CUDA_Interop’
WARNING - EGLStreams_CUDA_Interop is not supported on Linux x86_64 - waiving sample <<<
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -o cuda_consumer.o -c cuda_consumer.cpp
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -o cuda_producer.o -c cuda_producer.cpp
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -o eglstrm_common.o -c eglstrm_common.cpp
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -o main.o -c main.cpp
[@] /usr/local/cuda-8.0/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_62,code=compute_62 -o EGLStreams_CUDA_Interop cuda_consumer.o cuda_producer.o eglstrm_common.o main.o -lEGL -lcuda
[@] mkdir -p …/…/bin/x86_64/linux/release
[@] cp EGLStreams_CUDA_Interop …/…/bin/x86_64/linux/release
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/3_Imaging/EGLStreams_CUDA_Interop’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/3_Imaging/imageDenoising’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/3_Imaging/imageDenoising’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/3_Imaging/simpleCUDA2GL’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/3_Imaging/dxtc’
make[1]: Entering directory ‘/usr/local/cuda-8.0/samples/3_Imaging/cudaDecodeGL’
/usr/local/cuda-8.0/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_20,code=compute_20 -o cudaDecodeGL FrameQueue.o ImageGL.o VideoDecoder.o VideoParser.o VideoSource.o cudaModuleMgr.o cudaProcessFrame.o videoDecodeGL.o -L/usr/lib/“nvidia-384” -lGL -lGLU -lX11 -lglut -lcuda -lcudart -lnvcuvid
nvcc warning : The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/bin/ld: warning: libnvidia-tls.so.384.111, needed by /usr/lib/nvidia-384/libGL.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvidia-glcore.so.384.111, needed by /usr/lib/nvidia-384/libGL.so, not found (try using -rpath or -rpath-link)
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv018tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv017glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv023tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv016glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv015tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv019tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv000glcore' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv017tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv013tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv018glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv024tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv022tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv007tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv009tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv020tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv014glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv015glcore' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv016tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv001glcore' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv024glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv008tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv006tls’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv021tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv023glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv011tls' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv020glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to _nv022glcore' /usr/lib/nvidia-384/libGL.so: undefined reference to _nv027glcore’
/usr/lib/nvidia-384/libGL.so: undefined reference to `_nv014tls’
collect2: error: ld returned 1 exit status
Makefile:381: recipe for target ‘cudaDecodeGL’ failed
make[1]: *** [cudaDecodeGL] Error 1
make[1]: Leaving directory ‘/usr/local/cuda-8.0/samples/3_Imaging/cudaDecodeGL’
Makefile:52: recipe for target ‘3_Imaging/cudaDecodeGL/Makefile.ph_build’ failed
make: *** [3_Imaging/cudaDecodeGL/Makefile.ph_build] Error 2

I have tried changing the “nvidia-xxx” to match “nvidia-384” for samples/3-Imaging/cudaDecodeGL/findgllib.mk but didnt fix the error.

I’m using a MacBook Pro 2014 with Ubuntu 16.04 native. Maybe it dosent have any Nvidia things inside?

When I see this it makes me think of desktop PC drivers:

...I downloaded nvidia-384...

EDIT: I see you are using the MacBook missed that my first time thorugh. Note that you must have an NVIDIA video card for that driver to be used.

JetPack will install drivers and other software, e.g., CUDA and the samples. The addition of a desktop PC video driver would apply only to the PC side…if this is on the Jetson then this will cause problems (the Jetson is a different CPU architecture and also wired directly to the memory controller…PCI bus versions won’t work even if architecture is valid).

More details on what you downloaded where (PC versus Jetson) might help. If this is on a PC then you might want to log in to the GUI and add the output of this to the thread (you might need to install package “mesa-utils”):

glxinfo | grep -i version

Hi,

If you want to run the CUDA sample on Jetson platform, driver is contained in the OS image.
You don’t need to install it manually. Instead, you can get all the requirement from JetPack.

Thanks.

But the instructions specifially mentioned to install them on the host platform and not the Jetson. SHould I abort downdloading and installing things on my host since I am without Nvidia hardware and interpret all “On the host” directions as “On Jetson TX2”?

During the installation Jetpack downloads packages to the memory of Host and then uploads them to ->> Jetson
In that context you should download first packages and install repos at HostOS However, that is done automatically by Jetpack.

hello , I am trying to install Tiny-DSOD on my host PC.i am following the link “Caffe | Installation”. It requires caffe with the GPU. I have NVIDIA 384.130 version driver. when i try to build the caffe using command "make all"with the NVIDIA driver it gives the error as follows;

intern@digitallab:~/NVIDIA_CUDA-8.0_Samples$ make all
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/asyncAPI’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/asyncAPI’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMul’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMul’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleVoteIntrinsics_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleVoteIntrinsics_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTextureDrv’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTextureDrv’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/clock_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/clock_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTexture’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTexture’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMul_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMul_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMPI’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMPI’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleP2P’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleP2P’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMultiCopy’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMultiCopy’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simplePrintf’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simplePrintf’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMulDrv’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMulDrv’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAtomicIntrinsics_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAtomicIntrinsics_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAssert_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAssert_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleStreams’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleStreams’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/UnifiedMemoryStreams’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/UnifiedMemoryStreams’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMulCUBLAS’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/matrixMulCUBLAS’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleCallback’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleCallback’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cudaOpenMP’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cudaOpenMP’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleOccupancy’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleOccupancy’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleVoteIntrinsics’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleVoteIntrinsics’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cdpSimplePrint’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cdpSimplePrint’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/inlinePTX_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/inlinePTX_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/template’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/template’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/systemWideAtomics’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/systemWideAtomics’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAdd’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleSurfaceWrite’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleSurfaceWrite’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleCubemapTexture’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleCubemapTexture’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/inlinePTX’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/inlinePTX’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/clock’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/clock’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMultiGPU’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleMultiGPU’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cppIntegration’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cppIntegration’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTemplates’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTemplates’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleLayeredTexture’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleLayeredTexture’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAddDrv’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/vectorAddDrv’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTemplates_nvrtc’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleTemplates_nvrtc’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleIPC’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleIPC’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simplePitchLinearTexture’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simplePitchLinearTexture’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAssert’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAssert’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleSeparateCompilation’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleSeparateCompilation’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleZeroCopy’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleZeroCopy’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cppOverload’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cppOverload’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/fp16ScalarProduct’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/fp16ScalarProduct’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cdpSimpleQuicksort’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/cdpSimpleQuicksort’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAtomicIntrinsics’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/0_Simple/simpleAtomicIntrinsics’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQueryDrv’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQueryDrv’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/topologyQuery’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/topologyQuery’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/bandwidthTest’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/bandwidthTest’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/p2pBandwidthLatencyTest’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/1_Utilities/p2pBandwidthLatencyTest’
make[1]: Entering directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/2_Graphics/volumeRender’
“/usr/local/cuda-8.0”/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o volumeRender volumeRender.o volumeRender_kernel.o -L/usr/lib/“nvidia-367” -lGL -lGLU -lX11 -lglut
nvcc warning : The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/bin/ld: cannot find -lglut
collect2: error: ld returned 1 exit status
Makefile:270: recipe for target ‘volumeRender’ failed
make[1]: *** [volumeRender] Error 1
make[1]: Leaving directory ‘/home/intern/NVIDIA_CUDA-8.0_Samples/2_Graphics/volumeRender’
Makefile:52: recipe for target ‘2_Graphics/volumeRender/Makefile.ph_build’ failed
make: *** [2_Graphics/volumeRender/Makefile.ph_build] Error 2

can anyone please help me?

Thank you.