1GETOPT(3PVM)                    PVM Version 3.4                   GETOPT(3PVM)
2
3
4

NAME

6       pvm_getopt - Returns the value of libpvm options.
7
8

SYNOPSIS

10       C    int val = pvm_getopt( int what )
11
12       Fortran   call pvmfgetopt( what, val )
13
14

PARAMETERS

16       what    Integer defining option to get.  One of:
17               PvmRoute              1    Message routing policy
18               PvmDebugMask          2    Libpvm debug mask
19               PvmAutoErr            3    Auto error reporting
20               PvmOutputTid          4    Stdout destination for children
21               PvmOutputCode         5    Output message tag for children
22               PvmTraceTid           6    Trace data destination for children
23               PvmTraceCode          7    Trace message tag for children
24               PvmTraceBuffer        8    Trace buffer size for children
25               PvmTraceOptions       9    Trace collection options for children
26               PvmFragSize          10    Message fragment size
27               PvmResvTids          11    Allow messages to reserved tags and TIDs
28               PvmSelfOutputTid     12    Stdout destination
29               PvmSelfOutputCode    13    Output message tag
30               PvmSelfTraceTid      14    Trace data destination
31               PvmSelfTraceCode     15    Trace message tag
32               PvmSelfTraceBuffer   16    Trace buffer size
33               PvmSelfTraceOptions  17    Trace collection options
34               PvmShowTids          18    pvm_catchout prints task ids with output
35               PvmPollType          19    Message wait policy (shared memory)
36               PvmPollTime          20    Message spinwait duration
37               PvmOutputContext     21    Output message context for children
38               PvmTraceContext      22    Trace message context for children
39               PvmSelfOutputContext 23    Output message context
40               PvmSelfTraceContext  24    Trace message context
41               PvmNoReset           25    Do not kill task on reset
42
43       val     Integer returning the value of the option.
44
45

DESCRIPTION

47       The  routine  pvm_getopt  returns  the value of the specified option in
48       PVM.  For a discussion of options and values, see pvm_setopt.
49
50       If an error occurs, the PVM error code is  returned  in  place  of  the
51       option value.
52
53

EXAMPLES

55       C:
56            val = pvm_getopt( PvmFragSize );
57       Fortran:
58            CALL PVMFGETOPT( PVMAUTOERR, VAL )
59
60

ERRORS

62       This error condition can be returned
63
64       PvmBadParam
65              giving an invalid value.
66

SEE ALSO

68       pvm_setopt(3PVM)
69
70
71
72                                 4 April, 1994                    GETOPT(3PVM)
Impressum