delly icon indicating copy to clipboard operation
delly copied to clipboard

Compile error for multi-threading mode

Open ryao-mdanderson opened this issue 2 years ago • 8 comments

Hello Delly author:

When I tried to compile multi-threading mode on our HPC cluster, RHEL 7.9, I see these output and hit the errors: we use gcc/9.3.0 and openmpi/4.1.1

$ make PARALLEL=1 -B src/delly if [ -r src/htslib/Makefile ]; then cd src/htslib && autoreconf -i && ./configure --disable-s3 --disable-gcs --disable-libcurl --disable-plugins && make && make lib-static && cd ../../ && touch .htslib; fi ....... htscodecs_bundled.mk:2: htscodecs_bundled.mk: Too many open files in system ...... libhts.a(hts.o): In function hts_feature_string': /rsrch3/home/itops/ryao/delly/delly/src/htslib/hts.c:227: undefined reference to htscodecs_version' libhts.a(hts.o): In function hts_test_feature': /rsrch3/home/itops/ryao/delly/delly/src/htslib/hts.c:149: undefined reference to htscodecs_version' libhts.a(cram_io.o): In function cram_compress_by_method': /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1866: undefined reference to arith_compress_to' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1846: undefined reference to rans_compress_4x16' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1878: undefined reference to encode_names' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1809: undefined reference to fqz_compress' libhts.a(cram_io.o): In function cram_uncompress_block': /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1685: undefined reference to rans_uncompress_4x16' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1705: undefined reference to arith_uncompress_to' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1672: undefined reference to fqz_decompress' /rsrch3/home/itops/ryao/delly/delly/src/htslib/cram/cram_io.c:1725: undefined reference to decode_names' libhts.a(hfile.o): In function load_hfile_plugins': /rsrch3/home/itops/ryao/delly/delly/src/htslib/hfile.c:1084: undefined reference to hfile_plugin_init_libcurl' collect2: error: ld returned 1 exit status make[1]: *** [htsfile] Error 1 make[1]: Leaving directory `/rsrch3/home/itops/ryao/delly/delly/src/htslib' make: *** [.htslib] Error 2

Do you have any suggestion? Need any modification in the Makefile?

Thank you very much for your help.

Rong Yao

ryao-mdanderson avatar Oct 19 '22 21:10 ryao-mdanderson