Go to the first, previous, next, last section, table of contents.

Dummy's guide to using PVM

Before you can run a parallel program under PVM, you must set the required environment variables (PVM's idea, not ours); something like, probably in your `.cshrc' or equivalent:

setenv PVM_ROOT /wherever/you/put/it
setenv PVM_ARCH `$PVM_ROOT/lib/pvmgetarch`
setenv PVM_DPATH $PVM_ROOT/lib/pvmd

Creating and/or controlling your "parallel machine" is a purely-PVM business; nothing specific to Parallel Haskell.

You use the `pvm' command to start PVM on your machine. You can then do various things to control/monitor your "parallel machine;" the most useful being:

`Control-D'      exit `pvm', leaving it running  
`halt'           kill off this "parallel machine" & exit  
`add <host>'     add `<host>' as a processor     
`delete <host>'  delete `<host>'                 
`reset'          kill what's going, but leave PVM up      
`conf'           list the current configuration           
`ps'             report processes' status                 
`pstat <pid>'    status of a particular process           

The PVM documentation can tell you much, much more about `pvm'!


Go to the first, previous, next, last section, table of contents.