<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html > <head><title>Error Handling</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> <meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> <!-- html,3 --> <meta name="src" content="userhtml.tex"> <link rel="stylesheet" type="text/css" href="userhtml.css"> </head><body > <!--l. 1--><div class="crosslinks"><p class="noindent"><span class="cmr-12">[</span><a href="userhtmlse8.html" ><span class="cmr-12">next</span></a><span class="cmr-12">] [</span><a href="userhtmlse6.html" ><span class="cmr-12">prev</span></a><span class="cmr-12">] [</span><a href="userhtmlse6.html#tailuserhtmlse6.html" ><span class="cmr-12">prev-tail</span></a><span class="cmr-12">] [</span><a href="#tailuserhtmlse7.html"><span class="cmr-12">tail</span></a><span class="cmr-12">] [</span><a href="userhtml.html#userhtmlse7.html" ><span class="cmr-12">up</span></a><span class="cmr-12">] </span></p></div> <h3 class="sectionHead"><span class="titlemark"><span class="cmr-12">7 </span></span> <a id="x28-320007"></a><span class="cmr-12">Error Handling</span></h3> <!--l. 5--><p class="noindent" ><span class="cmr-12">The error handling in AMG4PSBLAS is based on the PSBLAS error handling. Error</span> <span class="cmr-12">conditions are signaled via an integer argument </span><span class="obeylines-h"><span class="verb"><span class="cmtt-12">info</span></span></span><span class="cmr-12">; whenever an error condition is</span> <span class="cmr-12">detected, an error trace stack is built by the library up to the top-level, user-callable</span> <span class="cmr-12">routine. This routine will then decide, according to the user preferences, whether</span> <span class="cmr-12">the error should be handled by terminating the program or by returning the</span> <span class="cmr-12">error condition to the user code, which will then take action, and whether</span> <span class="cmr-12">an error message should be printed. These options may be set by using the</span> <span class="cmr-12">PSBLAS error handling routines; for further details see the PSBLAS User’s Guide</span> <span class="cite"><span class="cmr-12">[</span><a href="userhtmlli5.html#XPSBLASGUIDE"><span class="cmr-12">20</span></a><span class="cmr-12">]</span></span><span class="cmr-12">.</span> <!--l. 1--><div class="crosslinks"><p class="noindent"><span class="cmr-12">[</span><a href="userhtmlse8.html" ><span class="cmr-12">next</span></a><span class="cmr-12">] [</span><a href="userhtmlse6.html" ><span class="cmr-12">prev</span></a><span class="cmr-12">] [</span><a href="userhtmlse6.html#tailuserhtmlse6.html" ><span class="cmr-12">prev-tail</span></a><span class="cmr-12">] [</span><a href="userhtmlse7.html" ><span class="cmr-12">front</span></a><span class="cmr-12">] [</span><a href="userhtml.html#userhtmlse7.html" ><span class="cmr-12">up</span></a><span class="cmr-12">] </span></p></div> <!--l. 1--><p class="indent" > <a id="tailuserhtmlse7.html"></a> </body></html>