1GSIZE(3PVM) PVM Version 3.4 GSIZE(3PVM)
2
3
4
6 pvm_gsize - Returns the number of members presently in the named group.
7
8
10 C int size = pvm_gsize( char *group )
11
12 Fortran call pvmfgsize( group, size )
13
14
16 group Character string group name of an existing group.
17
18 size Integer returning the number of members presently in the group.
19 Values less than zero indicate an error.
20
21
23 The routine pvm_gsize returns the size of the group named group. If
24 there is an error size will be negative.
25
26 Since groups can change dynamically in PVM 3.0, this routine can only
27 guarantee to return the instantaneous size of a given group.
28
29
31 C:
32 size = pvm_gsize( "worker" );
33
34 Fortran:
35 CALL PVMFGSIZE( 'group2', SIZE )
36
37
39 These error conditions can be returned by pvm_gsize
40
41 PvmSysErr
42 pvmd was not started or has crashed.
43
44 PvmBadParam
45 giving an invalid group name.
46
48 pvm_joingroup(3PVM)
49
50
51
52 30 August, 1993 GSIZE(3PVM)