Environment Variable Configuration Error
Symptom
The mpirun command fails to be executed in a cluster environment due to an environment configuration error.
The following is an example of the execution failure:
$ mpirun ~/AllReduce
--------------------------------------------------------------------------
Sorry! You were supposed to get help about:
opal_init:startup:internal-failure
But I couldn't open the help file:
/usr1/workspace/Version_pipeline_ompi_X86_gcc9.3_CentOS7.6_MLX4.9/ompi/build/../share/openmpi/help-opal-runtime.txt: No such file or directory. Sorry!
--------------------------------------------------------------------------
Possible Causes
The OPAL_PREFIX environment variable has not been configured in the .bashrc file.
Procedure
- Use PuTTY to log in to a job execution node as a common Hyper MPI user, for example, hmpi_user.
- Modify the .bashrc file and configure environment variables. For details, see Configuring Environment Variables.
Parent topic: FAQ