Step 8 of 8: Running Adsmith programs

  1. Be sure you have executable files in $HOME/pvm3/bin/$PVM_ARCH.
  2. Start pvm (if not already started).
  3. Add machines of same architecture on pvm > prompt.
  4. Type quit (not halt).
  5. Type rsort on command prompt. 

If invoking an adsmith sample program (say "matmul") the result might look like:

2 host detected
1: my range is 0 to 10
2: my range is 10 to 20
Time Computing and Refresh = 0.085689 sec
Time Including Prefetch = 0.086026 sec  

 

NOTE:
The machines must be the same architecture as the machine that you first invoke "pvm" on. If you're sitting at a Linux terminal and wish to make use of the PVM cluster machines, be sure to invoke the pvm command from a "Solaris Terminal" window. After adding the machines, quit (not halt!) out of the pvm console.The PVM daemon will still be running in the background