sift4g icon indicating copy to clipboard operation
sift4g copied to clipboard

Error while make gpu

Open mainguyenanhvu opened this issue 3 years ago • 2 comments

Hi, I am facing an error when compiling this code on GPU (make gpu).

>>> vendor/swsharp <<<
[CORE] swsharp
[CU] src/evalue.cu
nvcc fatal   : Unsupported gpu architecture 'compute_30'
Makefile:111: recipe for target 'obj/evalue.o' failed
make[2]: *** [obj/evalue.o] Error 1
Makefile:51: recipe for target 'swsharp' failed
make[1]: *** [swsharp] Error 2
Makefile:16: recipe for target 'vendor/swsharp' failed
make: *** [vendor/swsharp] Error 2

Could you please help me to fix this error? Thank you so much. My system infor:

# nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0

mainguyenanhvu avatar Aug 03 '21 08:08 mainguyenanhvu

Hello, I am a bit out of the loop regarding CUDA related stuff, but you can try by commenting/deleting this part https://github.com/mkorpar/swsharp/blob/master/swsharp/Makefile#L28-L46 from vendor/swsharp. Sorry for my late reply.

Best regards, Robert

rvaser avatar Aug 09 '21 05:08 rvaser

[CORE] swsharp [CU] src/gpu_module.cu nvcc fatal : Unsupported gpu architecture 'compute_30' make[1]: *** [obj/gpu_module.o] Error 1 make: *** [swsharp] Error 2

Jiangjiangzhang6 avatar Mar 17 '22 02:03 Jiangjiangzhang6