GETOPT(3PVM)

NAME
pvm_getopt - Returns the value of various libpvm options.

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

PARAMETERS

what
    Integer defining what option is being selected. Options include:
    	PvmRoute	1	routing policy
    	PvmDebugMask	2	debugmask
    	PvmAutoErr	3	auto error reporting
    	PvmOutputTid	4	stdout device for children
    	PvmOutputCode	5	output msgtag
    	PvmTraceTid	6	trace device for children
    	PvmTraceCode	7	trace msgtag
    	PvmFragSize	8	message fragment size

val Integer returning the value of the option.

DISCUSSION
The routine pvm_getopt returns the value of the specified option in PVM.

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
setopt(3PVM)