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

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

C	int tid = pvm_gettid( char *group, int inum )

Fortran call pvmfgettid( group, inum, tid )

Character string that contains the name of an existing group.
Integer instance number of the process in the group.
Integer task identifier returned.

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

C:
	  tid = pvm_gettid("worker",0);

Fortran:
	   CALL PVMFGETTID('worker',5,TID)

These error conditions can be returned by pvm_gettid.

Can not contact the local pvmd; most likely it is not running.
Bad Parameter most likely a NULL character string.
No group exists by that name.
No such instance in the group.

pvm_joingroup(3PVM), pvm_getinst(3PVM)

30 August, 1993