dptech-corp / Uni-Dock

Uni-Dock: a GPU-accelerated molecular docking program
189 stars 39 forks source link

Compiling error on CUDA 11 #94

Closed caic99 closed 8 months ago

caic99 commented 8 months ago

Describe the bug

Compiling fails when using the default CMake config using CUDA 11.2:

nvcc fatal   : Unsupported gpu architecture 'compute_90'

I suggest commenting out https://github.com/dptech-corp/Uni-Dock/blob/883671c330ceb9ee3cef4ca167bb12caa156ad43/unidock/CMakeLists.txt#L34 for backward compatibility.

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response