PVM++: Tutorial

There are basically 3 fundamental classes in PVM++, representing the most important aspects of distributed computing. You need Tasks, they run on Hosts and they are sending Messages to each other. So you have the classes Pvm::Task, Pvm::Host and Pvm::Struct.

Then of course there is a global state of the system. Therefor there is another class Pvm::Class, which is a singleton, i.e. there is only one instance, that exists during the whole run of the program.

Often you need to deal with sets of tasks or sets of hosts. For that purpose there exist the classes Pvm::TaskSet and Pvm::HostSet resp., that are derived publicly from the STL-class set. So you can use the usual STL-operations on them.

Not much here yet, is it? So have a look at an Example and the Reference.