Reference

pvm_getopt(3)

Returns the value of libpvm options.

NAME

pvm_getopt - Returns the value of libpvm options.

SYNOPSIS

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.

DESCRIPTION

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.

SEE ALSO

pvm_setopt(3PVM)