Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation with CUDA fails #52

Open
estolle opened this issue May 19, 2021 · 1 comment
Open

compilation with CUDA fails #52

estolle opened this issue May 19, 2021 · 1 comment

Comments

@estolle
Copy link

estolle commented May 19, 2021

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

@rvaser
Copy link
Collaborator

rvaser commented May 19, 2021

Hello,
could you please open this issue at https://github.com/clara-parabricks/GenomeWorks, as it seems the error is somewhere in their module? Although it is weird as you were able to install it separately. You might get away by removing -Werror from here, but opening the issue there might be a better option.

Best regards,
Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants