<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div> Please do <div class=""><br class=""></div><div class=""> ldd -O /opt/amd/amd-libflame-3.1.0/lib/lp64/libflame.so</div><div class=""><br class=""></div><div class=""> You may need to list the gfortran library directory of libgfortran.so.5 it needs to use in LDFLAGS passed to PETSc configure </div><div class=""><br class=""></div><div class=""> Barry</div><div class=""><br class=""></div><div class="">Note: Even though you explicitly listed a static library of libflame to use our configure is goofy and loses that information and wants to link with the shared version</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 4, 2022, at 12:00 PM, Anton Popov <<a href="mailto:popov@uni-mainz.de" class="">popov@uni-mainz.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div class=""><p class=""><br class="">
</p>
<div class="moz-cite-prefix">On 04.02.22 17:39, Matthew Knepley
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:CAMYG4Gk8qq59Ea0Dh7ZCAC890X95btaR72axsN+hfvCJphNyuw@mail.gmail.com" class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">On Fri, Feb 4, 2022 at 11:35 AM Anton Popov <<a href="mailto:popov@uni-mainz.de" moz-do-not-send="true" class="moz-txt-link-freetext">popov@uni-mainz.de</a>>
wrote:<br class="">
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi Satish,<br class="">
<br class="">
I just discovered that PETSc 3.16.4 fails to link against
the latest AMD <br class="">
BLIS and LibFLAME libraries on a Linux box.<br class="">
<br class="">
-------------------------------------------------------------------------------<br class="">
You set a value for --with-blas-lib=<lib> and
--with-lapack-lib=<lib>, <br class="">
but ['/opt/amd/amd-blis-3.1.0/lib/lp64/libblis.a'] and <br class="">
['/opt/amd/amd-libflame-3.1.0/lib/lp64/libflame.a'] cannot
be used<br class="">
*******************************************************************************<br class="">
<br class="">
My previous experience with 3.9.4 on the same system was
fully <br class="">
successful. Looking in the configure logs (attached) reveals
small <br class="">
difference in the linking compared to 3.9.4<br class="">
<br class="">
Could you please make a guess what went wrong?<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Down in the log I see:</div>
<div class=""><br class="">
</div>
<div class="">/usr/bin/ld: warning: libgfortran.so.5, needed by
/opt/amd/amd-libflame-3.1.0/lib/lp64/libflame.so, not found
(try using -rpath or -rpath-link):<br class="">
</div>
</div>
</div>
</blockquote><p class="">Thanks Matt, I'll try.<br class="">
</p>
<blockquote type="cite" cite="mid:CAMYG4Gk8qq59Ea0Dh7ZCAC890X95btaR72axsN+hfvCJphNyuw@mail.gmail.com" class="">
<div dir="ltr" class="">
<div class="gmail_quote">
<div class=""><br class="">
</div>
<div class="">Did the gfortran library move or get upgraded?</div>
</div>
</div>
</blockquote><p class="">Not at all. I have configured 3.9.4 just now to make a test, and
it perfectly finds all the libraries. So there must be something
that 3.16.4 does differently. <br class="">
</p><p class="">Best,</p><p class="">Anton<br class="">
</p>
<blockquote type="cite" cite="mid:CAMYG4Gk8qq59Ea0Dh7ZCAC890X95btaR72axsN+hfvCJphNyuw@mail.gmail.com" class="">
<div dir="ltr" class="">
<div class="gmail_quote">
<div class=""><br class="">
</div>
<div class=""> Thanks,</div>
<div class=""><br class="">
</div>
<div class=""> Matt</div>
<div class=""> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Best regards,<br class="">
<br class="">
Anton<br class="">
</blockquote>
</div>
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">What most experimenters take for granted before
they begin their experiments is infinitely more
interesting than any results to which their
experiments lead.<br class="">
-- Norbert Wiener</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" moz-do-not-send="true" class="">https://www.cse.buffalo.edu/~knepley/</a><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div></blockquote></div><br class=""></div></body></html>