NVlabs / nvbio

NVBIO is a library of reusable components designed to accelerate bioinformatics applications using CUDA.
BSD 3-Clause "New" or "Revised" License
206 stars 50 forks source link

Updated GPU architectures? #20

Closed ndtippens closed 4 years ago

ndtippens commented 5 years ago

I tried to specify a newer GPU architectures as follows:

cmake -DGPU_ARCHITECTURE=sm_61

only to get the following error:

nvcc fatal : Value 'sm_61' is not defined for option 'gpu-architecture' CMake Error at nvbio_generated_file_bwt_bgz.cu.o.cmake:207 (message): Error generating

If this is a simple update to apply, it would be much appreciated!

Thanks! Nate

r-barnes commented 4 years ago

@ndt26 : master has just been updated to support newer versions of CUDA and GCC. I am able to get compilation using the following:

CXX=g++-8 CC=gcc-8 cmake -DCMAKE_BUILD_TYPE=Release -DGPU_ARCHITECTURE=sm_61 ..

@foertter : I think this can be closed.

ndtippens commented 4 years ago

Did you try running nvbio-test after compilation?

Mine is failing:

CUDA 10.2 Ubuntu18.04 LTS, 4.15.0-76

info : work_queue test... started info : testing multi-pass work-queue: terminate called after throwing an instance of 'thrust::system::system_error' what(): for_each: failed to synchronize: cudaErrorInvalidValue: invalid argument Aborted (core dumped)

r-barnes commented 4 years ago

@ndt26 : I don't encounter that problem. Nonetheless, it's a separate issue than the one which opened this thread.

jarushi13 commented 4 years ago

Hi, @ndt26 I am facing the exact same issue. My DGPU_ARCHITETURE is sm_35 and CUDA version is 10.1.243. How did you fix the issue?

Thanks a lot.