DOKK / manpages / debian 10 / pvm-dev / pvm_gsize.3pvm.en
GSIZE(3PVM) PVM Version 3.4 GSIZE(3PVM)

pvm_gsize - Returns the number of members presently in the named group.

C	int size = pvm_gsize( char *group )

Fortran call pvmfgsize( group, size )

Character string group name of an existing group.
Integer returning the number of members presently in the group. Values less than zero indicate an error.

The routine pvm_gsize returns the size of the group named group. If there is an error size will be negative.

Since groups can change dynamically in PVM 3.0, this routine can only guarantee to return the instantaneous size of a given group.

C:
	size = pvm_gsize( "worker" );

Fortran:
	CALL PVMFGSIZE( 'group2', SIZE )

These error conditions can be returned by pvm_gsize

pvmd was not started or has crashed.
giving an invalid group name.

pvm_joingroup(3PVM)

30 August, 1993