Hi folks,
I’m a newbie and when I had installed CUDA 10.0. However when I was trying to makefile the samples I got these errors:
nvidia@jetson-0423418004255:/usr/local/cuda-10.0/samples$ make
make[1]: Entering directory '/usr/local/cuda-10.0/samples/0_Simple/simpleCooperativeGroups'
"/usr/local/cuda-10.0"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -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_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_75,code=compute_75 -o simpleCooperativeGroups.o -c simpleCooperativeGroups.cu
/bin/sh: 1: /usr/local/cuda-10.0/bin/nvcc: Exec format error
Makefile:288: recipe for target 'simpleCooperativeGroups.o' failed
make[1]: *** [simpleCooperativeGroups.o] Error 2
make[1]: Leaving directory '/usr/local/cuda-10.0/samples/0_Simple/simpleCooperativeGroups'
Makefile:51: recipe for target '0_Simple/simpleCooperativeGroups/Makefile.ph_build' failed
make: *** [0_Simple/simpleCooperativeGroups/Makefile.ph_build] Error 2
I have also tried sudo make and sudo make -k, but none of them works.
Thanks!