Open xiaolinpan opened 2 years ago
Same inquiry. It would be great to have a step-by-step tutorial on compilation on ubuntu or fedora. Many thanks!
For people having problems: Here a step-by-step tutorial (worked for me, nvidia 3090, ubuntu 22)
tar --bzip2 -xf boost_1_81_0.tar.bz2
./bootstrap.sh
./b2
LD_LIBRARY_PATH=/usr/local/boost_1_81_0/stage/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
The absolutely easiest way to do this is with conda
conda create -n gpu
conda install -c conda-forge cudatoolkit-dev
conda activate gpu
which nvcc
plocate nvcc
Git clone https://github.com/Glinttsd/Vina-GPU-CUDA.git
Makefile
in vina-gpu-cuda foler as follows:
BOOST_LIB_PATH=/usr/local/boost_1_81_0
NVCC_COMPILER=/home/user/anaconda3/envs/docking/bin/nvcc
sudo make clean
sudo make cuda
#IGNORE ALL THE RANDOM ERRORS, IF A NEW EXECUTABLE POPS UP YOU'RE GOOD TO GO./Vina-GPU --config ./input_file_example/2bm2_config.txt
Many thanks for your open-source code of Vina-GPU, it's excellent work for drug design and discovery. I am not familiar with c/c++. Could you help me compile it on ubuntu?