racon icon indicating copy to clipboard operation
racon copied to clipboard

CUDA

Open Sumsarium opened this issue 4 years ago • 6 comments

I am trying to make racon work with CUDA (NVIDA Tesla V100, CUDA version 10.1, Ubuntu 18.04 LTS). However, I seem to get the below error. How can I overcome this problem?

`Scanning dependencies of target logger
[ 62%] Building CXX object vendor/logger/CMakeFiles/logger.dir/src/logger.cpp.o
[ 64%] Linking CXX static library lib/liblogger.a
[ 64%] Built target logger
[ 66%] Building NVCC (Device) object ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa_generated_cudapoa_nw_banded.cu.o
[ 68%] Building NVCC (Device) object ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa_generated_cudapoa_kernels.cu.o
/home/anon/racon/vendor/ClaraGenomicsAnalysis/3rdparty/spdlog/include/spdlog/details/pattern_formatter.h:665:66: error: expected primary-expression before \u2018const\u2019
     log_clock::time_point last_update_{std::chrono::seconds(0)};
                                                                  ^    
/home/anon/racon/vendor/ClaraGenomicsAnalysis/3rdparty/spdlog/include/spdlog/details/pattern_formatter.h:665:66: error: expected \u2018}\u2019 before \u2018const\u2019
/home/anon/racon/vendor/ClaraGenomicsAnalysis/3rdparty/spdlog/include/spdlog/details/pattern_formatter.h:665:66: error: could not convert \u2018{<expression error>}\u2019 from \u2018<brace-enclosed initializer list>\u2019 to \u2018std::chrono::_V2::system_clock::time_point {aka std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long int, std::ratio<1l, 1000000000l> > >}\u2019
/home/anon/racon/vendor/ClaraGenomicsAnalysis/3rdparty/spdlog/include/spdlog/details/pattern_formatter.h:665:66: error: expected \u2018;\u2019 before \u2018const\u2019
CMake Error at cudapoa_generated_cudapoa_kernels.cu.o.Release.cmake:279 (message):
  Error generating file
  /home/anon/racon/build/ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/src/./cudapoa_generated_cudapoa_kernels.cu.o


ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/build.make:63: recipe for target 'ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa_generated_cudapoa_kernels.cu.o' failed
make[2]: *** [ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa_generated_cudapoa_kernels.cu.o] Error 1
CMakeFiles/Makefile2:880: recipe for target 'ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/all' failed
make[1]: *** [ClaraGenomicsAnalysis/cudapoa/CMakeFiles/cudapoa.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2`

Sumsarium avatar Jan 08 '20 13:01 Sumsarium

Hello, I am adding the authors of that part of code to take a look at this.

@tijyojwad, @vellamike, could you please have a look?

Best regards, Robert

rvaser avatar Jan 09 '20 12:01 rvaser

This seems to have been also reported by @SamStudio8 here.

vellamike avatar Jan 09 '20 23:01 vellamike

@Sumsarium can you try and using Racon from this repository. We are no longer maintaining this repository and the lcb-sci repo is the official one. Please let me know if this fixes the problem.

vellamike avatar Jan 09 '20 23:01 vellamike

Hi Will you consider adding that to the mainpage of this repository?

Kirk3gaard avatar Jan 12 '21 15:01 Kirk3gaard

Please excuse my overdue reply. Seems I forgot to comment. I got it working from the new repo :-) Thanks a lot!

Sumsarium avatar Jan 12 '21 15:01 Sumsarium

@Kirk3gaard, if you mean a note about the new repository, it can be found in the about section. If something else, please elaborate.

rvaser avatar Jan 14 '21 07:01 rvaser