next up previous

4.6 Host/Node Programs

In this model, two different programs are used. The host program is executed only by the partition manager. The node program is run on all the nodes in the partition. In this case, the partition manager executes the host program and also functions as the I/O server for the nodes when necessary. The first call to CMMD by a host program must be cmmd_enable(). This initializes CMMD and starts the node programs. The first call to CMMD by a node program should be cmmd_enable_host(). This allows the host program to return from its call to cmmd_enable(). Special functions provided in the CMMD library must be used by the nodes for I/O.