- Manual Scilab
- Computações Paralelas com 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_halt
stops the PVM daemon
Calling Sequence
[info] = pvm_halt()
Arguments
- info
integer, status code returned by the routine. Values less than zero indicate an error.
Description
pvm_halt
kills all PVM tasks, all the remote daemons, and the
local daemon. If the master pvmd is killed manually it should be
sent a SIGTERM
signal to allow it to kill the remote
pvmds and clean up various files.
The pvmd can be killed in a manner that leaves the file
/tmp/pvmd.uid
behind on one or more hosts
(the uid
suffix is the numeric user ID from
/etc/passwd
) of the user.
This will prevent PVM from restarting on
that host. Deletion of this file will fix this problem and
it can be done as follows:
rm `( grep $user /etc/passwd || ypmatch $user passwd )
| awk -F: '{print "/tmp/pvmd.";$3;exit}'`
For example:
-->pvm_halt() ans = 0. -->pvm_halt() ans = - 14.
Error -14 means: pvm_halt(): Can't contact local daemon
See Also
<< pvm_gsize | Computações Paralelas com PVM | pvm_joingroup >> |