On Wed, Jan 22, 2020 at 2:20 PM Vincent Delecroix <[email protected]> wrote: > > The reason for the error seems to be that the pkgconfig > are pointing to my system pkgconfig (which are of not writable)
I fail to understand how this can happen, unless you modified what we do with pkg-config. Since https://trac.sagemath.org/ticket/27827 (already in Sage 8.9) we prepend SAGE_PKG_CONFIG_PATH, set to SAGE_LOCAL/lib/pkgconfig/ if if system pkg-config is detected , to PKG_CONFIG_PATH and that's where *blas.pc should be installed if you install OpenBLAS in Sage. By the way, I hope the problem that you reported is fixed by https://trac.sagemath.org/ticket/29071 - please test this branch on Arch if you can. Dima > > > $ ls -l /opt/sage/local/lib/pkgconfig/ > total 52 > lrwxrwxrwx 1 vincent vincent 30 22 janv. 15:59 blas.pc -> > /usr/lib/pkgconfig/openblas.pc > lrwxrwxrwx 1 vincent vincent 30 22 janv. 15:59 cblas.pc -> > /usr/lib/pkgconfig/openblas.pc > lrwxrwxrwx 1 vincent vincent 30 22 janv. 15:59 lapack.pc -> > /usr/lib/pkgconfig/openblas.pc > -rw-r--r-- 1 vincent vincent 517 22 janv. 16:07 openblas.pc > lrwxrwxrwx 1 vincent vincent 13 22 janv. 16:02 python-3.7m.pc -> > python-3.7.pc > lrwxrwxrwx 1 vincent vincent 13 22 janv. 16:02 python3.pc -> python-3.7.pc > > Le 22/01/2020 à 16:17, Vincent Delecroix a écrit : > > This was not the error (just a warning). Problem is > > > > cp: cannot create regular file > > '/opt/sage/local/./lib/pkgconfig/blas.pc': Permission denied > > cp: cannot create regular file > > '/opt/sage/local/./lib/pkgconfig/cblas.pc': Permission denied > > cp: cannot create regular file > > '/opt/sage/local/./lib/pkgconfig/lapack.pc': Permission denied > > > > > > Le 22/01/2020 à 16:16, Vincent Delecroix a écrit : > >> With the option --without-system-openblas, the compilation fails at > >> openblas with > >> > >> getarch.c:96: warning: "NO_AVX512" redefined > >> 96 | #define NO_AVX512 > >> > >> (see also attachment) > >> > >> Vincent > >> > >> Le 22/01/2020 à 13:46, Dima Pasechnik a écrit : > >>> there was a thread > >>> https://groups.google.com/d/msg/sage-devel/pIOnFyFJMtM/_FbzM2OxCQAJ > >>> just on this 10 days ago. > >>> > >>> the system's openblas on Arch is broken, so you'd need to build with > >>> ---without-system-openblas > >>> > >>> and also it might be related to > >>> https://trac.sagemath.org/ticket/27444#comment:34 > >>> > >>> On Wed, Jan 22, 2020 at 12:27 PM Vincent Delecroix > >>> <[email protected]> wrote: > >>>> > >>>> Dear all, > >>>> > >>>> I am experiencing trouble compiling fflas_ffpack (in the sage > >>>> compilation process). It is the same error appearing multiple > >>>> times related to openblas_set_num_threads being not declared. > >>>> > >>>> Note that I am running archlinux. > >>>> > >>>> Best > >>>> Vincent > >>>> > >>>> -- > >>>> You received this message because you are subscribed to the Google > >>>> Groups "sage-devel" group. > >>>> To unsubscribe from this group and stop receiving emails from it, > >>>> send an email to [email protected]. > >>>> To view this discussion on the web visit > >>>> https://groups.google.com/d/msgid/sage-devel/6d203341-930b-c660-ca0e-c743cda11a56%40gmail.com. > >>>> > >>> > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/889cec2d-cd6e-afce-5ad5-303d6263f05c%40gmail.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq1gf-ahpCp0OtK0OidMm2ndG0DWuH5fSirOkK_h%2BtHJuQ%40mail.gmail.com.
