Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 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.

Manual Scilab >> Computações Paralelas com PVM > pvm_config

pvm_config

sends a message

Calling Sequence

res = pvm_config()

Arguments

res

list of 7 elements such that:

(1)

(2)

integer returning the number of different data formats being used.

(3)

integer returning pvmd task ID for host.

(4)

character string returning name of host.

(5)

character string returning architecture name of host

(6)

integer returning relative speed of host. Default value is 1000.

(7)

integer status code returned by the routine.

Description

pvm_config returns information about the present virtual machine. The information returned is similar to that available from the console command.

The pvm_config function returns information about the entire virtual machine in one call.

The returned value res(7)will be zero if the call is successful and will be will be < 0 if some error occurs.

Examples

if pvm_start()==0 then
  res = pvm_config()
  pvm_halt()
end
<< pvm_bufinfo Computações Paralelas com PVM pvm_delhosts >>

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:
Wed Jan 26 16:24:43 CET 2011