1GETTID(3PVM)                    PVM Version 3.4                   GETTID(3PVM)
2
3
4

NAME

6       pvm_gettid  - Returns the tid of the process identified by a group name
7       and instance number.
8
9

SYNOPSIS

11       C    int tid = pvm_gettid( char *group, int inum )
12
13       Fortran   call pvmfgettid( group, inum, tid )
14
15

PARAMETERS

17       group   Character string that contains the name of an existing group.
18
19       inum    Integer instance number of the process in the group.
20
21       tid     Integer task identifier returned.
22
23

DESCRIPTION

25       The routine pvm_gettid returns the tid of the PVM process identified by
26       the  group  name  group and the instance number inum.  If pvm_gettid is
27       successful, tid will be > 0.  If some error occurs then tid will  be  <
28       0.
29
30

EXAMPLES

32       C:
33              tid = pvm_gettid("worker",0);
34
35       Fortran:
36               CALL PVMFGETTID('worker',5,TID)
37
38

ERRORS

40       These error conditions can be returned by pvm_gettid.
41
42       PvmSysErr
43              Can not contact the local pvmd; most likely it is not running.
44
45       PvmBadParam
46              Bad Parameter most likely a NULL character string.
47
48       PvmNoGroup
49              No group exists by that name.
50
51       PvmNoInst
52              No such instance in the group.
53

SEE ALSO

55       pvm_joingroup(3PVM), pvm_getinst(3PVM)
56
57
58
59                                30 August, 1993                   GETTID(3PVM)
Impressum