Andrew Moa Blog Site

Solve the “Authorization required, but no authorization protocol specified” error message of OpenMPI

Recently, when submitting calculations with OpenFOAM and SU2, the error message “Authorization required, but no authorization protocol specified” repeatedly appeared. Although the calculation was eventually completed by ignoring it, the constant error message made me feel uneasy.

I suspected that it was a problem with OpenMPI, and verified it with the following command:

mpirun -np 2 hostname

Sure enough, an error message appeared:

9369ef647d5aff57821c1d728ec4eca1.png

One minute to read
Andrew Moa

Ubuntu compile and install SU2

SU2 is an open source CFD solver developed by the School of Aeronautics and Astronautics at Stanford University. It is based on C++ and Python and is similar to OpenFOAM, but does not support polyhedral meshes. Compared with OpenFOAM, SU2 has more advantages in solving high-speed compressible flows.

Download SU2 source code:

mkdir $HOME/su2code && cd $HOME/su2code
# Only clone the latest commit version to speed up downloading
git clone https://github.com/su2code/SU2.git --depth=1

Define environment variables and create a new configuration file su2.env:

2 minutes to read
Andrew Moa

Solver Verification Comparison - Laminar Flow Between Rotating and Static Concentric Cylinders

This paper uses different CFD solvers to verify the laminar flow problem. Verify the accuracy of each solver by listing the operating procedures and differences in the output results of different solvers.


1. Problem description

As shown in the figure below, a fixed-constant laminar flow model between two concentric cylinders is established. The flow is caused by the rotation of the inner cylinder at a constant angular velocity, while the outer cylinder remains stationary. Using periodic boundaries, only a portion of the basin needs to be modeled. The physical model and input data are shown in the following table.

16 minutes to read
Andrew Moa