Step 4 of 7: Creating Hostfile

Before you start MPI to compile the MPI program, you need to create a host file.

A sample hostfile is as follows:

ws404                               /* this is your workstation number             */
#is-sm1                             /*
currently not executing, commented      */ 
pvm1                                /*
Active processors, UNCC sun cluster   */  
pvm2                                /*
called   pvm1 - pvm8                            */
pvm3
pvm4
pvm5                                                                
pvm6
pvm7
  
pvm8