forked from johannesgerer/jburkardt-f
-
Notifications
You must be signed in to change notification settings - Fork 1
/
xerror.html
291 lines (259 loc) · 7.8 KB
/
xerror.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<html>
<head>
<title>
XERROR - Error Message Handler.
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
XERROR <br> Error Message Handler
</h1>
<hr>
<p>
<b>XERROR</b>
is a FORTRAN90 library which
collects information about errors that
occur during a program's execution, and takes the appropriate
action, which may include printing a message, diverting to
a user routine, or aborting execution of the program.
</p>
<p>
Most users never encounter <b>XERROR</b> directly. However,
they may receive warnings and other error messages produced
by <b>XERROR</b>, if the software they are calling has encountered
an error condition and uses <b>XERROR</b> to report and
handle the problem.
</p>
<p>
An experienced user or software developer may wish to incorporate
<b>XERROR</b> into software being developed, or to modify the
behavior of <b>XERROR</b> in software they are using. The package
includes many routines to customize its behavior, to reduce
the level of output, to make multiple copies of the error output,
to control the number of times a particular error message is printed,
or to halt execution of the program if certain kinds of error occur.
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>XERROR</b> is available in
<a href = "../../f77_src/xerror/xerror.html">a FORTRAN77 version</a> and
<a href = "../../f_src/xerror/xerror.html">a FORTRAN90 version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../f_src/dlap/dlap.html">
DLAP</a>,
a FORTRAN90 library which
contains iterative linear equation solvers
which includes
a version of the <b>XERROR</b> library.
</p>
<p>
<a href = "../../f_src/dqed/dqed.html">
DQED</a>,
a FORTRAN90 library which
contains constrained minimization routines
which includes
a version of the <b>XERROR</b> library.
</p>
<p>
<a href = "../../f_src/machine/machine.html">
MACHINE</a>,
a FORTRAN90 library which
tabulates the values
of certain machine-specific arithmetic quantities. The
<b>XERROR</b> library calls it for some simple information.
</p>
<p>
<a href = "../../f_src/nms/nms.html">
NMS</a>,
a FORTRAN90 library which
includes a version of the <b>XERROR</b> library.
</p>
<p>
<a href = "../../f_src/quadpack/quadpack.html">
QUADPACK</a>,
a FORTRAN90 library which
estimate integrals, and which calls the <b>XERROR</b> library.
</p>
<p>
<a href = "../../f_src/slatec/slatec.html">
SLATEC</a>,
a FORTRAN90 library which
includes a version of
the <b>XERROR</b> library.
</p>
<p>
<a href = "../../f_src/starpac/starpac.html">
STARPAC</a>,
a FORTRAN90 library which
contains statistical routines, and includes
a version of the <b>XERROR</b> library.
</p>
<h3 align = "center">
Reference:
</h3>
<p>
<ol>
<li>
Phyllis Fox, Andrew Hall, Norman Schryer,<br>
Algorithm 528:<br>
Framework for a Portable Library,<br>
ACM Transactions on Mathematical Software,<br>
Volume 4, Number 2, June 1978, page 176-188.
</li>
<li>
Ron Jones, David Kahaner,<br>
XERROR, The SLATEC Error Handling Package,<br>
Software: Practice and Experience,<br>
Volume 13, Number 3, 1983, pages 251-257.
</li>
<li>
Ron Jones, David Kahaner,<br>
XERROR, The SLATEC Error Handling Package,<br>
Technical Report SAND82-0800,<br>
Sandia National Laboratories, 1982.
</li>
<li>
David Kahaner, Cleve Moler, Steven Nash,<br>
Numerical Methods and Software,<br>
Prentice Hall, 1989,<br>
ISBN: 0-13-627258-4,<br>
LC: TA345.K34.
</li>
</ol>
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "xerror.f90">xerror.f90</a>, the source code.
</li>
<li>
<a href = "xerror.sh">xerror.sh</a>,
commands to compile the source code.
</li>
</ul>
</p>
<h3 align = "center">
Examples and Tests:
</h3>
<p>
<ul>
<li>
<a href = "xerror_prb.f90">xerror_prb.f90</a>,
a sample calling program.
</li>
<li>
<a href = "xerror_prb.sh">xerror_prb.sh</a>,
commands to compile and run the sample program.
</li>
<li>
<a href = "xerror_prb_output.txt">xerror_prb_output.txt</a>,
the output file.
</li>
</ul>
</p>
<h3 align = "center">
List of Routines:
</h3>
<p>
<ul>
<li>
<b>FDUMP</b> produces a symbolic dump.
</li>
<li>
<b>I1MACH</b> returns integer machine constants.
</li>
<li>
<b>J4SAVE</b> saves variables needed by the library error handling routines.
</li>
<li>
<b>NUMXER</b> returns the most recent error number.
</li>
<li>
<b>TIMESTAMP</b> prints the current YMDHMS date as a time stamp.
</li>
<li>
<b>XERABT</b> aborts program execution and prints an error message.
</li>
<li>
<b>XERBLA</b> is an error handler for the Level 2 and Level 3 BLAS routines.
</li>
<li>
<b>XERCLR</b> resets the current error number to zero.
</li>
<li>
<b>XERCNT</b> allows user control over the handling of errors.
</li>
<li>
<b>XERCTL</b> allows user control over handling of individual errors.
</li>
<li>
<b>XERDMP</b> prints the error tables and then clears them.
</li>
<li>
<b>XERHLT</b> aborts program execution.
</li>
<li>
<b>XERMAX</b> sets the maximum number of times any error message is to be printed.
</li>
<li>
<b>XERMSG</b> processes error messages.
</li>
<li>
<b>XERPRN</b> prints error messages processed by XERMSG.
</li>
<li>
<b>XERPRT</b> prints a message on each file indicated by xgetua.
</li>
<li>
<b>XERROR</b> processes a diagnostic error message.
</li>
<li>
<b>XERRWV</b> processes an error message that includes numeric information.
</li>
<li>
<b>XERSAV</b> records that an error occurred.
</li>
<li>
<b>XERSVE</b> records that an error has occurred.
</li>
<li>
<b>XGETF</b> returns current value of error control flag.
</li>
<li>
<b>XGETUA</b> returns the unit numbers to which error messages are being sent.
</li>
<li>
<b>XGETUN</b> returns the (first) output file to which messages are being sent.
</li>
<li>
<b>XSETF</b> sets the error control flag.
</li>
<li>
<b>XSETUA</b> sets up to 5 unit numbers to which messages are to be sent.
</li>
<li>
<b>XSETUN</b> sets the output file to which error messages are to be sent.
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../f_src.html">
the FORTRAN90 source codes</a>.
</p>
<hr>
<i>
Last modified on 09 April 2007.
</i>
<!-- John Burkardt -->
</body>
<!-- Initial HTML skeleton created by HTMLINDEX. -->
</html>