我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to go to the installation directory:

    cd /path/to/FastTree

  3. 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

  4. Run the following command to set the maximum number of concurrent threads to 128:

    export OMP_NUM_THREADS=128

  5. Run the following commands to add the path to the .bashrc file:

    echo "export PATH=/path/to/FastTree:$PATH" >> /root/.bashrc

    source /root/.bashrc