Rate This Document
Findability
Accuracy
Completeness
Readability

Running the Test

Procedure

  1. Use PuTTY to log in to the server where OpenMPI is installed as the root user.
  2. Run the following command to configure the OpenMPI environment variable.
    1. vi /root/.bashrc

      Or:

      vi /etc/profile

    2. Press i to enter the editing mode and add the following information to the end of the /root/.bashrc or /etc/profile file:
      MPI_HOME=/home/OpenMPI
      export PATH=${MPI_HOME}/bin:$PATH
      export LD_LIBRARY_PATH=${MPI_HOME}/lib:$LD_LIBRARY_PATH
    3. Press Esc, enter :wq!, and press Enter to save the changes and exit.
  3. Run the following command to make the environment variables take effect:

    source /root/.bashrc

    Or:

    source /etc/profile

  4. Run the following command to start the IMB PingPong test:
    mpirun --allow-run-as-root -npernode 1 -host armnode1,armnode2 IMB-MPI1 PingPong

    In the preceding command, armnode1 and armnode2 are the host names of the IMB servers. Change them based on site requirements.

  5. In the test results displayed, the third column t[usec] shows the MPI latency test results (select the minimum value), the fourth column Mbytes/sec shows the MPI bandwidth test results (select the maximum value).
    Figure 1 shows an example of the test result.
    Figure 1 Test result example