File: pvm_addhosts.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 (41 lines) | stat: -rw-r--r-- 1,424 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
40
41
pvm_addhosts       Scilab // Group       Scilab function       pvm_addhosts
NAME
   pvm_addhosts - add hosts to the virtual machine.
  
CALLING SEQUENCE
 [infos] = pvm_addhosts(hosts)
   
  
PARAMETERS
 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
  
   to the configuration of computers making up the virtual machine. The
  names should have the same syntax as lines of a pvmd hostfile (see man
  page for pvmd3): A hostname followed by options of the form xx=y.
  
   The array
  
   can be checked to determine the status for each host. 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.
  
   
  
EXAMPLE
 info = pvm_addhosts(["isostar","loop"])
SEE ALSO
   pvm_delhosts, pvm_config