How to install the third-generation error correction software LoRDEC
This article mainly introduces the three generations of error correction software LoRDEC how to install, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Installation of error correction software LoRDEC
Software address: https://gite.lirmm.fr/lordec/lordec-releases/wikis/home#lordec
Installation version: 0.9
After download, extract and install:
Set the environment variable to increase the GCC version to 6.4:
Export PATH=/share/work/biosoft/gcc/gcc-v6.4.0/bin/:$PATHexport LD_LIBRARY_PATH=/share/work/biosoft/gcc/gcc-v6.4.0/lib64/:$LD_LIBRARY_PATH
Extract and compile:
Tar-xjvf lordec-src_0.9.tar.bz2cd lordec-src_0.9make clean all-J8
Error 1: prompt that the gcc version under / usr/bin/cc is low, and you found that the bin directory of your installed gcc is not well linked to cc:
You can link the gcc under / share/work/biosoft/gcc/gcc-v6.4.0/bin/ to cc
Cd / share/work/biosoft/gcc/gcc-v6.4.0/bin/ & & ln-s gcc cc
Error 2:
Gmail + lordec-correct.cpp-w-Igatb_v1.4.1/include/ "- Iboost_include/"-DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1-std=c++0x-O3-cg++ utils.cpp-w-Igatb_v1.4.1/include/ "- Iboost_include/"-DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1-std=c++0x-O3-cg++ lordec-stat.cpp-w-Igatb_v1.4.1/include/ "- Iboost_ Include/ "- DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1-std=c++0x-O3-cg++ lordec-trim.cpp-w-Igatb_v1.4.1/include/"-Iboost_include/ "- DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1-std=c++0x-O3-cg++ lordec-trim-split.cpp-w-Igatb_v1.4.1/include/"-Iboost_include/ "- DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1- Std=c++0x-O3-cg++ lordec-build-SR-graph.cpp-o lordec-build-SR-graph-w-w-Igatb_v1.4.1/include/ "- Iboost_include/"-DGATB_V141-DLORDECVERSION=0.9-DGATBVERSION=1.4.1-std=c++0x-O3-Lgatb_v1.4.1/lib/-lgatbcore-lhdf5-ldl-lz-lpthread-std=c++0x-O3g + lordec-trim.o-Lgatb_v1.4.1/lib/-lgatbcore-lhdf5-ldl-lz -lpthread-std=c++0x-O3-o lordec-trimg++ lordec-trim-split.o-Lgatb_v1.4.1/lib/-lgatbcore-lhdf5-ldl-lz-lpthread-std=c++0x-O3-o lordec-trim-splitg++ lordec-stat.o-Lgatb_v1.4.1/lib/-lgatbcore-lhdf5-ldl-lz-lpthread-std=c++0x-O3-o lordec-statg++ lordec-correct.o utils.o-Lgatb_v1.4.1/lib/-lgatbcore-lhdf5-ldl-lz-lpthread -std=c++0x-O3-o lordec-correctutils.o: In function `ProgressManager::ProgressManager (long long Char const*)': utils.cpp: (.text + 0x4c): undefined reference to `clock_gettime'utils.o: In function `ProgressManager::ProgressManager (long long)': utils.cpp: (.text + 0x150): undefined reference to `clock_gettime'utils.o: In function `ProgressManager::updateProgress (long long)': utils.cpp: (.text + 0x51b): undefined reference to `clock_gettime'collect2: error: ld returned 1 exit statusmake [1]: * * [lordec-correct] Error 1make [1]: Leaving directory `/ share / work/biosoft/LoRDEC/lordec-src_0.9'make: * * [lordec_141] Error 2
For more information, please see: https://stackoverflow.com/questions/4626234/undefined-reference-to-clock-gettime-adding-librtdef-lrt-to-makefile-does-n:
In the lordec-src_0.9/Makefile file, find the end of LDFLAGS and add-lrt save re-make clean all-j8:
Problem solving
Thank you for reading this article carefully. I hope the article "how to install the third-generation error correction software LoRDEC" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!