Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.
-
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?
- General Reference
Show all
Copied.
Platform MPI
Scenarios
This section describes how to run Platform MPI (version platform_mpi- 09.01.04.03r-ce.bin is used as an example) in a BMS cluster.
Prerequisites
- Password-free login has been configured between BMSs in the cluster.
- Platform MPI has been installed on all BMSs in the cluster.
Procedure
- Disable the firewall.
- Modify the configuration file.
- Log in to a BMS in the cluster.
- Run the following command to obtain the BMS hostname:
Figure 2 Viewing the BMS hostname
- Log in to all other BMSs in the cluster and repeat 1.b to 2.b to obtain hostnames of all BMSs.
- Log in to a BMS in the cluster.
- Run the following command to add the hosts configuration file:
Add the private network IP addresses and hostnames of all BMSs in the cluster. For example, run the following commands:
192.168.0.1 bms-0004
192.168.0.2 bms-0005
...
- Run the following command to add the hostfile file:
$vi hostfile
Add hostnames of all BMSs in the cluster, for example:
bms-0004
bms-0005
...
- Log in to other BMSs in the cluster and repeat 2.e to 2.f.
- Run the following command to run Platform Open MPI in the BMS cluster:
$ mpirun -np 12 -machinefile hostfile /home/rhel/hello
Figure 3 Successful execution of Platform MPI in the BMS clusterNOTE:
Specify 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.
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