GETOPT(3PVM)							 GETOPT(3PVM)

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

  val	  Integer returning the	value of the option.

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

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)


Back to the alphabetical listing
Back to the listing of routines for controling the virtual machine