JOINGROUPSection: PVM Version 3.4 (3PVM)Updated: 30 August, 1993 |
JOINGROUPSection: PVM Version 3.4 (3PVM)Updated: 30 August, 1993 |
C int inum = pvm_joingroup( char *group )
Fortran call pvmfjoingroup( group, inum )
Instance numbers start at 0 and count up. When using groups a (group, inum) pair uniquely identifies a PVM process. This is consistent with the PVM 2.4 naming schemes. If a task leaves a group by calling pvm_lvgroup and later rejoins the same group, the task is not guaranteed to get the same instance number. PVM attempts to reuse old instance numbers, so when a task joins a group it will get the lowest available instance number. A task can be a member of multiple groups simultaneously.
C:
inum = pvm_joingroup( "worker" );
Fortran:
CALL PVMFJOINGROUP( 'group2', INUM )