Compiling and Installing SU2
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install the dependency:
yum install numpy.aarch64 -y
- Run the following commands to decompress the SU2 installation package:
tar zxvf SU2-6.0.1.tar.gz
- Run the following command to switch to the directory generated after the package is decompressed:
cd SU2-6.0.1
- Run the following command to run the bootstrap script:
./bootstrap
- Run the following command to switch to the SU2 installation directory:
cd /path/to/SU2/
- 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
- Run the following commands to perform compilation and installation:
make -j 32 make install
- 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
Parent topic: SU2 6.0.1 Porting Guide (CentOS 7.6)