isovic / racon

Ultrafast consensus module for raw de novo genome assembly of long uncorrected reads. http://genome.cshlp.org/content/early/2017/01/18/gr.214270.116 Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/racon
MIT License
269 stars 49 forks source link

Cuda version #179

Open zmunro opened 3 years ago

zmunro commented 3 years ago

What Cuda version is needed to run Racon in GPU mode? I am running with Cuda v11.1.105 and it is not working. The readme says Cuda 9.0+. When I run this command:

racon -m 8 -x -6 -g -8 -w 500 -t 10 -f -q -1 -c 2 -b --cudaaligner-batches 2  intermediate.long.fastq long_corr.paf.gz input.fastq

I get this error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  GPU Error:: CUDA driver version is insufficient for CUDA runtime version /racon-v1.4.3/src/cuda/cudapolisher.cpp 46

Here is the output from running nvcc --version:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Oct_12_20:09:46_PDT_2020
Cuda compilation tools, release 11.1, V11.1.105
Build cuda_11.1.TC455_06.29190527_0

I am running this from this docker image: nvidia/cuda:11.1-cudnn8-devel-ubuntu18.04

zmunro commented 3 years ago

I have now also tried it using Cuda version 9.2 and got the same error. Docker image: nvidia/cuda:9.2-devel-ubuntu18.04 Output from running nvcc --version:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:07:04_CDT_2018
Cuda compilation tools, release 9.2, V9.2.148
rvaser commented 3 years ago

Hi, try adding cuda path when running cmake, something like this -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.0/.

Best regards, Robert