Closed biogeeker closed 7 months ago
Hi, we are sorry that we mistakenly put the (previous version of Vina-GPU) .exe
file into Vina-GPU 2.1 repository. We will build the new version of .exe
files soon. But we recommend to run Vina-GPU 2.1 in Linux.
Ok, Thanks for your reply, i will try it.
Hello @Glinttsd ! I am having a runtime error while running the example provided. I believe it is related to the issue discussed here (see error message below). I am running from Linux. Are you planning to push the .exe
for Vina-GPU-2.1 any time soon to this repo? I would appreciate to hear your advice on how to fix my problem. Thanks!
$ ./AutoDock-Vina-GPU-2-1 --config ./input_file_example/2bm2_config.txt
#################################################################
# If you used AutoDockVina-GPU 2.1 in your work, please cite: #
# #
# Ding, Ji, et al. Vina-GPU 2.0: Further Accelerating AutoDock #
# Vina and Its Derivatives with Graphics Processing Units. #
# Journal of Chemical Information and Modeling (2023). #
# #
# DOI https://doi.org/10.1021/acs.jcim.2c01504 #
# #
# Shidi, Tang, Chen Ruiqi, Lin Mengru, Lin Qingde, #
# Zhu Yanxiang, Wu Jiansheng, Hu Haifeng, and Ling Ming. #
# Accelerating AutoDock Vina with GPUs. #
# Molecules 27.9 (2022): 3041. #
# #
# DOI https://doi.org/10.3390/molecules27093041 #
# #
# And also the origin AutoDock Vina paper: #
# O. Trott, A. J. Olson, #
# AutoDock Vina: improving the speed and accuracy of docking #
# with a new scoring function, efficient optimization and #
# multithreading, Journal of Computational Chemistry 31 (2010) #
# 455-461 #
# #
# DOI 10.1002/jcc.21334 #
# #
#################################################################
Using virtual sreening mode
Output will be in the directory ./test_out
Reading input ... done.
Setting up the scoring function ... done.
Using heuristic search_depth
Analyzing the binding site ... done.
GPU Platform: NVIDIA CUDA
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
GPU Device: NVIDIA RTX A5000
Using random seed: 296631858
Build kernel 1 from source
OpenCL version: 3.0
1 error generated.
Error: Failed to build program executable!
log:<kernel>:63:10: error: incompatible pointer types assigning to 'const __global int *' from 'int const __global (*)[1024]'
address = &(ar->relation[temp]);
^ ~~~~~~~~~~~~~~~~~~~~~
Hi @vwcruzeiro, I did not encounter such error before.
I think you can check your driver version/CUDA version or try to compile the code with OpenCL 2.0 (i.e. -DOPENCL_2_0
).
We will push the Windows precompiled version soon in this repo.
Thanks for your following.
Thank you very much for getting back to me so quickly @Glinttsd ! I have tried multiple CUDA versions (from 10.2 to 12.4) and both OpenCL 2.0 and 3.0. Unfortunately, I got exactly the same error in all cases. Anything else you think I could try? Thanks!
Hello @Glinttsd ! I apologize for bothering you. I am still stuck with this issue. Any suggestions? Thanks!
Hello @Glinttsd ! I was able to fix the problem by changing address = &(ar->relation[temp]);
to address = ar->relation[temp];
in OpenCL/src/kernels/kernel1.cl
. I was able to run the test input file now. However, I do see some differences in the output files. For example, here:
REMARK VINA RESULT: -5.4 1.303 1.579
The two last numbers are completely different. What do they mean?
Thanks for your help!
Hello @Glinttsd ! I was able to fix the problem by changing
address = &(ar->relation[temp]);
toaddress = ar->relation[temp];
inOpenCL/src/kernels/kernel1.cl
. I was able to run the test input file now. However, I do see some differences in the output files. For example, here:REMARK VINA RESULT: -5.4 1.303 1.579
The two last numbers are completely different. What do they mean?
Thanks for your help!
Hi, sorry for the late response. According to your issue, I think you can try to change address = &(ar->relation[temp]);
to address = &(ar->relation[temp][0]);
.
Hope it works!
Hello @Glinttsd ! I am wondering if you have any suggestions on how I can test the codes to make sure that the results are correct. As I mentioned in my previous message, I am getting a few discrepancies in the output files that I do not know how to interpret. Thank you so much!
Thanks for the wonderful tools, when I use Vina-GPU 2.1, i had an error:
I am not similar to OpenCL, i only found a 'code_head.cl' file, like this:
I don't have solutions for the above errors. Do you have any suggestions?
Meanwhile, no error was encountered when running Qvina2-GPU:
Thanks for your reply!!!