Skip to content
New issue

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

Error while make gpu #20

Open
mainguyenanhvu opened this issue Aug 3, 2021 · 2 comments
Open

Error while make gpu #20

mainguyenanhvu opened this issue Aug 3, 2021 · 2 comments

Comments

@mainguyenanhvu
Copy link

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
@rvaser
Copy link
Owner

rvaser commented Aug 9, 2021

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

@Jiangjiangzhang6
Copy link

[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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants