<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 18, 2017 at 1:29 PM, Jose E. Roman <span dir="ltr"><<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> El 18 dic 2017, a las 19:24, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> escribió:<br>
><br>
> On Mon, Dec 18, 2017 at 1:24 PM, Jose E. Roman <<a href="mailto:jroman@dsic.upv.es">jroman@dsic.upv.es</a>> wrote:<br>
> > El 18 dic 2017, a las 18:58, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> escribió:<br>
> ><br>
> > On Mon, Dec 18, 2017 at 12:30 PM, Jose E. Roman <<a href="mailto:jroman@dsic.upv.es">jroman@dsic.upv.es</a>> wrote:<br>
> > I find the following definitions in petscconf.h, which are wrong because the corresponding subroutines are present.<br>
> ><br>
> > #define PETSC_MISSING_LAPACK_UNGQR 1<br>
> > #define PETSC_MISSING_LAPACK_HETRS 1<br>
> > #define PETSC_MISSING_LAPACK_HETRF 1<br>
> > #define PETSC_MISSING_LAPACK_HETRI 1<br>
> ><br>
> > This did not happen in 3.8, it is due to this change:<br>
> > <a href="https://bitbucket.org/petsc/petsc/commits/b8695a4a8c7" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/<wbr>petsc/commits/b8695a4a8c7</a><br>
> ><br>
> > So now one cannot use PETSC_MISSING_LAPACK_UNGQR to protect a code that calls LAPACKungqr_<br>
> ><br>
> > This is related to a message I sent 2 years ago to petsc-maint "Inconsistent naming of one Lapack subroutine", where I advocated renaming LAPACKungqr_ --> LAPACKorgqr_. But that thread did not end up in any modification...<br>
> ><br>
> > I can't find the thread. I also do not understand the problem. Are you saying that the check succeeds but the routines is still missing?<br>
><br>
> No, the opposite. The routines are there, but since configure decided (wrongly) that they are missing, the check would fail at run time complaining that the routines are missing.<br>
><br>
> Ah. Why does the check fail? It does succeed for a number of them.<br>
<br>
I don't know the exact reason, but it has to do with the names of real/complex subroutines. I guess the test is checking for dungqr, which does not exist - it should check for either dorgqr or zungqr.<br>
Before that commit, there were only checks for "real" names, but after the commit there are a mix of real and complex subroutines.<br></blockquote><div><br></div><div>Now I really want to punch one of the LAPACK guys in the face. Which one...</div><div><br></div><div>Karl, I think it is enough right now to change the complex names, like ungqr to orgqr as Jose suggests. Will this work for you?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jose<br>
<br>
><br>
> Thanks,<br>
><br>
> Matt<br>
><br>
> Jose<br>
><br>
> ><br>
> > Thanks,<br>
> ><br>
> > Matt<br>
> ><br>
> ><br>
> > Jose<br>
> > --<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<br>
> ><br>
> > <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br>
><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<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<br>
><br>
> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>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><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>