[petsc-users] 3.16.4 amd blis libflame linking problem

Anton Popov popov at uni-mainz.de
Fri Feb 4 11:00:09 CST 2022


On 04.02.22 17:39, Matthew Knepley wrote:
> On Fri, Feb 4, 2022 at 11:35 AM Anton Popov <popov at uni-mainz.de> wrote:
>
>     Hi Satish,
>
>     I just discovered that PETSc 3.16.4 fails to link against the
>     latest AMD
>     BLIS and LibFLAME libraries on a Linux box.
>
>     -------------------------------------------------------------------------------
>     You set a value for --with-blas-lib=<lib> and
>     --with-lapack-lib=<lib>,
>     but ['/opt/amd/amd-blis-3.1.0/lib/lp64/libblis.a'] and
>     ['/opt/amd/amd-libflame-3.1.0/lib/lp64/libflame.a'] cannot be used
>     *******************************************************************************
>
>     My previous experience with 3.9.4 on the same system was fully
>     successful. Looking in the configure logs (attached) reveals small
>     difference in the linking compared to 3.9.4
>
>     Could you please make a guess what went wrong?
>
>
> Down in the log I see:
>
> /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):

Thanks Matt, I'll try.

>
> Did the gfortran library move or get upgraded?

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.

Best,

Anton

>
>   Thanks,
>
>      Matt
>
>     Best regards,
>
>     Anton
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener
>
> https://www.cse.buffalo.edu/~knepley/ 
> <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220204/6d8821d9/attachment.html>


More information about the petsc-users mailing list