Running the Test
Procedure
- Use PuTTY to log in to the server where OpenMPI is installed as the root user.
- Run the following command to configure the OpenMPI environment variable.
- vi /root/.bashrc
Or:
vi /etc/profile
- 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 - Press Esc, enter :wq!, and press Enter to save the changes and exit.
- vi /root/.bashrc
- Run the following command to make the environment variables take effect:
source /root/.bashrc
Or:
source /etc/profile
- 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.
- 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.
Parent topic: IMB Running
