Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source package directory.
cd /path/to/T-FLOWS
- Decompress the source package.
tar -xvf v0.9.tar.gz
- 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/
- Modify Makefile.
Modify Makefile in each folder of /path/to/T-FLOWS/T-Flows-0.9/Sources/.
Change FC = gfortran to FC = flang.
- 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
- 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.

Parent topic: T-Flows 0.9 Porting Guide (Kylin V10)