-
Notifications
You must be signed in to change notification settings - Fork 14
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
Compile error on Ubuntu 18.04.1 LTS Server #10
Comments
Yes, it looks like this has to do with a stricter policy of the g++-7 compiler included in Ubuntu 18.04. |
Hi, srechner, I have updated the install code and tried twice. It worked well at the beginning, but still left one error. The compile was not completed. Any suggestions for this error? Thanks a lot! Kai Scanning dependencies of target toFasta |
Try removing everything in the build directory and than call cmake and make again. If it still does not compile, please give us the output of the cmake command. |
Yes, I tried but it still did not compile. The cmake command ran well and the make command still export same error as mentioned above. This is the information when I call cmake command. fengkai@ubuntu_r740:~/download/gerbil/build$ This is the output information of the cmake command when I try to call it again. fengkai@ubuntu_r740:~/download/gerbil/build$ |
It seems that CMake is preferring static libraries over shared ones at your system. |
Now the compile works well. I have tried to use gerbil to test my sequence file. It works fine. Thanks for your help! Kai |
I get the following error when calling
This is my
Here is the full output of
Using the attached CMakeLists.txt file did not solve my problem. Note: I'm working in a conda environment. Best, |
Hi,
I am very happy to find this excellent tool to do k-mer statistics. However, I met some problems during compiling this software. I thought the problem might be due to newer operation system version, but I am not sure.
Please check with the following messages and do me a favor.
Thanks a lot!
Kai
Scanning dependencies of target toFasta
[ 5%] Building CXX object CMakeFiles/toFasta.dir/src/gerbil/toFasta.cpp.o
[ 10%] Linking CXX executable toFasta
[ 10%] Built target toFasta
[ 15%] Building NVCC (Device) object CMakeFiles/cuda_compile_1.dir/src/cuda_ds/cuda_compile_1_generated_CompressKernel.cu.o
[ 21%] Building NVCC (Device) object CMakeFiles/cuda_compile_1.dir/src/cuda_ds/cuda_compile_1_generated_AddKernel.cu.o
Scanning dependencies of target gerbil
[ 26%] Building CXX object CMakeFiles/gerbil.dir/src/gerbil/Application.cpp.o
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerCountingHashTable.h:25,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:31,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:28,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:31,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 1; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 9; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 9; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 9]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 9]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 9]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 2; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 16; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 16; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 16]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 16]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 16]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 4; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 32; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 32; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 32]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 32]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 32]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Bundle.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/FastReader.h:27,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:26,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘constexpr const uint64_t gerbil::KMer<32, 9, 8, 2>::_c_mask’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:123:7: required from ‘void gerbil::KMer<K, B, 8, C>::set(const byte* const&) [with unsigned int K = 32; unsigned int B = 9; unsigned int C = 2; gerbil::byte = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:363:9: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 32; bool NORM = true; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 32; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 32]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<32> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<32> >)>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:101:7: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 32]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 32]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 32]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 32]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr uint64_t _c_mask = 0xffffffffffffffff << _c_offset;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: error: right operand of shift expression ‘(18446744073709551615 << 64)’ is >= than the precision of the left operand [-fpermissive]
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerCountingHashTable.h:25,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:31,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:28,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:31,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 6; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 64; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 64; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 64]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 64]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 64]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Bundle.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/FastReader.h:27,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:26,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘constexpr const uint64_t gerbil::KMer<64, 17, 8, 3>::_c_mask’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:123:7: required from ‘void gerbil::KMer<K, B, 8, C>::set(const byte* const&) [with unsigned int K = 64; unsigned int B = 17; unsigned int C = 3; gerbil::byte = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:363:9: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 64; bool NORM = true; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 64; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 64]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<64> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<64> >)>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:101:7: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 64]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 64]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 64]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 64]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr uint64_t _c_mask = 0xffffffffffffffff << _c_offset;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: error: right operand of shift expression ‘(18446744073709551615 << 64)’ is >= than the precision of the left operand [-fpermissive]
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerCountingHashTable.h:25,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:31,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:28,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:31,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 8; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 96; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 96; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 96]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 96]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 96]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Bundle.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/FastReader.h:27,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:26,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘constexpr const uint64_t gerbil::KMer<96, 25, 8, 4>::_c_mask’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:123:7: required from ‘void gerbil::KMer<K, B, 8, C>::set(const byte* const&) [with unsigned int K = 96; unsigned int B = 25; unsigned int C = 4; gerbil::byte = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:363:9: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 96; bool NORM = true; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 96; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 96]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<96> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<96> >)>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:101:7: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 96]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 96]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 96]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 96]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr uint64_t _c_mask = 0xffffffffffffffff << _c_offset;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: error: right operand of shift expression ‘(18446744073709551615 << 64)’ is >= than the precision of the left operand [-fpermissive]
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerCountingHashTable.h:25,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:31,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:28,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:31,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h: In instantiation of ‘cuda_ds::internal::CountingHashTable<intsPerKey, keyBufferSize>::~CountingHashTable() [with unsigned int intsPerKey = 10; long unsigned int keyBufferSize = 262144]’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable.h:43:7: required from ‘gerbil::gpu::KmerCountingHashTable::KmerCountingHashTable(uint32_t, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, uint32_t, std::__cxx11::string) [with unsigned int K = 128; uint32_t = unsigned int; std::__cxx11::string = std::__cxx11::basic_string]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/GpuHasher.h:97:16: required from ‘gerbil::gpu::HasherTask::HasherTask(uint8_t, gerbil::KmerDistributer, gerbil::SyncSwapQueueMPSCgerbil::KmcBundle, gerbil::TempFile, std::__cxx11::string, uint32_t) [with unsigned int K = 128; uint8_t = unsigned char; std::__cxx11::string = std::__cxx11::basic_string; uint32_t = unsigned int]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:136:26: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 128]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 128]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 128]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:176:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:186:46: note: in C++11 destructors default to noexcept
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: warning: throw will always call terminate() [-Wterminate]
+ std::string(cudaGetErrorString(err)));
^
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/../cuda_ds/CountingHashTable/_CountingHashTable.h:198:47: note: in C++11 destructors default to noexcept
In file included from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Bundle.h:25:0,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/FastReader.h:27,
from /home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/Application.h:26,
from /home/fengkai/download/gerbil/src/gerbil/Application.cpp:8:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h: In instantiation of ‘constexpr const uint64_t gerbil::KMer<128, 33, 8, 5>::_c_mask’:
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:123:7: required from ‘void gerbil::KMer<K, B, 8, C>::set(const byte* const&) [with unsigned int K = 128; unsigned int B = 33; unsigned int C = 5; gerbil::byte = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:363:9: required from ‘void gerbil::KmerHasher::processThreadSplit(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 128; bool NORM = true; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:107:38: required from ‘gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)::<lambda(const uint8_t&, gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >)> [with unsigned int K = 128; uint8_t = unsigned char]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:102:10: required from ‘struct gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 128]::<lambda(const uint8_t&, class gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle<128> >, class gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle<128> >)>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:101:7: required from ‘void gerbil::KmerHasher::processSplit(gerbil::SyncSwapQueueMPSC<gerbil::cpu::KMerBundle >, gerbil::SyncSwapQueueMPSC<gerbil::gpu::KMerBundle >) [with unsigned int K = 128]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:162:22: required from ‘gerbil::KmerHasher::process_template()::<lambda()> [with unsigned int K = 128]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:23: required from ‘struct gerbil::KmerHasher::process_template() [with unsigned int K = 128]::<lambda()>’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:120:6: required from ‘void gerbil::KmerHasher::process_template() [with unsigned int K = 128]’
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KmerHasher.h:539:6: required from here
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: warning: left shift count >= width of type [-Wshift-count-overflow]
static constexpr uint64_t _c_mask = 0xffffffffffffffff << _c_offset;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/fengkai/download/gerbil/src/gerbil/../../include/gerbil/KMer.h:65:58: error: right operand of shift expression ‘(18446744073709551615 << 64)’ is >= than the precision of the left operand [-fpermissive]
CMakeFiles/gerbil.dir/build.make:76: recipe for target 'CMakeFiles/gerbil.dir/src/gerbil/Application.cpp.o' failed
make[2]: *** [CMakeFiles/gerbil.dir/src/gerbil/Application.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/gerbil.dir/all' failed
make[1]: *** [CMakeFiles/gerbil.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: