We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See heathsc/gemBS-rs#1
I see the following error when building gem-cutter:
$ make install make -f Makefile.gemBS install make[1]: Entering directory '/home/ucbtmog/progz/gemBS-rs' make -C c_tools make[2]: Entering directory '/home/ucbtmog/progz/gemBS-rs/c_tools' make --directory=gem3-mapper make[3]: Entering directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper' make --directory=resources release make[4]: Entering directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper/resources' make --directory=gem-cutter release make[5]: Entering directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper/resources/gem-cutter' /usr/local/cuda/bin/nvcc -O3 -m64 -Xptxas="-dlcm=ca" -gencode arch=compute_20,code=\"sm_20,compute_20\" -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=\"sm_35,compute_35\" -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=\"sm_50,compute_50\" -gencode arch=compute_52,code=\"sm_52,compute_52\" -gencode arch=compute_60,code=\"sm_60,compute_60\" -gencode arch=compute_61,code=\"sm_61,compute_61\" -gencode arch=compute_62,code=\"sm_62,compute_62\" -c src/gpu_fmi_decode.cu -o build/gpu_fmi_decode.o nvcc fatal : Unsupported gpu architecture 'compute_20' Makefile:90: recipe for target 'build/gpu_fmi_decode.o' failed make[5]: *** [build/gpu_fmi_decode.o] Error 1 make[5]: Leaving directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper/resources/gem-cutter' Makefile:16: recipe for target 'release' failed make[4]: *** [release] Error 2 make[4]: Leaving directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper/resources' Makefile:32: recipe for target 'release' failed make[3]: *** [release] Error 2 make[3]: Leaving directory '/home/ucbtmog/progz/gemBS-rs/c_tools/gem3-mapper' Makefile:56: recipe for target 'gem3' failed make[2]: *** [gem3] Error 2 make[2]: Leaving directory '/home/ucbtmog/progz/gemBS-rs/c_tools' Makefile.gemBS:60: recipe for target 'c_tools' failed make[1]: *** [c_tools] Error 2 make[1]: Leaving directory '/home/ucbtmog/progz/gemBS-rs' Makefile:7: recipe for target 'install' failed make: *** [install] Error 2
My NVCC version is:
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Jan_28_19:32:09_PST_2021 Cuda compilation tools, release 11.2, V11.2.142 Build cuda_11.2.r11.2/compiler.29558016_0
The server has two GPU GeForce RTX 3090...
I managed to get around the issue by updating Makefile, specifically setting the two following variables to empty:
Makefile
From
CUDA_SASS_FLAG_20=-gencode arch=compute_20,code=\"sm_20,compute_20\" -gencode arch=compute_20,code=sm_21 CUDA_SASS_FLAG_30=$(CUDA_SASS_FLAG_20) -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=\"sm_35,compute_35\"
To:
CUDA_SASS_FLAG_20= #-gencode arch=compute_20,code=\"sm_20,compute_20\" -gencode arch=compute_20,code=sm_21 CUDA_SASS_FLAG_30= #$(CUDA_SASS_FLAG_20) -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=\"sm_35,compute_35\"
It would be great if the Makefile could automatically set the correct $CUDA_SASS_FLAGS based on the NVCC version...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See heathsc/gemBS-rs#1
I see the following error when building gem-cutter:
My NVCC version is:
The server has two GPU GeForce RTX 3090...
I managed to get around the issue by updating
Makefile
, specifically setting the two following variables to empty:From
To:
It would be great if the Makefile could automatically set the correct $CUDA_SASS_FLAGS based on the NVCC version...
The text was updated successfully, but these errors were encountered: