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

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source package directory.
    cd /path/to/T-FLOWS
  3. Decompress the source package.
    tar -xvf v0.9.tar.gz
  4. Copy the dependency files.
    cp /path/to/metis/METIS-5.1.0.1/install/lib/libmetis.a /path/to/T-FLOWS/T-Flows-0.9/Sources/Libraries/Metis_5.1.0_Linux_64/
  5. Modify Makefile.

    Modify Makefile in each folder of /path/to/T-FLOWS/T-Flows-0.9/Sources/.

    Change FC = gfortran to FC = flang.

  1. Compile T-Flows.
    cd /path/to/T-FLOWS/T-Flows-0.9/Sources/Generate
    make
    cd /path/to/T-FLOWS/T-Flows-0.9/Sources/Convert
    make
    cd /path/to/T-FLOWS/T-Flows-0.9/Sources/Divide
    make
    cd /path/to/T-FLOWS/T-Flows-0.9/Sources/Process
    make
  1. After the compilation is complete, an executable file is generated in T-Flows-0.9/Binaries.

    If the following information is displayed, the installation is successful.