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 Compiling Autodock #207

Open
jssantiagojr opened this issue Sep 30, 2022 · 3 comments
Open

Error Compiling Autodock #207

jssantiagojr opened this issue Sep 30, 2022 · 3 comments

Comments

@jssantiagojr
Copy link

Good day!

Currently having problems compiling, I'm encountering the following problems compiling the program.

arthur@mmrl-03:~/Downloads/AutoDock-GPU-develop$ make DEVICE=CUDA NUMWI=256 TARGETS="80"
rm -f ./host/inc/performdocking.h ./host/src/performdocking.cpp
Building adgpu_analysis ...
g++
./host/src/calcenergy.cpp ./host/src/getparameters.cpp ./host/src/main.cpp ./host/src/miscellaneous.cpp ./host/src/processgrid.cpp ./host/src/processligand.cpp ./host/src/processresult.cpp ./host/src/setup.cpp
-std=c++11 -I./common -I./host/inc -DVERSION="v1.5-release"
-o./bin/adgpu_analysis
-O3 -DTOOLMODE
DEVICE is set to GPU

CPU_INCLUDE_PATH is undefined
CPU_LIBRARY_PATH is undefined

GPU_INCLUDE_PATH is set to /usr/local/cuda/include
GPU_LIBRARY_PATH is set to /usr/local/cuda/lib64

nvcc -DN256WI -use_fast_math --ptxas-options="-v" -gencode arch=compute_80,code=sm_80 -std=c++11 -I./common -I./host/inc -I/usr/local/cuda/include -I./cuda -c ./cuda/kernels.cu
nvcc fatal : Unsupported gpu architecture 'compute_80'
Makefile.Cuda:187: recipe for target 'kernels' failed
make: *** [kernels] Error 1

@L30nardoSV
Copy link
Member

Hi @jssantiagojr,

nvcc fatal : Unsupported gpu architecture 'compute_80'

Which GPU are you targeting?

@jssantiagojr
Copy link
Author

Hallo! I'm a 2080ti and an RTX 5000. so far I already confirmed that TARGETS ="80" works with a 3080ti. Thank you!

@atillack
Copy link
Collaborator

atillack commented Oct 5, 2022

@jssantiagojr Compute architecture 80 (Ampere) requires Cuda version >= 11 - looks like maybe an older Cuda version snuck in to create the above error.

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