All Documents
High Performance ComputingHigh Performance Computing
-
User Guide
- Overview
- Typical Applications in the ECS Scenario
- Best Practices in the ECS Scenario
- Typical Applications in the BMS Scenario
- Change History
-
HPC-S² User Guide
- Overview
- Getting Started
- User Guide
-
FAQs
- Why Am I Still Charged After I Deleted My Cluster?
- What Can I Do If a Compute Node Cannot Be Found or Fails to Be Added to a Cluster?
- If I Fail to Deploy a Cloud Server in a Cluster, Can I Deploy It in Another Cluster?
- What Can I Do If I Receive Error Message "Insufficient EIP quota"?
- What Can I Do If the Maximum Number of Clusters Has Been Reached?
- What Can I Do If I Receive Error Message "master node cannot reached" But the Master Node is Running?
- Change History
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.