Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvm_serror(3pvm) [debian man page]

SERROR(3PVM)							  PVM Version 3.4						      SERROR(3PVM)

NAME
pvm_serror - Sets automatic error message printing on or off. [In Version 3.2: Replaced by pvm_setopt] SYNOPSIS
C int oldset = pvm_serror( int set ) Fortran call pvmfserror( set, oldset ) PARAMETERS
set Integer defining whether detection is to be turned on(1) or off(0). oldset Integer defining the previous setting of pvm_serror. DESCRIPTION
The routine pvm_serror sets automatic error message printing for all subsequent PVM calls by this process. Any PVM routines that return an error condition will automatically print the associated error message. The argument set defines whether this detection is to be turned on(1) or turned off(0) for subsequent calls. In the future a value of(2) will cause the program to exit after printing the error message. pvm_serror returns the previous value of set in oldset. All stdout and stderr messages are placed in the file /tmp/pvml.<uid> on the master pvmd's host. EXAMPLES
C: info = pvm_serror( 1 ); Fortran: CALL PVMFSERROR( 0, INFO ) ERRORS
This error condition can be returned by pvm_serror PvmBadParam giving an invalid set value. SEE ALSO
pvm_setopt(3PVM) 30 August, 1993 SERROR(3PVM)

Check Out this Related Man Page

KILL(3PVM)							  PVM Version 3.4							KILL(3PVM)

NAME
pvm_kill - Terminates a specified PVM process. SYNOPSIS
C int info = pvm_kill( int tid ) Fortran call pvmfkill( tid, info ) PARAMETERS
tid Integer task identifier of the PVM process to be killed (not yourself). info Integer status code returned by the routine. Values less than zero indicate an error. DESCRIPTION
The routine pvm_kill sends a terminate (SIGTERM) signal to the PVM process identified by tid. In the case of multiprocessors the terminate signal is replaced with a host dependent method for killing a process. If pvm_kill is successful, info will be 0. If some error occurs then info will be < 0. pvm_kill is not designed to kill the calling process. To kill yourself in C call pvm_exit() followed by exit(). To kill yourself in For- tran call pvmfexit followed by stop. EXAMPLES
C: info = pvm_kill( tid ); Fortran: CALL PVMFKILL( TID, INFO ) ERRORS
These error conditions can be returned by pvm_kill PvmBadParam giving an invalid tid value. PvmSysErr pvmd not responding. SEE ALSO
pvm_exit(3PVM), pvm_halt(3PVM) 30 August, 1993 KILL(3PVM)
Man Page