On Tuesday, August 14, 2018 at 4:39:52 PM UTC+2, Jörg-Volker wrote:
>
>
>
> On Tuesday, August 14, 2018 at 1:49:11 PM UTC+2, Erik Bray wrote:
>>
>> On Tue, Aug 14, 2018 at 12:48 PM Jörg-Volker <jvp...@gmail.com> wrote: 
>> > 
>> > On Tuesday, August 14, 2018 at 11:44:17 AM UTC+2, Dima Pasechnik wrote: 
>> >> 
>> >> I don't recall any reports on using gcc 8 to build Sage, so you are 
>> probably on your own here. 
>> >> The error message suggests that in fact building numpy failed. 
>> >> Could you post the corresponding log? 
>> > 
>> > 
>> > Thanks for looking into this. I append the numpy build log. To me it 
>> seems o.k. 
>>
>> I suspect something went wrong even earlier, such as in the openblas 
>> build.   It seems like it's trying to use the system's libblas: 
>>
>>     Original error was: /usr/lib/x86_64-linux-gnu/libblas.so.3: 
>> undefined symbol: sgemv_thread_n 
>>
>> which it shouldn't be doing. 
>>
> The build of openblas went fine.
> Looking at the resulting .so files of the numpy build I see
>
>> ldd local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
>>     linux-vdso.so.1 (0x00007ffe77cfd000)
>>     libopenblas.so.0 => /tmp/sage/sage.git-8.3/local/lib/libopenblas.so.0 
>> (0x00007f8ee9a54000)
>>     liblapack.so.3 => /usr/lib/x86_64-linux-gnu/liblapack.so.3 
>> (0x00007f8ee93a9000)
>>     libblas.so.3 => /usr/lib/x86_64-linux-gnu/libblas.so.3 
>> (0x00007f8ee934d000)
>>     libpython2.7.so.1.0 => 
>> /tmp/sage/sage.git-8.3/local/lib/libpython2.7.so.1.0 (0x00007f8ee9147000)
>>     libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
>> (0x00007f8ee9126000)
>>     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8ee8f69000)
>>     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8ee8dd3000)
>>     libgfortran.so.5 => /usr/lib/x86_64-linux-gnu/libgfortran.so.5 
>> (0x00007f8ee8b65000)
>>     libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8ee8b60000)
>>     libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 
>> (0x00007f8ee8b5b000)
>>     /lib64/ld-linux-x86-64.so.2 (0x00007f8eea65a000)
>>     libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 
>> (0x00007f8ee8b1a000)
>>     libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8ee88fa000)
>>     libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
>> (0x00007f8ee88e0000)
>>
> This library is linked against the system libraries  libblas.so and 
> liblapack.so, but also against 
> /tmp/sage/sage.git-8.3/local/lib/libopenblas.so.0 which does not match the 
> version of the system library /usr/lib/x86_64-linux-gnu/libblas.so.3
> The system libraries all belong to the system openblas package 
> (libopenblas-base for debian). The lapack library is missing in 
> $SAGE_ROOT/local/lib/.
>
> In my previous sage 8.2 installation the numpy so-file 
> linalg/lapack_lite.so is not linked against liblapack.so nor against 
> libblas.so, only against the local libopenblas.so.0 of sage 8.2.
>
> Any idea?
> Regards,
> Jörg.
>
> By the way, the same mismatch has happened with the R library  lapack.so:

> ldd ./local/lib/R/modules/lapack.so
>     linux-vdso.so.1 (0x00007ffe99dc0000)
>     libR.so => /usr/lib/libR.so (0x00007faf528ed000)
>     libopenblas.so.0 => /tmp/sage/sage.git-8.3/local/lib/libopenblas.so.0 
> (0x00007faf51cef000)
>     libgfortran.so.5 => /usr/lib/x86_64-linux-gnu/libgfortran.so.5 
> (0x00007faf51a81000)
>     libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faf518ed000)
>     libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 
> (0x00007faf518ac000)
>     libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf516ef000)
>     libblas.so.3 => /usr/lib/x86_64-linux-gnu/libblas.so.3 
> (0x00007faf51691000)
> ...
>
This is the same in my previous sage installation version 8.2. But I didn't 
notice since I have not used R within sage.
Regards,
Jörg.

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to