Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing SU2

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install the dependency:
    yum install numpy.aarch64 -y
  3. Run the following command to decompress the SU2 installation package:
    tar zxvf SU2-7.0.4.tar.gz
  4. Run the following command to switch to the directory generated after decompression:
    cd SU2-7.0.4
  5. Execute the bootstrap script.
    ./bootstrap
  6. Run the following commands to switch to the SU2 installation directory:
    mkdir ../SU2-7.0.4-gnu-9.3.build
    cd ../SU2-7.0.4-gnu-9.3.build
  7. Run the following command to perform configuration:
    ../SU2-7.0.4/configure --prefix=/path/to/SU2/ CXXFLAGS="-O3 -std=c++11 -march=armv8.2-a -mtune=tsv110" --enable-mpi --with-cc=mpicc --with-cxx=mpicxx
  8. Run the following commands to compile and install SU2:
    make -j 32
    make install
  9. Run the following commands to add the environment variables:
    export SU2_RUN=/path/to/SU2/bin
    export SU2_HOME=/path/to/SU2
    export PATH=$PATH:$SU2_RUN
    export PYTHONPATH=$PYTHONPATH:$SU2_RUN