[sage-support] Re: [help!] problem with sage-vmware 3.4.1 on windows xp

2009-05-03 Thread Alessandro Torre



On 2 Mag, 23:04, William Stein wst...@gmail.com wrote:
 On Sat, May 2, 2009 at 8:53 AM, Alessandro Torre



 adessobastadavv...@gmail.com wrote:

  Hello to everybody.
  I can't make Sage works on windows and I'm going crazy.

  When typing sage or notebook on the welcome screen of the VMware
  Player nothing happens.
  If I type manage and then sage the following message appears:

  --
  | Sage Version 3.4.1, (etc..) |
  --
  usr/local/sage/local/bin/sage-sage: line 198:  3558 Illegal
  instruction     sage-ipython $@ -i

  What have I missed?

  VMware 2.5.2 on Windows XP sp3 .
  AMD Athlon 64 Processor 3000+ 2.00 GHz, 1.50 GB Ram
  0 MB Paging File

  Is it possible that my processor is obsolete for this version of Sage?

 Yes.

 What is the output of

    cat /proc/cpuinfo

 after you login as manage?

 Anyway, you might have to build Sage from source.  This is actually
 easier than you might think.  Do all of the following after login as
 manage and typing  sudo su.

 1. Delete /usr/local/sage, then
    cd /usr/local; rm -rf sage
 2. download sage-3.4.1.tar by typing
     wgethttp://sagemath.org/src/sage-3.4.1.tar
 3. extract it,
      tar xf sage-3.4.1.tar
 4. move it to be /usr/local/sage, and
      mv sage-3.4.1 sage
 5. build Sage -- this will take a few hours (no manual intervention):
       cd sage; make

  I've set my paging file to 0 MB. Could it be a problem?

 You could try setting it larger and see what happens.

  -- William

Thanks a lot for this step to step procedure.
I found your reply on a similar post too, but I didn't figure out I
could make it in winxp thanks to vmware.

The output you asked for:

processor  : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model: 12
model name   : AMD Athlon(tm) 64 Processor 3000+
stepping : 0
cpu MHz: 1999.515
cache size : 512 KB
fdiv_bug : no
hlt_bug  : no
f00f_bug: no
coma_bug : no
fpu: yes
fpu_exception: yes
cpuid level : 1
wp: yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
3dnowext 3dnow up ts fid vid ttp
bogomips  : 4016.23


P.S: Setting a proper paging file didn't help.

Alessandro
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-support] Re: [help!] problem with sage-vmware 3.4.1 on windows xp

2009-05-02 Thread William Stein

On Sat, May 2, 2009 at 8:53 AM, Alessandro Torre
adessobastadavv...@gmail.com wrote:

 Hello to everybody.
 I can't make Sage works on windows and I'm going crazy.

 When typing sage or notebook on the welcome screen of the VMware
 Player nothing happens.
 If I type manage and then sage the following message appears:

 --
 | Sage Version 3.4.1, (etc..) |
 --
 usr/local/sage/local/bin/sage-sage: line 198:  3558 Illegal
 instruction     sage-ipython $@ -i


 What have I missed?

 VMware 2.5.2 on Windows XP sp3 .
 AMD Athlon 64 Processor 3000+ 2.00 GHz, 1.50 GB Ram
 0 MB Paging File

 Is it possible that my processor is obsolete for this version of Sage?

Yes.

What is the output of

   cat /proc/cpuinfo

after you login as manage?

Anyway, you might have to build Sage from source.  This is actually
easier than you might think.  Do all of the following after login as
manage and typing  sudo su.

1. Delete /usr/local/sage, then
   cd /usr/local; rm -rf sage
2. download sage-3.4.1.tar by typing
wget http://sagemath.org/src/sage-3.4.1.tar
3. extract it,
 tar xf sage-3.4.1.tar
4. move it to be /usr/local/sage, and
 mv sage-3.4.1 sage
5. build Sage -- this will take a few hours (no manual intervention):
  cd sage; make

 I've set my paging file to 0 MB. Could it be a problem?

You could try setting it larger and see what happens.

 -- 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
-~--~~~~--~~--~--~---



[sage-support] Re: [help!] problem with sage-vmware 3.4.1 on windows xp

2009-05-02 Thread mabshoff



On May 2, 2:04 pm, William Stein wst...@gmail.com wrote:
 On Sat, May 2, 2009 at 8:53 AM, Alessandro Torre

SNIP

  Is it possible that my processor is obsolete for this version of Sage?

 Yes.

 What is the output of

    cat /proc/cpuinfo

I doubt this will be helpful. Having thought about this for a while my
guess is that some of the instructions used in MPIR might cause this.
When I wrote a script to detect advanced instructions I only
concentrated on SSE instructions since back then it was the major (and
only known) problem. If gdb is installed in the VMWare image we can
start Sage under gdb, get a back trace (to figure out which library it
is) and then disassemble around the current pc so that I can fix
this :)

So far no one has provided information to what is wrong, i.e. which
instruction[s] in what library causes this, so I cannot even start to
fix this.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---