The reason for the error seems to be that the pkgconfig
are pointing to my system pkgconfig (which are of not writable)

$ 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
<20100.delecr...@gmail.com> 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 sage-devel+unsubscr...@googlegroups.com. 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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/889cec2d-cd6e-afce-5ad5-303d6263f05c%40gmail.com.

Reply via email to