Message Parsing Interface (MPI)
- How do I set up my MPI Environment?
- How do I execute MPI on multiple computers?
- How do I test my connection?
How do I set up my MPI Environment?
Execute the following commands:
- # cd $HOME
- # cp /usr/local/cshrc/.cshrc .
- # source .cshrc
Alternatively, you can enter the following lines in your csh login script
setenv MPICH "/user/local/mpich"
setenv PATH "$MPICH/vin:$PATH
How do I execute MPI on multiple computers?
Use an editor to update or create the file, .rhosts, in your $HOME directory. This example uses vi.
Enter the command:
# vi .rhosts
In this file, enter the following lines
station10 {username}
station11 {username}
station12 {username}
...
station20 {username}
The machine names in this list are the machines you want to send work to.
To test your connection, execute the command:
# rsh stationX.cs.utep.edu
Where X is the station number (1-20). You should be able to connect to that station. If you can't, then check your .rhosts file to make sure that station and your username is in the file.