Next step in the ongoing saga ... I installed from the 12.1 runfile of CUDA. I made sure the MD5s matched and the install seemed to go smoothly. I wanted to verify the install and followed the instructions in the Nvidia guide. I used git to clone the samples at https://github.com/nvidia/cuda-samples. While some of the samples might be newer and closer to 12.3 compatibility, I thought at least some of the simpler samples (device_query, at least) should demonstrate that the CUDA install is in an operable state.
I ran the make and at the bottom of a long output stream was the error pasted at the bottom. I don't recall mentioning but gcc is at 12.3.0. I think it should be recent enough, no? The original and eventual intent is to get a python usage of CUDA with Anaconda so I might consider bypassing gcc use but I'd be hesitant. If I can't get Python linked to CUDA, is it because the CUDA install didn't really work, or is it because the Python link or install is bad? Besides, it would be a confidence builder to verify that CUDA is not just installed but working. This has been quite an adventure - like a hurdle race. Every step requires jumping a hurdle before proceeding to the next. Any thoughts? Thanks, again, I appreciate it.
-Rocky714
/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common -m64 --std=c++11 --threads 0 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o simpleAWBarrier.o -c simpleAWBarrier.cu
/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda/std/barrier(144): error: function "operator new" cannot be called with the given argument list
argument types are: (unsigned long, cuda::std::__4::__barrier_base<cuda::std::__4::__e mpty_completion, 2> *)
new (&__b->__barrier) __barrier_base(__expected);
^
1 error detected in the compilation of "simpleAWBarrier.cu".
make[1]: *** [Makefile:368: simpleAWBarrier.o] Error 255
make[1]: Leaving directory '/home/michael/Downloads/CUDA/cuda-samples/Samples/0_Introduction/simpleAWBarrier'
make: *** [Makefile:45: Samples/0_Introduction/simpleAWBarrier/Makefile.ph_build] Error 2
Bookmarks