Skip to content

compilation with CUDA fails #52

Open
@estolle

Description

Hi there,

I've been trying to compile racon with CUDA support and by now tried many version/branches, including the racon-gpu from Nvidia/Clarabricks.

While I could fix some cmake problem and missing dependencies, in the end I fail to successfully compile it during the make step. The non CUDA version is compiling successfully. I am running Ubuntu 20.04 with NVIDIA RTX 3090, CUDA 11.3, Python 3.8, have GenomeWork installed separately already.

This is the commands/erros I get (any ideas how to fix it?):

sudo wget https://github.com/lbcb-sci/racon/releases/download/1.4.21/racon-v1.4.21.tar.gz
sudo tar -xvf racon-v1.4.21.tar.gz
cd racon-v1.4.21
sudo mkdir build
cd build
sudo cmake -DCMAKE_BUILD_TYPE=Release -Dracon_enable_cuda=ON ..
sudo make -j 20

[ 87%] Building CXX object GenomeWorks/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa.cpp.o
[ 87%] Building CXX object GenomeWorks/cudapoa/CMakeFiles/cudapoa.dir/version.cpp.o
In file included from /opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/3rdparty/spdlog/include/spdlog/fmt/fmt.h:21,
from /opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/3rdparty/spdlog/include/spdlog/common.h:28,
from /opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/3rdparty/spdlog/include/spdlog/spdlog.h:12,
from /opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/common/base/include/claraparabricks/genomeworks/logging/logging.hpp:99,
from /opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/cudapoa/src/cudapoa.cpp:18:
/opt/ont/racon/racon-v1.4.21/vendor/GenomeWorks/3rdparty/spdlog/include/spdlog/fmt/bundled/format.h:3475:55: error: ISO C++ did not adopt string literal operator templates taking an argument pack of characters [-Werror=pedantic]
3475 | FMT_CONSTEXPR internal::udl_formatter<Char, CHARS...> operator""_format() {
| ^~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [GenomeWorks/cudapoa/CMakeFiles/cudapoa.dir/build.make:77: GenomeWorks/cudapoa/CMakeFiles/cudapoa.dir/src/cudapoa.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4682: GenomeWorks/cudapoa/CMakeFiles/cudapoa.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions