Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - Português

Change language to:
English - Français - 日本語 -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Ajuda Scilab >> Computações Paralelas com PVM > 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.

See Also

  • pvm_joingroup — enrolls the calling process in a named group.
  • pvm_gettid — returns the tid of the process identified by a group name and instance number
<< pvm_get_timer Computações Paralelas com PVM pvm_gettid >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:45:28 CEST 2011