![]() |
![]()
| ![]() |
![]()
NAMEpvm_getinst - Returns the instance number in a group of a PVM process. SYNOPSISC int inum = pvm_getinst( char *group, int tid ) PARAMETERSDESCRIPTIONThe routine pvm_getinst takes a group name group and a PVM task identifier tid and returns the unique instance number that corresponds to the input. It can be called by any task whether in the group or not. If pvm_getinst is successful, inum will be >= 0. If some error occurs then inum will be < 0. EXAMPLESC: inum = pvm_getinst( "worker", pvm_mytid() ); -------- inum = pvm_getinst( "worker", tid[i] ); Fortran: CALL PVMFGETINST( 'GROUP3', TID, INUM ) ERRORSThese error conditions can be returned by pvm_getinst
SEE ALSOpvm_joingroup(3PVM), pvm_gettid(3PVM)
|