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
Help Center>
High Performance Computing>
User Guide>
Typical Applications in the ECS Scenario>
Running MPI Applications on an HPC Cluster>
Spectrum MPI
Updated at: Feb 10, 2022 GMT+08:00
Spectrum MPI
Scenarios
This section describes how to run Spectrum MPI (IBM Spectrum MPI v10.1) on a configured ECS.
Prerequisites
- An ECS equipped with InfiniBand NICs has been created, and an EIP has been bound to it.
- Multiple ECSs have been created using a private image.
Procedure
- Use PuTTY and a key pair to log in to the ECS.
Ensure that the username specified during ECS creation is used to establish the connection.
- Run the following command to disable user logout upon system timeout:
- Run the following command to check whether the ECSs to be tested can be logged in to from each other without a password:
- Run the following commands to disable the firewall of the ECS:
# service firewalld stop
- Run the executable file in the cluster using Spectrum MPI (use IP:Number as parameter hostlist).
- IP indicates the IP addresses of the ECSs in the cluster.
- Number indicates the number of tasks on an ECS.
For example, there are two ECSs with hostnames host-192-168-0-27 and host-192-168-0-75 in the cluster, and the executable file spe_hello is stored in /root/spe_hello. Then, run the following command:
# mpirun --allow-run-as-root -np 2 -hostlist host-192-168-0-27,host-192-168-0-75 /root/spe_hello
Figure 1 Running the executable file in the cluster using Spectrum MPISpecify the path of hostfile when running it. The path of the executable file hello must be absolute. All executable files in the cluster must be in the same directory.
Parent topic: Running MPI Applications on an HPC Cluster