File: pvm_halt.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (35 lines) | stat: -rw-r--r-- 1,128 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
pvm_halt         Scilab // Group         Scilab function           pvm_halt
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