#11604: PARI qfminim bug on 32-bit Linux (Sage 4.7)
--------------------------+-------------------------------------------------
   Reporter:  mmasdeu     |          Owner:  was                                
       Type:  defect      |         Status:  needs_info                         
   Priority:  major       |      Milestone:  sage-4.7.2                         
  Component:  interfaces  |       Keywords:  pari, qfminim, ZM_lll, large matrix
Work_issues:              |       Upstream:  N/A                                
   Reviewer:              |         Author:                                     
     Merged:              |   Dependencies:                                     
--------------------------+-------------------------------------------------

Comment(by mmasdeu):

 I have run all tests you suggested and everything seems ok. I have also
 tried to run the code in another machine that has Sage installed (that is
 an Intel Xeon with 8 cores, so quite different to my '06 laptop). That one
 is running Sage 4.6.2 (2011-02-25). And got the same error.

 Here is the data about my laptop (in which it is easiest for me to
 experiment):

 Distribution: Arch Linux updated a few hours ago (but I have seen the bug
 weeks ago).

 Cpuinfo:
 {{{
 processor       : 0
 vendor_id       : GenuineIntel
 cpu family      : 6
 model           : 13
 model name      : Intel(R) Pentium(R) M processor 1.50GHz
 stepping        : 8
 cpu MHz         : 1496.431
 cache size      : 2048 KB
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 2
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe up bts est tm2
 bogomips        : 2994.56
 clflush size    : 64
 cache_alignment : 64
 address sizes   : 32 bits physical, 32 bits virtual
 power management:
 }}}

 Architecture (uname -a): Linux tablarch 2.6.39-ARCH #1 SMP PREEMPT Sat Jul
 9 15:31:04 CEST 2011 i686 Intel(R) Pentium(R) M processor 1.50GHz
 GenuineIntel GNU/Linux

 GCC:
 {{{
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/lto-wrapper
 Target: i686-pc-linux-gnu
 Configured with: /build/src/gcc-4.6.1/configure --prefix=/usr
 --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
 --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
 --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-
 libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object
 --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-
 lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-
 ld=ld.gold --disable-multilib --disable-libstdcxx-pch --enable-
 checking=release
 Thread model: posix
 gcc version 4.6.1 (GCC)
 }}}

 Thanks again,

 marc.


 Replying to [comment:4 leif]:
 > Replying to [comment:3 mmasdeu]:
 > > I am using Sage Version 4.7, Release Date: 2011-05-23.
 > >
 > > I am running Linux kernel 2.6.39, and compiled Sage from source on a
 32bit machine, if that is of any use.
 > >
 > > Is there any other info that might be relevant?
 >
 > Maybe the Linux distribution you are using, the processor type (`cat
 /proc/cpuinfo`) / architecture (`uname -a`) and last but not least the
 version of GCC (`gcc -v`).
 >
 > If you haven't yet run Sage's test suite, you could at least run a
 subset of it:
 > {{{
 > #!sh
 > /home/float/sage$ ./sage -t -long devel/sage/sage/libs/pari/
 > ...
 > /home/float/sage$ ./sage -t -long devel/sage/sage/interfaces/gp.py
 > ...
 > }}}
 > (Both together should ''at most'' take a few minutes on a slow machine;
 the second one doesn't make much sense if the error also occurs in plain
 PARI/GP as you said.)
 >
 > Probably more important, as this seems to be an upstream bug, you can
 run ''PARI's'' test suite, which unfortunately requires rebuilding PARI,
 and hence will take much more time (up to 30 minutes I think, depending on
 your machine):
 > {{{
 > #!sh
 > /home/float/sage$ env SAGE_CHECK=yes ./sage -f -s pari-2.4.3.alpha.p5
 2>&1 | tee pari-test.log
 > }}}
 > (This reinstalls the package unless PARI's test suite fails, and logs
 the output to `pari-test.log`. If you end up with a broken Sage
 installation because the test suite didn't pass, you can reinstall it by
 almost the same command, simply omitting the `env SAGE_CHECK=yes` and
 optionally `-s`, i.e. `./sage -f pari-2.4.3.alpha.p5`.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11604#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to