Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português do Brasil - English

Please note that the recommended version of Scilab is 5.3.3. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> PVM parallel Toolbox > pvm_getinst

pvm_getinst

returns the instance number in a group of a PVM process.

Calling Sequence

[inum] = pvm_getinst(group, tid)

Arguments

group

string, string group name of an existing group.

tid

integer, task identifier of a PVM process.

inum

integer, instance number returned by the routine.

Description

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.

The returned value inumwill be >= 0 if the call is successful and will be will be < 0 if some error occurs.

<< pvm_get_timer PVM parallel Toolbox pvm_gettid >>

Consortium Scilab (DIGITEO)
Scilab Enterprises

Copyright (c) 2011-2012 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:25:14 CET 2011