Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-18 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > > Hi Robert, > > I added ref to site.cfg, but still getting the same error message: see > "out.txt" file. > > It seems that install can't find the libraries in /usr/local/lib/atlas/ > (see the "out.txt" file Line 14: libraries lapack,blas not found in > /usr/loc

[Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-18 Thread Gong, Shawn (Contractor)
Sorry Robert, My email sent to mail-list bounced back 5 times. Shawn _ From: Gong, Shawn (Contractor) Sent: Friday, May 18, 2007 5:05 PM To: '[EMAIL PROTECTED]' Subject: RE: [Numpy-discussion] Linux numpy 1.0.1 install failed Hi Robert, I added ref

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > numpy-1.0.2 (from sourceforge site) doesn't even have the site.cfg file. > Is it unnecessary fro this version or it is a mistake? The site.cfg file is something that people who are installing numpy need to write if they need to supply that information. That inform

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Gong, Shawn (Contractor)
numpy-1.0.2 (from sourceforge site) doesn't even have the site.cfg file. Is it unnecessary fro this version or it is a mistake? Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Kern Sent: Friday, May 18, 2007 4:24 PM To: Discussion of Numeric

[Numpy-discussion] Getting ield lenghts in extension module

2007-05-18 Thread Erin Sheldon
Hi all - I'm writing an extension module and I have a PyArrayObject with fields created with PyArray_Zeros from a PyArray_Descr object. In other words, this is an array of non-homogeneous data records, for example: dtype([('x', 'http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > Hi Robert, > 1) your reply: You are missing some of the ATLAS libraries. > Do you mean that I need install more ATLAS libraries? No, sorry, I meant that your site.cfg did not list all of the ATLAS libraries that need to be listed. > 2) do I need to add more entr

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Gong, Shawn (Contractor)
Hi Robert, 1) your reply: You are missing some of the ATLAS libraries. Do you mean that I need install more ATLAS libraries? What are they? These are what I have right now: -rw-r--r--1 root root 8049172 May 15 08:49 libatlas.a -rw-r--r--1 root root 279016 May 15 08:49 li

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > Thank you Robert for the quick reply. I have been fighting this for a > while. > > site.cfg file is attached. It is sitting in my development dir called > /home/sgong/dev/numpy-1.0.1/ (same as setup.py) You are missing some of the ATLAS libraries. See this sect

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Gong, Shawn (Contractor)
Thank you Robert for the quick reply. I have been fighting this for a while. site.cfg file is attached. It is sitting in my development dir called /home/sgong/dev/numpy-1.0.1/ (same as setup.py) Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R

Re: [Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > Hi List, > > I am trying to install numpy 1.0.1 on Linux. (Numeric and numarray have been > fine) > System info: Redhat Linux kernel 2.4 with gcc 3.2.3 but no separate FORTRAN > compiler. > It has a Fortran 77 compiler (the one which comes as part of gcc) > > M

Re: [Numpy-discussion] Documentation

2007-05-18 Thread Robert Kern
Alan G Isaac wrote: > I hope this is not too off topic. It seems that there is at > least one question for Enthought here: > since epydoc has the MIT license, > why not work on making epydoc traits aware instead of > developing endo separately? We are not developing endo. It was written some t

[Numpy-discussion] Linux numpy 1.0.1 install failed

2007-05-18 Thread Gong, Shawn (Contractor)
Hi List, I am trying to install numpy 1.0.1 on Linux. (Numeric and numarray have been fine) System info: Redhat Linux kernel 2.4 with gcc 3.2.3 but no separate FORTRAN compiler. It has a Fortran 77 compiler (the one which comes as part of gcc) My questions: 1) install can't find ATLAS (*.a) tha

Re: [Numpy-discussion] Documentation

2007-05-18 Thread Alan G Isaac
On Fri, 18 May 2007, Charles R Harris apparently wrote: > reST seems to be compatible with all three programs, so > that is an excellent base. What I am searching for is some > consensus as to what the documentation template should > look like. I hope this is not too off topic. It seems that

Re: [Numpy-discussion] Documentation

2007-05-18 Thread Charles R Harris
On 5/18/07, Alan G Isaac <[EMAIL PROTECTED]> wrote: On Fri, 18 May 2007, Charles R Harris apparently wrote: > There now seem to be three different document creation programs: pydoc, > epydoc, and endo. Does anyone know how compatible these all are? I think it > would be best to go with the most

