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

OpenFOAM compiles and installs cfmesh and ccm tools

1. Compile cfmesh

The early compiled and installed OpenFOAM version of com, with the version number v2412, and there is no source code with cfmesh. According to the official documentation, you need to manually download the source code file of cfmesh:

cd $WM_PROJECT_DIR
git submodule update --init --recursive plugins/cfmesh

The following error occurs:

fatal: fatal: not a git repository (or any of the parent directories): .git

Okay, let’s try another approach. Download the source code directly through git to the specified folder, folder and URL path to view it .gitmodules document:

2 minutes to read
Andrew Moa

Install Ansys2025R1 on Ubuntu24.04

1. Preparation

161GB of disk space is required for the full installation. Please ensure that the remaining available disk space meets the requirements. You can choose the installation content according to your needs.

e8b6a55779447694ef28a8a9560f2bab.png
3f912a7795844465627dc878eb409e95.png

At least 8GB of memory is required during the installation process, and 16~32GB of memory is recommended.

6 minutes to read
Andrew Moa