Re: [sage-support] Re: problems with _tkagg in matplotlib

2009-12-10 Thread William Stein
On Thu, Dec 10, 2009 at 4:10 PM, TDavis wrote: > Hi, this is a follow-up to my original posting. > > It turns out that the problem with TkAgg in 'matplotlib' isn't really > a sage-specific issue.  It is more a problem with the 'matplotlib' > installation scripts. > > I tried a clean install of 'ma

[sage-support] Re: problems with _tkagg in matplotlib

2009-12-10 Thread TDavis
Hi, this is a follow-up to my original posting. It turns out that the problem with TkAgg in 'matplotlib' isn't really a sage-specific issue. It is more a problem with the 'matplotlib' installation scripts. I tried a clean install of 'matplotlib' within a clean, stand-alone Python 2.6 installatio

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread calcpage
> (this is what I do, I develop on a old Pentium 4 32bits single core > with just 1GB RAM... but use my cluster for production runs) What kind of cluster are you using? TIA, A. Jorge Garcia http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Sen

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread calcpage
>> Also, you can use mpi4py to parallelize your own work building on top of Sage. << Will this work on a cluster or just a multicore pc or both? HTH, A. Jorge Garcia http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Senior High School & Nassau

[sage-support] Re: what is wrong?

2009-12-10 Thread Jason Grout
felix wrote: > Hello, > > When I try: > > var('t') > r=vector((t^2,5*t,t^2-16)) > > v=derivative(r(t),t) > norm_v=v.norm() > print r > print v > pos=r(0) > print pos > vel=v(0) > > i receive an error for the last command vel(0)...i suppose i'm doing > something wrong > see error below > Th

[sage-support] what is wrong?

2009-12-10 Thread felix
Hello, When I try: var('t') r=vector((t^2,5*t,t^2-16)) v=derivative(r(t),t) norm_v=v.norm() print r print v pos=r(0) print pos vel=v(0) i receive an error for the last command vel(0)...i suppose i'm doing something wrong see error below Thank you for help... FG Traceback (most recent ca

[sage-support] Re: Subtle Bug in Plot?

2009-12-10 Thread Jason Grout
kcrisman wrote: > Just to confirm, I was doing some other random plotting of points (not > lines, just scatter points) today with axes=False, and once again this > cropped up - off by one pixel with the line x=0 and some points which > were definitely on that line, yet they weren't on it. This was

[sage-support] Re: Subtle Bug in Plot?

2009-12-10 Thread kcrisman
Just to confirm, I was doing some other random plotting of points (not lines, just scatter points) today with axes=False, and once again this cropped up - off by one pixel with the line x=0 and some points which were definitely on that line, yet they weren't on it. This was with frames True or Fal

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread Robert Bradshaw
On Dec 9, 2009, at 5:30 PM, linuxgus wrote: > On the same track, if sage is built from source on Richard's eight-CPU > machine, will it be able to take advantage of the multiple processor > cores? If I remember correctly, in a previous thread here a few > months ago, the answer was negative. If

Re: [sage-support] Re: Running Sage on a 64-bit Scientific Linux machine

2009-12-10 Thread Robert Bradshaw
From Lisandro (author of mpi4py). Sounds like at the very least we should be shipping a newer mpi4py. Begin forwarded message: > From: Lisandro Dalcin > Date: December 9, 2009 8:36:03 PM PST > To: Robert Bradshaw > Subject: Re: [sage-support] Re: Running Sage on a 64-bit Scientific > Linux

[sage-support] Re: lattice polytopes and sage

2009-12-10 Thread Marshall Hampton
I don't think that functionality is in sage right now. We have cddlib and PALP as standard components, and lrs and 4ti2 as optional and experimental packages. It looks like LattE macchiato requires 4ti2, ntl (standard in sage), and gmp (equivalent to mpir in sage). So it shouldn't be very hard t

[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread Stefan
Ah, I got it figured out. In previous attempts, the host OS was Windows 7. I tried it on XP and it works fine. Might just be a firewall issue with Windows 7. Thanks for your support though. On Dec 10, 10:15 am, "ma...@mendelu.cz" wrote: > On 10 pro, 16:10, "ma...@mendelu.cz" wrote: > > > and

[sage-support] lattice polytopes and sage

2009-12-10 Thread Felix Breuer
Hello! Is there an (efficient) way to compute the Ehrhart polynomial of a lattice polytope in Sage? Is there an implementation of Barvinok's algorithm contained in some Sage package? All I found on the topic was a message on this list, discussing the packaging of the barvinok library for Sage. Ho

[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread ma...@mendelu.cz
On 10 pro, 16:10, "ma...@mendelu.cz" wrote: > and when working on um-bc107.mendelu.cz, then localhost:8000 is also > forwarded there. > Oops, localhost is not forwarded R. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Portforwarding to Sage via VirtualBox

2009-12-10 Thread ma...@mendelu.cz
Do not know how to configure virtualbox, but you should 1. either use IP address of the virtual machine 2. forward packets from port 8001 to the virtual machine, for example something like this (part of my apache2.conf) Listen 8000 RewriteEngine On ProxyPass/ http://192.168.86.128:8000

[sage-support] Re: Subtle Bug in Plot?

2009-12-10 Thread kcrisman
> However, notice that: > > show(circle((0,0),radius=.05)+plot(sin(x),(-pi,+pi)), > aspect_ratio=1,frame=True,axes=True) > > and > > var('x,y') > density_plot(1/(x^10+y^10), (x, -10, 10), (y, -10, 10),frame=True,axes=True) > > both look correct.  So it looks like there might be a problem in the > c

[sage-support] Re: MixedIntegerLinearProgram solver

2009-12-10 Thread Hassan
On Dec 10, 10:45 am, Nathann Cohen wrote: > I was a bit worried about it :-) > > You will find everything about the current Alpha there > :http://groups.google.com/group/sage-release/browse_thread/thread/0020... > > Please remember to use the last versions of the spkg in this case -- > i.e. the o

[sage-support] Portforwarding to Sage via VirtualBox

2009-12-10 Thread Stefan
Hi all, For the last several days, I've been trying to properly configure port forwarding in VirtualBox so that I can have the VM accessible to other machines on the network. After doing research, I came across these sets of commands: VBoxManage.exe setextradata "Sage 4.2.1" "VBoxInternal/Device