.PVM.notify {rpvm}R Documentation

Monitor pvmd

Description

Request notification of PVM event such as host failure.

Usage

.PVM.notify (msgtag, what = c("ExitTask", "DeleteHost", "AddHost"),
             par = 0)

Arguments

msgtag message tag to be used in notification
what a character string specifying the type of event to trigger the notification, must be one of "ExitTask" (default), "DeleteHost", or "AddHost".
par additional parameter, if what = "AddHost", specify the number of times to notify, if what = "DeleteHost" or "ExitTask", specify a vector of host id or task id.

Details

The routine .PVM.notify requests PVM to notify the caller on detecting certain events. One or more notify messages (see below) are sent by PVM back to the calling task. The messages have tag msgtag supplied to notify.

The notification messages have the following format:

Value

Status code returned by the routine. -1 if there was an error.

Author(s)

Na (Michael) Li nali@umn.edu and A.J. Rossini rossini@u.washington.edu

References

PVM documentation

See Also

PVMD

Examples

## Not run: .PVM.notify (msgtag = 999, what = "Exit", tids)

[Package rpvm version 0.6-2 Index]