Compiling and Installing Palabos
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to create a main program installation directory:
mkdir -p /path/to/PALABOS
- Copy the installation package to the main program installation directory.
cp palabos-v2.1r0.zip /path/to/PALABOS
- Run the following command to go to the program installation directory:
cd /path/to/PALABOS
- Run the following commands to decompress the installation package:
unzip palabos-v2.1r0.zip
- Run the following command to go to the cavity2d case directory:
cd /path/to/PALABOS/palabos-v2.1r0/examples/showCases/cavity2d
- Run the following command to compile and install the main program based on the test case:
make -j 16
After the installation is successful, run the ll command to view the generated cavity2d binary executable file in the current directory.
Palabos builds a binary executable file based on the case model. The following uses the cavity2d case file as an example.
Parent topic: PALABOS 2.1r0 Porting Guide (CentOS 7.6)