Message Parsing Interface (MPI)

How do I set up my MPI Environment?

Execute the following commands:

  1. # cd $HOME
  2. # cp /usr/local/cshrc/.cshrc .
  3. # source .cshrc

Alternatively, you can enter the following lines in your csh login script

setenv MPICH "/user/local/mpich"
setenv PATH "$MPICH/vin:$PATH

^ Return to Top


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.

^ Return to Top


How do I test my connection?

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.

^ Return to Top