User Tools

Site Tools


wiki:software:fastp

Fastp Install

Compiling from source requires three libraries: libdeflate, libisal and libtool. In addition, cmake is required as well.
Source code for libtool here
libisal requires nasm to compile here
1. For nasm cd to the source folder run

configure --prefix=/home/.hub_local
make
make install

2. Download and build libtool, cd to source folder

./configure --prefix=/home/.hub_local
make
make install

3. download and build libisal

git clone https://github.com/intel/isa-l.git
mkdir /home/.hub_local/lib64
cd isa-l
./autogen.sh
./configure --prefix=/home/.hub_local --libdir=/home/.hub_local/lib64
make
sudo make install

The above didn't work. Try the following:

make -f Makefile.ux

Then copy the libisal.so in the bin folder to the /home/.hub_local/lib folder. In the /home/.hub_local/lib folder do

ln libisal.so libisal.so.2 

3. download and build libdeflate

git clone https://github.com/ebiggers/libdeflate.git
cd libdeflate
cmake -B build
cmake --build build
cmake --install-prefix=/home/.hub_local build
cmake --install build

4. download and build fast

git clone https://github.com/OpenGene/fastp.git

Need to edt the Make file in the fastp folder and set the following lines:

PREFIX ?= /home/.hub_local
BINDIR ?= $(PREFIX)/bin
INCLUDE_DIRS ?=  /home/.hub_local/include
LIBRARY_DIRS ?= /home/.hub_local/lib64 /home/.hub_local/lib

Then compile

# build
cd fastp
make
# Install
make install

To run the binary you need to set the library path in the /home/.hub_local/autosourced_by_bashrcs file. Add the following line to the end of the file.

export LD_LIBRARY_PATH=/home/.hub_local/lib64

That should do it.

wiki/software/fastp.txt · Last modified: 2024/03/22 16:20 by keistc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki