pvm_gsize

pvm_gsize — returns the number of members presently in the named group.

Calling sequence

[nb] = pvm_gsize(group)  

Parameters

group : string, string group name of an existing group.
nb : integer, returning the number of members presently in the group.

Description

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.

Examples



nb_worker = pvm_gsize( "worker" ) 
 
  

See also

pvm_joingroup