Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvmfstartpvmd(3pvm) [debian man page]

START_PVMD(3PVM)						  PVM Version 3.4						  START_PVMD(3PVM)

NAME
pvm_start_pvmd - Starts new PVM daemon. SYNOPSIS
C int info = pvm_start_pvmd( int argc, char **argv, int block ) Fortran call pvmfstartpvmd( args, block, info ) PARAMETERS
argc Number of arguments in argv. argv An array of arguments to the executable. args A character string containing the arguments to the executable. args A character string containing the arguments to the executable. block Integer specifying whether to block until startup of all hosts complete or return immediately. info Integer returning the error code. DESCRIPTION
The routine pvm_start_pvmd starts up a pvmd3 process, the master of a new virtual machine. It returns as soon as the pvmd is started and ready for work. If the block parameter is nonzero and a hostfile is passed to the pvmd as a parameter, it returns when all hosts marked to start have been added. pvm_start_pvmd returns zero on success. If PVM is compiled to allow running more than one pvmd per host, a task calling pvm_start_pvmd before any other pvm functions will connect to the pvmd that it starts. pvm_start_pvmd sets environment variable PVMSOCK to the address printed by the pvmd as it starts up. EXAMPLES
C: static char *argv[] = { "-d41", "/u/jones/pvmd_hosts", }; argc = 2 info = pvm_start_pvmd( argc, argv, block ); Fortran: CALL PVMFSTART_PVMD( '-d41 /u/jones/pvmd_hosts', BLOCK, INFO ) EXAMPLES
C: static char *argv[] = { "-d41", "/u/jones/pvmd_hosts", }; argc = 2 info = pvm_start_pvmd( argc, argv, block ); Fortran: CALL PVMFSTART_PVMD( '-d41 /u/jones/pvmd_hosts', BLOCK, INFO ) ERRORS
The following error conditions can be returned PvmDupHost A pvmd is already running. PvmSysErr The local pvmd is not responding. SEE ALSO
pvm_addhosts(3PVM), pvmd3(1PVM) pvmd3(1PVM) 11 December, 1995 START_PVMD(3PVM)

Check Out this Related Man Page

DELHOSTS(3PVM)							  PVM Version 3.4						    DELHOSTS(3PVM)

NAME
pvm_delhosts - Deletes hosts from the virtual machine. SYNOPSIS
C int info = pvm_delhosts( char **hosts, int nhost, int *infos ) Fortran call pvmfdelhost( host, info ) PARAMETERS
hosts An array of pointers to character strings containing the names of the machines to be deleted. nhost Integer specifying the number of hosts to be deleted. infos Integer array of length nhost which contains the status code returned by the routine for the individual hosts. Values less than zero indicate an error. host Character string containing the name of the machine to be deleted. info Integer status code returned by the routine. Values less than nhost indicate partial failure, values less than 1 indicate total failure. DESCRIPTION
The routine pvm_delhosts deletes the computers pointed to in hosts from the existing configuration of computers making up the virtual machine. All PVM processes and the pvmd running on these computers are killed as the computer is deleted. If pvm_delhosts is successful, info will be nhost. Partial success is indicated by 1<= info < nhost, and total failure by info < 1. The array infos can be checked to determine which host caused the error. The Fortran routine pvmfdelhost deletes a single host from the configuration with each call. If a host fails, the PVM system will continue to function and will automatically delete this host from the virtual machine. An application can be notified of a host failure by calling pvm_notify. It is still the responsibility of the application developer to make his applica- tion tolerant of host failure. EXAMPLES
C: static char *hosts[] = { "sparky", "thud.cs.utk.edu", }; int status[2]; info = pvm_delhosts( hosts, 2, status ); Fortran: CALL PVMFDELHOST( 'azure', INFO ) ERRORS
These error conditions can be returned by pvm_delhosts PvmBadParam giving an invalid argument value. PvmSysErr local pvmd not responding. SEE ALSO
pvm_addhosts(3PVM), pvm_notify(3PVM) 30 August, 1993 DELHOSTS(3PVM)
Man Page