Re: [Numpy-discussion] installing numpy on Tiger

2006-10-31 Thread Brian Granger
Nice binaries for gfortran can be found here: hpc.sourceforge.net/ On 10/31/06, Erin Sheldon [EMAIL PROTECTED] wrote: Hi Alan - I have not had luck with the binary distros. There is always something that doesn't work, so I will be interested in the results of your efforts. The biggest

[Numpy-discussion] f2py g3 question

2006-10-25 Thread Brian Granger
HI, I have noticed that Pearu has been doing lots of work on f2py g3. I have heard that this will have support for derived types. What is the status of this work? Is is ready for public use? Are the derived types implemented? Thanks! Brian

Re: [Numpy-discussion] f2py g3 question

2006-10-25 Thread Brian Granger
Pearu, Fantastic, I will try this out. Thanks for your work on this. Brian On 10/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Wed, 25 Oct 2006, Brian Granger wrote: HI, I have noticed that Pearu has been doing lots of work on f2py g3. I have heard that this will have

Re: [Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-22 Thread Brian Granger
So, I have figured out the problem and have a solution. I have submitted a ticket for this: http://projects.scipy.org/scipy/numpy/ticket/362 That describes the problem and solution. Thanks for everyones ideas on this. Brian On 10/21/06, Travis Oliphant [EMAIL PROTECTED] wrote: Brian Granger

[Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-20 Thread Brian Granger
Hi, i am running numpy on aix compiling with xlc. Revision 1.0rc2 works fine and passes all tests. But 1.0rc3 and more recent give the following on import: Warning: invalid value encountered in multiply Warning: invalid value encountered in multiply Warning: invalid value encountered in

Re: [Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-20 Thread Brian Granger
/06, Tim Hochberg [EMAIL PROTECTED] wrote: Brian Granger wrote: Hi, i am running numpy on aix compiling with xlc. Revision 1.0rc2 works fine and passes all tests. But 1.0rc3 and more recent give the following on import: Warning: invalid value encountered in multiply Warning

Re: [Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-20 Thread Brian Granger
/machar.py:267: RuntimeWarning: invalid value encountered in power resolution = ten ** (-self.precision) On 10/20/06, Tim Hochberg [EMAIL PROTECTED] wrote: Brian Granger wrote: Hi, i am running numpy on aix compiling with xlc. Revision 1.0rc2 works fine and passes all tests. But 1.0rc3

Re: [Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-20 Thread Brian Granger
I have been doing these recent tests with 1.0rc3. I am building from trunk right now and we will see how that goes. Thanks for your help. Brian On 10/20/06, Tim Hochberg [EMAIL PROTECTED] wrote: Brian Granger wrote: Also, when I use seterr(all='ignore') the the tests fail

Re: [Numpy-discussion] Problem introduced after 1.0rc2 on AIX with xlc

2006-10-20 Thread Brian Granger
/06, Tim Hochberg [EMAIL PROTECTED] wrote: Brian Granger wrote: When I set seterr(all='warn') I see the following: In [1]: import numpy /usr/common/homes/g/granger/usr/local/lib/python/numpy/lib/ufunclike.py:46: RuntimeWarning: invalid value encountered in log _log2 = umath.log(2

[Numpy-discussion] Always using scientific notation to print

2006-09-22 Thread Brian Granger
I want to be able to print an array in scientific notation. I have seen the set_printoptions() functions, but it doesn't really have an option for *always* using scientific notation. Can this be done? How? Thanks Brian -

Re: [Numpy-discussion] Always using scientific notation to print

2006-09-22 Thread Brian Granger
You can write a function that formats arrays how you like them and then tell ndarray to use it for __str__ or __repr__ using numpy.set_string_function(). That seems to be a little low level for most users. Would it be hard to have the possibility of specifying a format string? Brian