akiyamalab / MEGADOCK

An ultra-high-performance protein-protein docking for heterogeneous supercomputers
http://www.bi.cs.titech.ac.jp/megadock/
Other
49 stars 32 forks source link

Unsupported gpu architecture 'compute_20' with CUDA 9 #7

Closed metaVariable closed 5 years ago

metaVariable commented 6 years ago

nvcc showed the following error when compiling MEGADOCK-GPU with CUDA 9

nvcc fatal   : Unsupported gpu architecture 'compute_20'
metaVariable commented 6 years ago

The GPU device architecture sm_20 is deprecated in CUDA 9.

To fix this error, modify sm_20 in Makefile to sm_30 or higher arch.

# Add new SM Versions here as devices with new Compute Capability are released
SM_VERSIONS := sm_21