Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to go to the installation directory:
cd /path/to/FastTree
- Run the following command to compile the concurrent versions:
gcc -DOPENMP -DUSE_DOUBLE -fopenmp -O3 -march=armv8.2-a -mtune=tsv110 -finline-functions -funroll-loops -Wall -o FastTreePar-2.1.11 FastTree.c -lm
- Run the following command to set the maximum number of concurrent threads to 128:
export OMP_NUM_THREADS=128
- Run the following commands to add the path to the .bashrc file:
echo "export PATH=/path/to/FastTree:$PATH" >> /root/.bashrc
source /root/.bashrc
Parent topic: FastTree 2.1.11 Porting Guide (CentOS 7.6)