Installing Salmon
Procedure
- Use PuTTY to log in to the server as the root user.
- Use an SFTP tool to upload the Salmon installation package to the /path/to/SALMON directory on the server.
- Run the following command to set the environment variable:
export PATH=/path/to/CMAKE/bin:$PATH
- Run the following command to decompress the installation package:
cd /path/to/SALMON && tar -zxf v1.4.0.tar.gz
- Run the following command to go to the installation directory:
cd salmon-1.4.0
- Run the following command to create a build directory and go to the directory:
mkdir build && cd build
- Run the following commands to perform the compilation and installation:
CC=`which gcc` CXX=`which g++` cmake -DNO_IPO=TRUE -DCMAKE_C_FLAGS="-O3 -march=armv8.2-a -mtune=tsv110" -DCMAKE_CXX_FLAGS="-O3 -march=armv8.2-a -mtune=tsv110" -DCMAKE_INSTALL_PREFIX=/path/to/SALMON -DBOOST_INCLUDEDIR=/path/to/BOOST/include -DBOOST_LIBRARYDIR=/path/to/BOOST/lib .. make -j && make install
Parent topic: Configuring the Compilation Environment