32
[root@qa-bc1-blade2 root]# /usr/local/topspin/mpi/mpich/bin/mpirun_ssh -np 2 qa-
bc1-blade2 qa-bc1-blade3 /usr/local/topspin/mpi/mpich/bin/mpi_bandwidth 1000
262144
The authenticity of host 'qa-bc1-blade2 (X.X.X.X)' can't be established.
RSA key fingerprint is 0b:57:f2:c9:dc:cb:ef:67:1c:51:3b:bf:58:8a:35:04.
Are you sure you want to continue connecting (yes/no)?
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'qa-bc1-blade2,10.2.1.176' (RSA) to the list of known
hosts.
262144
241.250722
[root@qa-bc1-blade2 root]#
NOTE: Optionally, you can add the paths for all users by adding
export PATH=$PATH:/usr/local/topspin/mpi/mpich/bin:/usr/local/topspin/bin to your
/etc/profile.d script.
4.
Verify that your compiler and MPI script match. Compilers reside in the
/usr/local/topspin/mpi/mpich/bin directory. GNU compilers use mpicc and mpif77 scripts. Intel
compilers use mpicc.i and mpif90.i scripts.
Perform Bandwidth Test
Before you perform the bandwidth test, configure rsh or ssh on your hosts. To perform the test, perform
the following steps:
1.
Log in to your local host.
2.
Enter the mpirun_ssh (or mpirun_rsh) command with
•
the -np keyword to specify the number of processes
•
the number of processes (integer)
•
the host name of the local host
•
the host name of the remote host
•
the mpi_bandwidth command
•
the number of times to transfer the data (integer)
•
the number of bytes to transfer (integer)
to perform the bandwidth test.
Example
3.
Enter yes at the prompt to connect to your remote host.
Example
The output (in the example, 241.250722) represents available bandwidth, in MB/sec.
Perform Latency Test
Before you perform the bandwidth test, configure rsh or ssh on your hosts. To perform the test, perform
the following steps:
1.
Log in to your local host.
2.
Enter the mpiruh_ssh command with