Re: [sage-support] Re: building fortran extensions on Mac OS X

2010-06-01 Thread Chris Kees
Believe it or not, mpi has been standard on mac for several years and is pretty solid. I'm with you on the bug reporter. Here's the address (and for those that don't know it, ADC membership is free so anybody can submit a bug report): https://bugreport.apple.com On Wed, Jun 2, 2010 at 12:44 AM,

Re: [sage-support] Re: building fortran extensions on Mac OS X

2010-06-01 Thread Tim Lahey
On Wed, Jun 2, 2010 at 1:41 AM, Chris Kees wrote: > Hey, thanks, that patch fixed it. Yes, I'm on a 64-bit mac. We've had a lot > of trouble with numpy distutils and fortran on the mac unrelated to sage.  I > was hoping that sage would provide a way to avoid those hassles among other > things. App

Re: [sage-support] Re: building fortran extensions on Mac OS X

2010-06-01 Thread Chris Kees
Hey, thanks, that patch fixed it. Yes, I'm on a 64-bit mac. We've had a lot of trouble with numpy distutils and fortran on the mac unrelated to sage. I was hoping that sage would provide a way to avoid those hassles among other things. Apple could make life a hell of a lot easier by including gfor

[sage-support] Re: building fortran extensions on Mac OS X

2010-06-01 Thread Felix Lawrence
Hi Chris, Are you on a 64-bit mac, i.e. core 2 duo or newer? I believe Sage's implementation of f2py is broken on 64-bit macs - certainly it is broken on mine too. There is a simple patch that fixes this problem at http://trac.sagemath.org/sage_trac/ticket/8010 , if anyone wants to review it. U

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Jason Grout
On 6/1/10 8:57 PM, Vinod wrote: Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Are you saying that in the Sage notebook: 1. You can use the above code to create a matlab plot and save it to a specific

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Vinod
Yes, matlab does save the images properly to the directory. But the problem here is to get the image displayed on the web browser itself. Thanks, Vinod On Jun 1, 4:17 pm, Jason Grout wrote: > On 6/1/10 5:53 PM, Vinod wrote: > > > hello Jason, > > > This doesn't work either... :( > > matlab doesn

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Jason Grout
On 6/1/10 5:53 PM, Vinod wrote: hello Jason, This doesn't work either... :( matlab doesn't even start with xvfb-run command. it gives lot of errors. As William pointed out, is the original problem resolved by one of the other messages? If not, can you precisely state the problem as it now

[sage-support] Re: typesetting arrays

2010-06-01 Thread Jason Grout
On 5/30/10 6:41 PM, Jim Ragsdale wrote: I tried something else that a saw online: input: a=matrix(QQ,2,3,[1,2,3, 4,5,6]) show(a) output: looks like what I would expect. So do NumPy arrays not display like a matrix in the notebook? That's correct, at least for "show". You could convert

[sage-support] Re: Sage Server - displaying Matlab plots

2010-06-01 Thread Vinod
hello Jason, This doesn't work either... :( matlab doesn't even start with xvfb-run command. it gives lot of errors. ~Vinod On May 28, 6:24 pm, Jason Grout wrote: > On 5/28/10 8:08 PM, William Stein wrote: > > > > > On Fri, May 28, 2010 at 5:52 PM, Jason Grout > >  wrote: > >> On 5/28/10 7:47

[sage-support] Re: zeros of the Riemann zeta function

2010-06-01 Thread John Cremona
Did you read the documentation of the function? It makes it quite clear: Definition: lcalc.zeros(self, n, L='') Docstring: Return the imaginary parts of the first n nontrivial zeros of the L-function in the upper half plane, as 32-bit reals. INPUT: * ``n`` - inte

Re: [sage-support] zeros of the Riemann zeta function

2010-06-01 Thread Robert Bradshaw
On Jun 1, 2010, at 11:05 AM, William Stein wrote: On Tue, Jun 1, 2010 at 10:58 AM, Robert Bradshaw wrote: On Jun 1, 2010, at 8:13 AM, Anne Driver wrote: Hello, I am new to this list, and relatively new to Sage. I'm puzzled by the logic of one part of Sage though. Although I don't have a

Re: [sage-support] zeros of the Riemann zeta function

2010-06-01 Thread William Stein
On Tue, Jun 1, 2010 at 10:58 AM, Robert Bradshaw wrote: > On Jun 1, 2010, at 8:13 AM, Anne Driver wrote: > >> Hello, >> >> I am new to this list, and relatively new to Sage. I'm puzzled by the >> logic of one part of Sage though. >> >> Although I don't have access to Mathematica at the minute on t

Re: [sage-support] zeros of the Riemann zeta function

2010-06-01 Thread Robert Bradshaw
On Jun 1, 2010, at 8:13 AM, Anne Driver wrote: Hello, I am new to this list, and relatively new to Sage. I'm puzzled by the logic of one part of Sage though. Although I don't have access to Mathematica at the minute on this computer, I know if I compute the first zero, I get something lik

[sage-support] Re: building fortran extensions on Mac OS X

2010-06-01 Thread David Kirkby
On 1 June, 14:45, Chris Kees wrote: > Hi, > > I'm trying to build a fortran extension module with f2py using and spkg I've > built for sage 4.4.2 on Mac OS X 10.6. When I just run 'python setup.py > install' from the commandline (with SAGE_LOCAL at the front of my path, > etc.) The module build/

[sage-support] zeros of the Riemann zeta function

2010-06-01 Thread Anne Driver
Hello, I am new to this list, and relatively new to Sage. I'm puzzled by the logic of one part of Sage though. Although I don't have access to Mathematica at the minute on this computer, I know if I compute the first zero, I get something like In[1] = ZetaZero[1] //N (to get a numerical value) O

[sage-support] pyhdf

2010-06-01 Thread Max
Hi together, I'm trying to install pyhdf to work with NASA's HDF-EOS files. Unfortunately it does not work, if I follow these instructions: http://pysclint.sourceforge.net/pyhdf/install.html So I compiled szlib and hdf4 succesfully and did in the sage shell (I have sage 4.3.3 and Suse 11.1): $ ex

[sage-support] building fortran extensions on Mac OS X

2010-06-01 Thread Chris Kees
Hi, I'm trying to build a fortran extension module with f2py using and spkg I've built for sage 4.4.2 on Mac OS X 10.6. When I just run 'python setup.py install' from the commandline (with SAGE_LOCAL at the front of my path, etc.) The module build/installs fine, but when in installing as an spkg I

[sage-support] definition and composition of maps with several variables

2010-06-01 Thread pepino
I would like to compute the composition (f o g) where f, g are polynomial maps from R^2 to R^2. For example, if f(x,y) = (y, y^2 + x), I would like to obtain (f o f)(x,y) = (y^2 + x, (y^2 + x)^2 + y) In Maple the code is more or less : f := (x,y) -> (y, y^2 + x); (f...@f)(x,y); Is there a way to