Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing Palabos

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to create a main program installation directory:
    mkdir -p /path/to/PALABOS
  3. Copy the installation package to the main program installation directory.
    cp palabos-v2.1r0.zip /path/to/PALABOS
  4. Run the following command to go to the program installation directory:
    cd /path/to/PALABOS
  5. Run the following commands to decompress the installation package:
    unzip palabos-v2.1r0.zip
  6. Run the following command to go to the cavity2d case directory:
    cd /path/to/PALABOS/palabos-v2.1r0/examples/showCases/cavity2d
  7. 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.