pvm_serror - Sets automatic error message printing on or off.
Contents
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.
Errors
This error condition can be returned by pvm_serror
PvmBadParam
giving an invalid set value.
Examples
C:
info = pvm_serror( 1 );
Fortran:
CALL PVMFSERROR( 0, INFO )
Name
pvm_serror - Sets automatic error message printing on or off.
[In Version 3.2: Replaced by pvm_setopt]
Parameters
set Integer defining whether detection is to be turned on (1) or off (0).
oldset Integer defining the previous setting of pvm_serror.
See Also
pvm_setopt(3PVM) 30 August, 1993 SERROR(3PVM)
Synopsis
Cintoldset=pvm_serror(intset)Fortrancallpvmfserror(set,oldset)
