17
17
Integer defining what to set. One of:
19
PvmRoute 1 Message routing policy
20
PvmDebugMask 2 Libpvm debug mask
21
PvmAutoErr 3 Auto error reporting
22
PvmOutputTid 4 Stdout destination for children
23
PvmOutputCode 5 Output message tag
24
PvmTraceTid 6 Trace data destination for children
25
PvmTraceCode 7 Trace message tag
26
PvmFragSize 8 Message fragment size
27
PvmResvTids 9 Allow messages to reserved tags and TIDs
28
PvmSelfOutputTid 10 Stdout destination
29
PvmSelfOutputCode 11 Output message tag
30
PvmSelfTraceTid 12 Trace data destination
31
PvmSelfTraceCode 13 Trace message tag
32
PvmShowTids 14 pvm_catchout prints task ids with output
33
PvmPollType 15 Message wait policy (shared memory)
34
PvmPollTime 16 Message spinwait duration
19
PvmRoute 1 Message routing policy
20
PvmDebugMask 2 Libpvm debug mask
21
PvmAutoErr 3 Auto error reporting
22
PvmOutputTid 4 Stdout destination for children
23
PvmOutputCode 5 Output message tag for children
24
PvmTraceTid 6 Trace data destination for children
25
PvmTraceCode 7 Trace message tag for children
26
PvmTraceBuffer 8 Trace buffer size for children
27
PvmTraceOptions 9 Trace collection options for children
28
PvmFragSize 10 Message fragment size
29
PvmResvTids 11 Allow messages to reserved tags and TIDs
30
PvmSelfOutputTid 12 Stdout destination
31
PvmSelfOutputCode 13 Output message tag
32
PvmSelfTraceTid 14 Trace data destination
33
PvmSelfTraceCode 15 Trace message tag
34
PvmSelfTraceBuffer 16 Trace buffer size
35
PvmSelfTraceOptions 17 Trace collection options
36
PvmShowTids 18 pvm_catchout prints task ids with output
37
PvmPollType 19 Message wait policy (shared memory)
38
PvmPollTime 20 Message spinwait duration
39
PvmOutputContext 21 Output message context for children
40
PvmTraceContext 22 Trace message context for children
41
PvmSelfOutputContext 23 Output message context
42
PvmSelfTraceContext 24 Trace message context
43
PvmNoReset 25 Do not kill task on reset
38
47
Integer specifying new setting of option.
39
49
Predefined values for \fIPvmRoute\fR are:
41
PvmDontRoute 1 Don't request or grant connections
42
PvmAllowDirect 2 (Default) Don't request but allow
43
PvmRouteDirect 3 Request and allow connections
51
PvmDontRoute 1 Don't request or grant connections
52
PvmAllowDirect 2 (Default) Don't request but allow
53
PvmRouteDirect 3 Request and allow connections
56
Predefined values for \fIPvmTraceOptions\fR are:
58
PvmTraceFull 1 (Default) Do full trace events
59
PvmTraceTime 2 Only do PVM routine timings
60
PvmTraceCount 3 Only do PVM routine profiling (call counts)
63
Predefined values for \fIPvmPollType\fR are:
65
PvmPollConstant 1 Spin on its message queue
66
PvmPollSleep 2 Poll the message queue PvmPollTime times
47
70
Integer returning the previous setting of the option.
87
110
and \fIPvmAutoErr\fR is set to 1 (the default),
88
111
an error message is automatically printed on \fIstderr\fR.
89
112
A setting of 0 disables this.
90
A setting of 2 causes the library to terminate the task by calling exit()
91
after printing the error message.
113
A setting of 2 causes the library to terminate the task
114
by calling exit() after printing the error message.
92
115
A setting of 3 causes the library to abort
93
116
after printing the error message.
123
146
Sets the message tag for trace data messages.
124
147
Should only be set when a task has \fIPvmTraceTid\fR set to itself.
150
Sets the trace buffer size for trace event collection (in bytes).
151
Rather than send a separate message for each trace event, the
152
events are written to a message buffer until the buffer reaches
153
PvmTraceBuffer bytes. Then a single large trace message is sent.
154
This can greatly reduce tracing intrusion. Make sure you call
155
pvm_exit() in your tasks to flush the trace buffer!
158
Sets the PVM built-in tracing options. This is useful for
159
custom trace collection tools to allow analysis of library
160
routine execution times and invocation counts. By default,
161
tracing with \fIPvmTraceFull\fR produces full trace events with
162
calling arguments and return values. Using \fIPvmTraceTime\fR
163
produces total time spent executing each library routine.
164
The \fIPvmTraceCount\fR option keep only a count of the
165
number of times each routine was called.
127
168
\fIVal\fR specifies the message fragment size in bytes.
128
169
Default value varies with host architecture.
134
175
when a reserved identifier is specified.
136
177
.IP PvmSelfOutputTid
137
Sets the \fIstdout\fR destination for the task.
138
Everything printed on \fIstdout\fR
178
Sets the \fIstdout\fR destination for the calling task.
179
Everything printed on \fIstdout\fR is
140
180
packed into messages and sent to the destination.
142
this only works for spawned tasks,
143
because the pvmd doesn't get the output from tasks started by other
181
Note: this only works for spawned tasks,
182
because the pvmd doesn't get the output from tasks started
145
184
\fIval\fR is the TID of a PVM task.
146
185
Setting PvmSelfOutputTid to
147
186
0 redirects stdout to the master pvmd,
192
238
Sets the poll count for applications checking their message queue before they
193
239
pend on the semaphore. This option is ignored if PvmPollType is set to
243
Sets the message context for output collection messages from children.
246
Sets the message context for trace data messages from children.
248
.IP PvmSelfOutputContext
249
Sets the message context for output collection from the calling task.
251
.IP PvmSelfTraceContext
252
Sets the message context for trace data messages from the calling task.
255
When set true (non-zero integer value) informs PVM *not* to kill off
256
the calling task when performing a "reset" command, such as issued
257
by the "pvm" console.
196
260
pvm_setopt returns the previous value of the option.
197
261
If an error occurs,