Use the script tstmachines in /usr/local/mpi/lib/<arch>/<device> to ensure that you can use all of the machines that you have listed. This script performs an rsh and a short directory listing; this tests that you both have access to the node and that a program in the current directory is visible on the remote node. If there are any problems, they will be listed. These problems must be fixed before proceeding.
The only argument to bin/tstmachines is the name of the architecture;
this is the same name as the extension on the machines file. For example,
/usr/local/mpi/bin/tstmachines sun4tests that a program in the current directory can be executed by all of the machines in the sun4 machines list. This program is silent if all is well; if you want to see what it is doing, use the -v (for verbose) argument:
/usr/local/mpi/bin/tstmachines -v sun4The output from this command might look like
Trying true on host1.uoffoo.edu ... Trying true on host2.uoffoo.edu ... Trying ls on host1.uoffoo.edu ... Trying ls on host2.uoffoo.edu ... Trying user program on host1.uoffoo.edu ... Trying user program on host2.uoffoo.edu ...