1START_PVMD(3PVM) PVM Version 3.4 START_PVMD(3PVM)
2
3
4
6 pvm_start_pvmd - Starts new PVM daemon.
7
8
10 C int info = pvm_start_pvmd( int argc, char **argv, int block )
11
12 Fortran call pvmfstartpvmd( args, block, info )
13
14
16 argc Number of arguments in argv.
17
18 argv An array of arguments to the executable.
19
20 args A character string containing the arguments to the executable.
21
22 args A character string containing the arguments to the executable.
23
24 block Integer specifying whether to block until startup of all hosts
25 complete or return immediately.
26
27 info Integer returning the error code.
28
29
31 The routine pvm_start_pvmd starts up a pvmd3 process, the master of a
32 new virtual machine. It returns as soon as the pvmd is started and
33 ready for work. If the block parameter is nonzero and a hostfile is
34 passed to the pvmd as a parameter, it returns when all hosts marked to
35 start have been added. pvm_start_pvmd returns zero on success.
36
37 If PVM is compiled to allow running more than one pvmd per host, a task
38 calling pvm_start_pvmd before any other pvm functions will connect to
39 the pvmd that it starts. pvm_start_pvmd sets environment variable PVM‐
40 SOCK to the address printed by the pvmd as it starts up.
41
42
44 C:
45 static char *argv[] = {
46 "-d41",
47 "/u/jones/pvmd_hosts",
48 };
49 argc = 2
50 info = pvm_start_pvmd( argc, argv, block );
51
52 Fortran:
53 CALL PVMFSTART_PVMD( '-d41 /u/jones/pvmd_hosts', BLOCK, INFO )
54
55
57 C:
58 static char *argv[] = {
59 "-d41",
60 "/u/jones/pvmd_hosts",
61 };
62 argc = 2
63 info = pvm_start_pvmd( argc, argv, block );
64
65 Fortran:
66 CALL PVMFSTART_PVMD( '-d41 /u/jones/pvmd_hosts', BLOCK, INFO )
67
68
70 The following error conditions can be returned
71
72 PvmDupHost
73 A pvmd is already running.
74
75 PvmSysErr
76 The local pvmd is not responding.
77
79 pvm_addhosts(3PVM), pvmd3(1PVM) pvmd3(1PVM)
80
81
82
83 11 December, 1995 START_PVMD(3PVM)