On Sunday, September 25, 2016 at 10:48:51 PM UTC, Jonathan Bober wrote: > > That's a good point. It looks like 5.1.0. I will try rebuilding from > scratch with SAGE_INSTALL_GCC=yes, since that's easier than actually trying > to figure out what's going on. >
it might well be that 5.1 cannot build Sage's gcc (4.9.3), as it's too new... So you'd need to downgrade system gcc if you really want to use Sage's gcc. I'd rather install gcc 5.4 or 6.1 on the system. > (Also, it is past time for me to update gcc, since it looks like I can > easily have 6.1.0 on this system.) I will report back in 90 minutes, unless > I don't, in which case I'll report back in 10 to 24 hours. > > On Sun, Sep 25, 2016 at 11:31 PM, Dima Pasechnik <dim...@gmail.com > <javascript:>> wrote: > >> Most probably gcc version used to build Sage is also quite important... >> >> >> On Sunday, September 25, 2016 at 10:16:23 PM UTC, Jonathan Bober wrote: >> >>> jb12407@lmfdb5:~$ lscpu >>> Architecture: x86_64 >>> CPU op-mode(s): 32-bit, 64-bit >>> Byte Order: Little Endian >>> CPU(s): 64 >>> On-line CPU(s) list: 0-63 >>> Thread(s) per core: 2 >>> Core(s) per socket: 8 >>> Socket(s): 4 >>> NUMA node(s): 8 >>> Vendor ID: AuthenticAMD >>> CPU family: 21 >>> Model: 2 >>> Model name: AMD Opteron(tm) Processor 6380 >>> Stepping: 0 >>> CPU MHz: 2500.065 >>> BogoMIPS: 4999.42 >>> Virtualization: AMD-V >>> L1d cache: 16K >>> L1i cache: 64K >>> L2 cache: 2048K >>> L3 cache: 6144K >>> NUMA node0 CPU(s): 0-7 >>> NUMA node1 CPU(s): 8-15 >>> NUMA node2 CPU(s): 16-23 >>> NUMA node3 CPU(s): 24-31 >>> NUMA node4 CPU(s): 32-39 >>> NUMA node5 CPU(s): 40-47 >>> NUMA node6 CPU(s): 48-55 >>> NUMA node7 CPU(s): 56-63 >>> >>> (Old software...) >>> >>> jb12407@lmfdb5:~$ lsb_release -a >>> LSB Version: >>> :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch >>> Distributor ID: Scientific >>> Description: Scientific Linux release 6.8 (Carbon) >>> Release: 6.8 >>> Codename: Carbon >>> >>> jb12407@lmfdb5:~$ uname -r >>> 2.6.32-573.3.1.el6.x86_64 >>> >>> On Sun, Sep 25, 2016 at 11:03 PM, Dima Pasechnik <dim...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> On Sunday, September 25, 2016 at 9:33:42 PM UTC, Jonathan Bober wrote: >>>>> >>>>> I'm getting a segfault on the current development branch of sage (see >>>>> below). Is this a known issue and/or effecting anyone else? >>>>> >>>>> This does not happen for me in Sage 7.3, although it does happen if I >>>>> try to go "back in time" with a 'git checkout 7.3' and then rebuild. So >>>>> just to be certain I built a few copies from scratch. >>>>> >>>>> This is from a doctest in src/doc/*/a_tour_of_sage/index.rst, easily >>>>> reproducible. (Notice the * there. I guess Sage separately tests the >>>>> documentation in each language...) >>>>> >>>>> sage: m = random_matrix(RDF,500) >>>>> sage: m.eigenvalues() >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/cysignals/signals.so(+0x4635)[0x7f6d34da4635] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/cysignals/signals.so(+0x4685)[0x7f6d34da4685] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/cysignals/signals.so(+0x7107)[0x7f6d34da7107] >>>>> /lib64/libpthread.so.0[0x30f700f7e0] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(daxpy_k+0x48)[0x7f6d29e9eab8] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(+0xc9c3e)[0x7f6d29ca9c3e] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(exec_blas+0xd9)[0x7f6d29e590f9] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(dtrmv_thread_NLU+0x204)[0x7f6d29ca9f34] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(dtrmv_+0x155)[0x7f6d29c67b75] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(dlahr2_+0x451)[0x7f6d2a0eecb1] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(dgehrd_+0x47d)[0x7f6d2a0b6c8d] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libopenblas.so.0(dgeev_+0x430)[0x7f6d2a0b1470] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so(+0x2cde7)[0x7f66808b4de7] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7f6d4244aed3] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x388a)[0x7f6d424fd5ba] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(+0x839fc)[0x7f6d4247b9fc] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/sage/matrix/matrix_double_dense.so(+0x9949)[0x7f6682759949] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/python2.7/site-packages/sage/matrix/matrix_double_dense.so(+0x5161b)[0x7f66827a161b] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5331)[0x7f6d424ff061] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f6d42500789] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x509e)[0x7f6d424fedce] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5654)[0x7f6d424ff384] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x81c)[0x7f6d4250066c] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f6d42500789] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0x8a)[0x7f6d42523e5a] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xd7)[0x7f6d42525207] >>>>> >>>>> /data/home/jb12407/sources/sage/local/lib/libpython2.7.so.1.0(Py_Main+0xc3e)[0x7f6d4253b70e] >>>>> /lib64/libc.so.6(__libc_start_main+0xfd)[0x30f6c1ed1d] >>>>> python[0x4006f1] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> Attaching gdb to process id 56935. >>>>> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-90.el6) >>>>> Copyright (C) 2010 Free Software Foundation, Inc. >>>>> License GPLv3+: GNU GPL version 3 or later < >>>>> http://gnu.org/licenses/gpl.html> >>>>> This is free software: you are free to change and redistribute it. >>>>> There is NO WARRANTY, to the extent permitted by law. Type "show >>>>> copying" >>>>> and "show warranty" for details. >>>>> This GDB was configured as "x86_64-redhat-linux-gnu". >>>>> For bug reporting instructions, please see: >>>>> <http://www.gnu.org/software/gdb/bugs/>. >>>>> (gdb) Hangup detected on fd 0 >>>>> error detected on stdin >>>>> >>>>> Your system GDB is an old version that does not work with pipes >>>>> Install gdb for enhanced tracebacks. >>>>> >>>>> ------------------------------------------------------------------------ >>>>> Unhandled SIGSEGV: A segmentation fault occurred. >>>>> This probably occurred because a *compiled* module has a bug >>>>> in it and is not properly wrapped with sig_on(), sig_off(). >>>>> Python will now terminate. >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>> I guess more details are needed, like CPU type (what does lscpu tell?) >>>> >>>> For me, on i7-6600U CPU @ 2.60GHz, it works: >>>> >>>> sage: m = random_matrix(RDF,500) >>>> sage: e=m.eigenvalues() >>>> sage: len(e) >>>> 500 >>>> >>>> -- >>>> 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+...@googlegroups.com. >>>> To post to this group, send email to sage-...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/sage-devel. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> 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+...@googlegroups.com <javascript:>. >> To post to this group, send email to sage-...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/sage-devel. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.