Re: [Numpy-discussion] Documentation

2007-05-18 Thread Alan G Isaac
On Fri, 18 May 2007, Charles R Harris apparently wrote: > There now seem to be three different document creation programs: pydoc, > epydoc, and endo. Does anyone know how compatible these all are? I think it > would be best to go with the most widespread program that looks like it will > be mai

Re: [Numpy-discussion] numpy.distutils improvements (was Re: NumPy 1.0.3 release next week)

2007-05-18 Thread Charles R Harris
Hi Travis, On 5/18/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: Pearu Peterson wrote: >Hi Travis, > >I have pretty much completed work with > > http://projects.scipy.org/scipy/numpy/ticket/522 > >that is about using proper compilers/linkers for >individual extension modules instead of usi

Re: [Numpy-discussion] Documentation

2007-05-18 Thread Charles R Harris
On 5/14/07, Travis Vaught <[EMAIL PROTECTED]> wrote: Just to be thorough... enthought's endo package generates the attached docs when running this: python ~/svnrepos/enthought/src/lib/enthought/endo/scripts/endo.py -r core -p core --rst -d docs I don't want to confuse the numpy documentatio

[Numpy-discussion] NumPy 1.0.3 for Tuesday, May 22

2007-05-18 Thread Travis Oliphant
Hi all, Thank you to the many people who have contributed to cleaning up the tickets in preparation for NumPy 1.0.3 and to the people who have reported bugs and problems. In order to attend to more of the issues and to test out some of Pearu's new changes to numpy.distutils, I've delayed put

[Numpy-discussion] Building an ndarray around an already allocated area of memory

2007-05-18 Thread James Dominy
Hi, First time post, and pretty new to numpy. I'm wrapping another library (SUNDIALS) in python, using ctypes, and was wondering if there were a way to create an ndarray python object around an array (ctypes.c_float*32, for example) without copying it? For example, I have an array created using

Re: [Numpy-discussion] numpy.distutils improvements (was Re: NumPy 1.0.3 release next week)

2007-05-18 Thread Travis Oliphant
Pearu Peterson wrote: >Hi Travis, > >I have pretty much completed work with > > http://projects.scipy.org/scipy/numpy/ticket/522 > >that is about using proper compilers/linkers for >individual extension modules instead of using the >one compiler/linker set for all extension modules >in distribut

Re: [Numpy-discussion] best way for storing extensible data?

2007-05-18 Thread Timothy Hochberg
On 5/18/07, David M. Cooke <[EMAIL PROTECTED]> wrote: On Fri, May 18, 2007 at 03:10:23PM +0300, dmitrey wrote: > hi all, > what is best way for storing data in numpy array? (amount of memory for > preallocating is unknown) > Currently I use just a Python list, i.e. > > r = [] > for i in xrange(N

Re: [Numpy-discussion] best way for storing extensible data?

2007-05-18 Thread Anne Archibald
On 18/05/07, David M. Cooke <[EMAIL PROTECTED]> wrote: > It'll act like appending to a list, where it will grow the array (by > doubling, I think) when it needs to, so appending each value is > amortized to O(1) time. A list though would use more memory > per element as each element is a full Pyth

Re: [Numpy-discussion] best way for storing extensible data?

2007-05-18 Thread David M. Cooke
On Fri, May 18, 2007 at 03:10:23PM +0300, dmitrey wrote: > hi all, > what is best way for storing data in numpy array? (amount of memory for > preallocating is unknown) > Currently I use just a Python list, i.e. > > r = [] > for i in xrange(N)#N is very big >... >r.append(some_value) In

[Numpy-discussion] best way for storing extensible data?

2007-05-18 Thread dmitrey
hi all, what is best way for storing data in numpy array? (amount of memory for preallocating is unknown) Currently I use just a Python list, i.e. r = [] for i in xrange(N)#N is very big ... r.append(some_value) Thx, D. ___ Numpy-discussion mai

[Numpy-discussion] numpy.distutils improvements (was Re: NumPy 1.0.3 release next week)

2007-05-18 Thread Pearu Peterson
Hi Travis, I have pretty much completed work with http://projects.scipy.org/scipy/numpy/ticket/522 that is about using proper compilers/linkers for individual extension modules instead of using the one compiler/linker set for all extension modules in distribution - this allows one to define F