Closed taltman closed 3 years ago
Which C++ compiler are you using (c++ -v
)? Did you download the NGS libraries, or built from sources?
Thank you for your fast reply!
I downloaded the tar-ball from the Download page on the wiki. Here is the C++ complier info (below). Please let me know if I can send any further debugging info. Thanks in advance for your help!
ubuntu@ip-172-31-72-183:~/tmp/ngs-sdk.2.10.8-linux/share$ c++ -v
Using built-in specs.
COLLECT_GCC=c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,\
go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-\
id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-deb\
ug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie \
--with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,m\
x32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-lin\
ux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
Also, I tried turning off Conda with conda deactivate
, and that didn't change the error output nor the c++ version.
Good morning! Any thoughts about how I can proceed, @aboshkin? I need to compile HISAT2 with SRA mode enabled, and unfortunately this issue is blocking me. Any help would be greatly appreciated. Thanks in advance!
@taltman good morning! The likely root cause is the fact that you are using a newer version of the C++ (7.5) compiler than the one that was used to build the libraries in the tarballs (4.8 - I know...). We will discuss upgrading our toolchain; in the meantime you can try to build the libraries yourself: the instructions are in https://github.com/ncbi/ngs/wiki/Building-and-Installing-from-Source and https://github.com/ncbi/ncbi-vdb/wiki/Building-and-Installing-from-Source If you have any trouble building, do not hesitate to ask here.
@aboshkin Thanks for pointing out that issue. I'll take a stab at compiling everything from scratch, and I'll let you know how it goes. Cheers!
I can confirm that the libraries get built & installed correctly. It allowed me to compile HISAT2 from scratch with SRA capabilities enabled. Thank you for your help @aboshkin!