File: pvm_perror.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 (49 lines) | stat: -rw-r--r-- 1,081 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
.\" $Id: pvm_perror.3,v 1.1 1996/09/23 22:05:31 pvmsrc Exp $
.TH PERROR 3PVM "30 August, 1993" "" "PVM Version 3.4"
.SH NAME
pvm_perror \- Prints message describing the last error returned by a PVM call.

.SH SYNOPSIS
.nf
.ft B
C	int info = pvm_perror( char *msg )
.br

Fortran	call pvmfperror( msg, info )
.fi

.SH PARAMETERS
.IP msg 0.8i
Character string supplied by the user which will be prepended to
the error message of the last PVM call.
.br
.IP info
Integer status code returned by the routine.
Values less than zero indicate an error.

.SH DESCRIPTION
The routine
.I pvm_perror
returns the error message of the
last PVM call. The user can use
.I msg
to add additional
information to the error message, for example, its location.
.PP
Unless redirected, all stdout and stderr messages are placed
in the file /tmp/pvml.<uid> on the master host.

.SH EXAMPLES
.nf
C:
	if ( pvm_send( tid, msgtag ) )
		pvm_perror();
.sp
Fortran:
	CALL PVMFSEND( TID, MSGTAG )
	IF( INFO .LT. 0 ) CALL PVMFPERROR( 'Step 6', INFO )
.fi

.SH ERRORS
No error condition is returned by
.I pvm_perror.