Rate This Document
Findability
Accuracy
Completeness
Readability

An Error Is Reported When Running MPI as the Root User

Symptom

When you run the test.sh script, the following error information is displayed:

Key Process and Cause Analysis

To run MPI as the root user, add --allow-run-as-root.

Conclusion and Solution

Add --allow-run-as-root to mpirun in the script.