pvm_getopt(3)

pvm_getopt3

Returns the value of libpvm options.

Usage

C	int val = pvm_getopt( int what )
Fortran	call pvmfgetopt( what, val )

Parameters

what

Integer defining option to get. One of:

PvmRoute            1    Message routing policy
PvmDebugMask        2    Libpvm debug mask
PvmAutoErr          3    Auto error reporting
PvmOutputTid        4    Stdout destination for children
PvmOutputCode       5    Output message tag
PvmTraceTid         6    Trace data destination for children
PvmTraceCode        7    Trace message tag
PvmFragSize         8    Message fragment size
PvmResvTids         9    Allow messages to reserved tags and TIDs
PvmSelfOutputTid   10    Stdout destination
PvmSelfOutputCode  11    Output message tag
PvmSelfTraceTid    12    Trace data destination
PvmSelfTraceCode   13    Trace message tag
PvmShowTids        14    pvm_catchout prints task ids with output
PvmPollType        15    Message wait policy (shared memory)
PvmPollTime        16    Message spinwait duration
val

Integer returning the value of the option.

Overview

The routine pvm_getopt returns the value of the specified option in PVM. For a discussion of options and values, see pvm_setopt.

If an error occurs, the PVM error code is returned in place of the option value.

Examples

C:
	val = pvm_getopt( PvmFragSize );
Fortran:
	CALL PVMFGETOPT( PVMAUTOERR, VAL )

Errors

This error condition can be returned

PvmBadParam

giving an invalid value.

Releases

Unchanged in 4 releases since Debian 2.0 (Hamm).

  1. 2.0–3.0

From pvm-dev 3.4.2-8 in Debian 3.0 (Woody). Parsed by carta from the page's man source.