File: pvm_serror.3

package info (click to toggle)
pvm 3.4.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,280 kB
  • sloc: ansic: 72,074; makefile: 1,197; fortran: 631; sh: 282; csh: 74; asm: 37
file content (57 lines) | stat: -rw-r--r-- 1,336 bytes parent folder | download | duplicates (14)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" $Id: pvm_serror.3,v 1.1 1996/09/23 22:06:13 pvmsrc Exp $
.TH SERROR 3PVM "30 August, 1993" "" "PVM Version 3.4"
.SH NAME
pvm_serror \- Sets automatic error message printing on or off.
.br
[In Version 3.2: Replaced by pvm_setopt]

.SH SYNOPSIS
.nf
.ft B
C	int oldset = pvm_serror( int set )
.br

Fortran	call pvmfserror( set, oldset )
.fi

.SH PARAMETERS
.IP set 0.8i
Integer defining whether detection is to be turned on (1) or off (0).
.br
.IP oldset
Integer defining the previous setting of pvm_serror.

.SH DESCRIPTION
The routine
.I 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
.I 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
.I oldset.
.PP
All stdout and stderr messages are placed
in the file /tmp/pvml.<uid> on the master pvmd's host.

.SH EXAMPLES
.nf
C:
	info = pvm_serror( 1 );
Fortran:
	CALL PVMFSERROR( 0, INFO )

.SH ERRORS
This error condition can be returned by
.I pvm_serror
.IP PvmBadParam
giving an invalid set value.
.PP

.SH SEE ALSO
pvm_setopt(3PVM)