<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 10:45 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra">I think we have to make a distinction as to what kind of code is in there. The proposed</div><div class="gmail_extra">
stub does nothing but raise an error, just as Fortran stubs do nothing but forward the call.</div>
<div class="gmail_extra">To me, this should be kept out of petscblaslapack.h.</div></blockquote></div><br>petscblaslapack.h needs to know not to redefine those function names. I'd much rather have</div><div class="gmail_extra">
<br></div><div class="gmail_extra" style>#if defined(PETSC_MISSING_LAPACK_FOO)</div><div class="gmail_extra" style>... definition that raises an error</div><div class="gmail_extra" style>#else</div><div class="gmail_extra" style>
... normal definition</div><div class="gmail_extra" style>#endif</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>than</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>
#if !defined(PETSC_MISSING_LAPACK_FOO)</div><div class="gmail_extra" style>... normal definition</div><div class="gmail_extra" style>/* missing definition is generated */</div><div class="gmail_extra" style>#endif</div></div>