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

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 commands to decompress the SU2 installation package:
    tar zxvf SU2-6.0.1.tar.gz
  4. Run the following command to switch to the directory generated after the package is decompressed:
    cd SU2-6.0.1
  5. Run the following command to run the bootstrap script:
    ./bootstrap
  6. Run the following command to switch to the SU2 installation directory:
    cd /path/to/SU2/
  7. Run the following command to perform configuration:
    SU2-6.0.1/configure --prefix=/path/to/SU2/ CXXFLAGS="-O3 -std=c++11 -march=armv8.2-a -mtune=tsv110" --enable-mpi --with-cc=mpicc --with-cxx=mpicxx --with-HDF5-lib=/path/to/HDF5/lib --with-HDF5-include=/path/to/HDF5/include
  8. Run the following commands to perform compilation and installation:
    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