File: pvm_halt.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (39 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

pvm_halt(1)                    Scilab function                    pvm_halt(1)
NAME
  pvm_halt - stops the PVM daemon

CALLING SEQUENCE
  [info] = pvm_halt()

PARAMETERS

  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.   Uid  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:

           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_start, pvm_addhosts, pvm_config, pvm_error