Platform MPI
Scenarios
This section describes how to install and use Platform MPI (for example, platform_mpi-09.01.04.03r-ce) on an ECS.
Prerequisites
You have configured the ECS password-free login.
Procedure
- Install Platform MPI.
- Run the following command to install the required library file:
- Add the execution permission. For example, the installation package is stored in /root.
# cd /root && chmod +x platform_mpi- 09.01.04.03r-ce.bin
- Run the following command to install Platform MPI:
# ./platform_mpi- 09.01.04.03r-ce.bin
Press Enter or 1 (accept the agreement) as prompted until the installation is complete.
Figure 1 Successful Platform MPI installation
The default installation path is /opt/ibm/platform_mpi.
- Configure MPI environment variables.
- Run the following command to obtain the pkey:
# cat /sys/class/infiniband/mlx5_0/ports/1/pkeys/* | grep -v 0000
Figure 2 Obtaining the pkey
- Add the following statements in ~/.bashrc as a common user:
export MPI_ROOT=/opt/ibm/platform_mpi
export PATH=$MPI_ROOT/bin:$PATH
export LD_LIBRARY_PATH=/opt/ibm/platform_mpi/lib/linux_amd64
export MPI_IB_PKEY=pkey obtained in 2.a
$source ~/.bashrcIf there are multiple pkeys, use a comma to separate them.
- Run the following command to check whether the environment variables have been imported:
Figure 3 Successfully importing environment variables of Platform MPI
- Run the following command to obtain the pkey:
- Run Platform MPI on an ECS:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot