Vina-GPU+ further accelerates Vina-GPU and facilitates single receptor-multi-ligand docking.
Note: at least one GPU card is required and make sure the version of GPU driver is up to date.
- For the first time to use Vina-GPU+, please run
Vina-GPU+_K.exewith command./Vina-GPU+_K.exe --config=./input_file_example/2bm2_config.txtYou are supposed to have the docking resultstest_outfile ,Kernel1_Opt.binfile andKernel2_Opt.binfile - Once you have the
Kernel1_Opt.binfile andKernel2_Opt.binfile, you can runVina-GPU+.exewithout compiling the kernel files (thus to save more runtime)
When you run
Vina-GPU+.exe, please make sureKernel1_Opt.binfile andKernel2_Opt.binfile are in the same directory
For the usage and limitaiton of Vina-GPU+, please check Usage and Limitation. A graphic user interface (GUI) is also provided for Windows users, please check GUI
Visual Studio 2019 is recommended for build Vina-GPU from source
-
install boost library (current version is 1.77.0)
-
install CUDA Toolkit (current version is v11.5) if you are using NVIDIA GPU cards
Note: the OpenCL library can be found in CUDA installation path for NVIDIA or in the driver installation path for AMD
-
add
./lib./OpenCL/inc$(YOUR_BOOST_LIBRARY_PATH)$(YOUR_BOOST_LIBRARY_PATH)/boost$(YOUR_CUDA_TOOLKIT_LIBRARY_PATH)/CUDA/v11.5/includein the include directories -
add
$(YOUR_BOOST_LIBRARY_PATH)/stage/lib$(YOUR_CUDA_TOOLKIT_PATH)/CUDA/lib/x64in the addtional library -
add
OpenCL.libin the additional dependencies -
add
--config=./input_file_example/2bm2_config.txtin the command arguments -
add
NVIDIA_PLATFORMOPENCL_3_0WINDOWSin the preprocessor definitions if necessary -
if you want to compile the binary kernel file on the fly, add
BUILD_KERNEL_FROM_SOURCEin the preprocessor definitions -
build & run Note: ensure the line ending are CLRF
Note: At least 8M stack size is needed. To change the stack size, use ulimit -s 8192.
-
install boost library (current version is 1.77.0)
-
install CUDA Toolkit (current version is v11.5) if you are using NVIDIA GPU cards
Note: OpenCL library can be usually in
/usr/local/cuda(for NVIDIA GPU cards) -
change the
BOOST_LIB_PATHandOPENCL_LIB_PATHaccordingly inMakefile -
set GPU platform
GPU_PLATFORMand OpenCL versionOPENCL_VERSIONinMakefile. some options are given below:Note:
-DOPENCL_3_0is highly recommended in Linux, please avoid using-OPENCL_1_2in the Makefile setting. To check the OpenCL version on a given platform, useclinfo.Macros Options Descriptions GPU_PLATFORM -DNVIDIA_PLATFORM / -DAMD_PLATFORM NVIDIA / AMD GPU platform OPENCL_VERSION -DOPENCL_3_0 / -OPENCL_2_0 OpenCL version 3.0 / 2.0 -
type
make cleanandmake sourceto build Vina-GPU+ that compile the kernel files on the fly (this would take some time at the first use) -
after a successful compiling,
Vina-GPU+can be seen in the directory -
type
./Vina-GPU+ --config ./input_file_example/2bm2_config.txtto run Vina-GPU+ -
once you successfully run Vina-GPU+, its runtime can be further reduced by typing
make cleanandmaketo build it without compiling kernel files (but make sure theKernel1_Opt.binfile andKernel2_Opt.binfile is unchanged) -
other compile options:
| Options | Description |
|---|---|
| -g | debug |
| -DDISPLAY_ADDITION_INFO | print addition information |
| Arguments | Description | Default value |
|---|---|---|
| --config | the config file (in .txt format) that contains all the following arguments for the convenience of use | no default |
| --receptor | the recrptor file (in .pdbqt format) | no default |
| --ligand_directory | this path contains all the ligand files,the ligand file (in .pdbqt format) | no default |
| --thread | the scale of parallelism (docking lanes) | 1000 |
| --search_depth | the number of searching iterations in each docking lane | heuristically determined |
| --center_x/y/z | the center of searching box in the receptor | no default |
| --size_x/y/z | the volume of the searching box | no default |
| Arguments | Description | Limitation |
|---|---|---|
| --thread | the scale of parallelism (docking lanes) | preferably less than 10000 |
| --size_x/y/z | the volume of the searching box | less than 30/30/30 |