racon
racon copied to clipboard
Cuda version
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
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
Hi,
try adding cuda path when running cmake, something like this -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.0/
.
Best regards, Robert