<div dir="ltr">On Wed, Feb 6, 2013 at 11:53 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><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></div>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">#if defined(PETSC_MISSING_LAPACK_FOO)</div><div class="gmail_extra">... definition that raises an error</div><div class="gmail_extra">#else</div><div class="gmail_extra">
... normal definition</div><div class="gmail_extra">#endif</div><div class="gmail_extra"><br></div><div class="gmail_extra">than</div><div class="gmail_extra"><br></div><div class="gmail_extra">
#if !defined(PETSC_MISSING_LAPACK_FOO)</div><div class="gmail_extra">... normal definition</div><div class="gmail_extra">/* missing definition is generated */</div><div class="gmail_extra">#endif</div></div>
</blockquote></div><br>You are right. All of petscblaslapack.h should be generated :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">   Matt<br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>