On Wed, Mar 18, 2009 at 3:20 PM, Johan Oudinet <johan.oudi...@gmail.com> wrote: > > On Wed, Mar 18, 2009 at 4:20 PM, bix...@gmail.com <bix...@gmail.com> wrote: >> >> Hi, >> >> After using version 3 for over a year, it finally occured to me I >> should upgrade. When trying to start version 3.4 I get: >> >> ---------------------------------------------------------------------- >> | Sage Version 3.4, Release Date: 2009-03-11 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> >> ********************************************************************** >> WARNING! This Sage install was built on a machine that supports >> instructions that are not available on this computer. Sage will >> likely fail with ILLEGAL INSTRUCTION errors! The following processor >> flags were on the build machine but are not on this computer: >> >> sse4_1 >> >> Email http://groups.google.com/group/sage-support for help. >> To remove this warning and make Sage start, just delete >> /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/ >> lib/sage-flags.txt >> ********************************************************************** >> >> I tried removing this file to see if sage will run correctly, it >> doesn't seem to. For a quick stress test I did >> sage: prime_pi(10^10) ... and got back >> /home/bixbyr/Desktop/sage-3.4-linux-Ubuntu_8.10-i686-Linux/local/bin/ >> sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" - >> i >> >> It returns correctly for prime_pi(10^9), so although it's possible >> that the two errors are unrelated, that seems a strange way to fail if >> the issue were related to insufficient memory. >> >> I downloaded sage-3.4-linux-Ubuntu_8.10-i686-Linux.tar.gz from the >> University of Washington mirror. I'm running ubuntu 8.10, kernel >> version 2.6.27-11-generic. I have 4gb of ram, though running a 32 bit >> kernel effectively limits me to ~3.2 gb. Since sse4 is a cpu >> instruction set (from what I understand), here it the output for cat / >> proc/cpuinfo: >> >> processor : 0 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 15 >> model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz >> stepping : 11 >> cpu MHz : 1600.000 >> cache size : 4096 KB >> physical id : 0 >> siblings : 4 >> core id : 0 >> cpu cores : 4 >> apicid : 0 >> initial apicid : 0 >> fdiv_bug : no >> hlt_bug : no >> f00f_bug : no >> coma_bug : no >> fpu : yes >> fpu_exception : yes >> cpuid level : 10 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >> cmov >> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm >> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 >> ssse3 cx16 xtpr lahf_lm >> bogomips : 4799.97 >> clflush size : 64 >> power management: >> ( ... it then lists 3 more processors with the same information) >> >> Although not the newest processor, it seems like this should be recent >> enough to run sage. I also tried installing the new version on my >> laptop, another ubuntu 8.10 system this time with a core 2 duo >> processor, and got the exact same error. >> >> Any thoughts? Thanks a lot, > > Have you tried to build Sage from sources? If you also get the same > error, it will mean this is not an error related to your cpu > instruction set. >
Good idea. Getting "sage-sage: line 197: 8689 Segmentation fault sage-ipython "$@" -" suggests maybe running out of RAM or something. Instruction set errors produce an "Illegal Instruction" error messages. By the way, there is new code up here (not in Sage yet!) for computing prime_pi much more quickly than the current code in Sage: http://trac.sagemath.org/sage_trac/ticket/5130 William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---