PVM.gettid {rpvm} | R Documentation |
Get the task id identified by a group name and an instance number
.PVM.gettid (group, inum = 0:(.PVM.gsize(group) - 1))
group |
a character string naming the group |
inum |
a vector of integer instance numbers |
.PVM.gettid
returns the tid of the PVM process identified by
the group name group
and the instance number inum
.
a vector of task ids.
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).
Na (Michael) Li nali@umn.edu and A.J. Rossini rossini@u.washington.edu
PVM documentation
gname <- "pvmtest" leader <- 0 ## Not run: leadtid <- .PVM.gettid (gname, leader)