Scilab Reference Manual |
---|
pvm_gsize — returns the number of members presently in the named group.
[nb] = pvm_gsize(group)
group | : string, string group name of an existing group. |
nb | : integer, returning the number of members presently in the group. |
pvm_gsize returns the size of the group named group
The returned value nbwill be >= 0 if the call is successful and will be will be < 0 if some error occurs.
Since groups can change dynamically in PVM 3.0, this routine can only guarantee to return the instantaneous size of a given group.
nb_worker = pvm_gsize( "worker" )
<< pvm_get_timer | pvm_halt >> |