PVM.gettid {rpvm}R Documentation

Task id identified by group name and instance number

Description

Get the task id identified by a group name and an instance number

Usage

.PVM.gettid (group, inum = 0:(.PVM.gsize(group) - 1))

Arguments

group a character string naming the group
inum a vector of integer instance numbers

Details

.PVM.gettid returns the tid of the PVM process identified by the group name group and the instance number inum.

Value

a vector of task ids.

Note

inum is given a default value corresponding to all instances in the group. It is not valid when the instances numbers are not continues (when, for example, some processes already left the group).

Author(s)

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

References

PVM documentation

See Also

.PVM.joingroup, .PVM.getinst

Examples

gname <- "pvmtest"
leader <- 0
## Not run: leadtid <- .PVM.gettid (gname, leader)

[Package rpvm version 0.6-2 Index]