MPICH
Scenarios
This section describes how to install and use MPICH (version mpich-3.3.2 is used as an example) in a Kunpeng BMS cluster.
Perform the operations on each BMS in a cluster.
Prerequisites
Password-free login has been configured between BMSs in the cluster.
Procedure
- Install MPICH.
- Download MPICH.
- Decompress the installation package and install MPICH.
For example, if the installation package is mpich-3.3.2.tar.gz, run the following commands:
# tar -xvf mpich-3.3.2.tar.gz
# cd mpich-3.3.2/
# ./configure --prefix=/opt/mpich-332 --with-device=ch4:ucx --with-ucx=/pub/mpi/ucx160/ --enable-fast=O3 CFLAGS="-fPIC -std=gnu11" FFLAGS=-fPIC CXXFLAGS=-fPIC FCFLAGS=-fPIC
# make -j 128 && make install
Figure 1 Successfully installed MPCHI
- Configure environment variables.
- Run the following command to check whether environment variables have been imported:
$ which mpirun
If information shown in Figure 2 is displayed, the environment variables have been imported.
- Run MPICH on a BMS.
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