- Aide Scilab
- Calculs Parallèles avec PVM
- pvm
- pvm_addhosts
- pvm_barrier
- pvm_bcast
- pvm_bufinfo
- pvm_config
- pvm_delhosts
- pvm_error
- pvm_exit
- pvm_f772sci
- pvm_get_timer
- pvm_getinst
- pvm_gettid
- pvm_gsize
- pvm_halt
- pvm_joingroup
- pvm_kill
- pvm_lvgroup
- pvm_mytid
- pvm_parent
- pvm_probe
- pvm_recv
- pvm_reduce
- pvm_sci2f77
- pvm_send
- pvm_set_timer
- pvm_spawn
- pvm_spawn_independent
- pvm_start
- pvm_tasks
- pvm_tidtohost
- pvmd3
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.
pvm_addhosts
add hosts to the virtual machine.
Calling Sequence
[infos] = pvm_addhosts(hosts)
Arguments
- hosts
row of strings, naming the hosts to be added.
- infos
row of integer, corresponding to the status for each host.
Description
pvm_addhosts
adds the computers named in the row matrix hosts
to the configuration of computers making up the virtual machine.
The names should have the same syntax as lines of a pvmd hostfile:
i.e a hostname followed by options of the form xx=y
(see man page for pvmd3).
The row matrix info
will contain for each added host
its status. Values less than zero indicate an error,
while positive values are TIDs of the new hosts.
The status of hosts can be requested by the application using
pvm_config
.
If a host fails it will be automatically deleted from the configuration.
Using pvm_addhosts a replacement host can be added by the application,
however it is the responsibility of the
application developer to make his application tolerant of host failure.
Another use of this feature would be to add more hosts
as they become available, for example on a weekend, or if the
application dynamically determines it could use more computational power.
See Also
- pvm_delhosts — deletes hosts from the virtual machine.
- pvm_config — sends a message
<< pvm | Calculs Parallèles avec PVM | pvm_barrier >> |