next up previous contents
Next: Running MPI Up: Getting Started With Previous: Compilation

Creating a machinefile for Running Your MPI Program

A machinefile is a file that contains a list of the possible machines on which you want your MPI program to run. This file is useful if one of the Alphas is heavily loaded or is having problems. The particular machine you want to avoid can be commented out of the list of possible machines for selection. For example, jaguar is not possible for selection below.

# sample machine file
porsche.cis.udel.edu 
cobra.cis.udel.edu
corvette.cis.udel.edu 
ferrari.cis.udel.edu 
# jaguar.cis.udel.edu
lamborghini.cis.udel.edu 
lotus.cis.udel.edu 
maserati.cis.udel.edu 
viper.cis.udel.edu
For convenience, your machinefile should be kept in the same directory as your executable MPI files and named something appropriate like machines. The name of your machinefile will be used as an argument to the mpirun option -machinefile, (see next section).



Lori Pollock
Wed Feb 4 14:18:58 EST 1998