Re: [Numpy-discussion] unpickle

2008-11-20 Thread Frank Lagor
> > This, and your previous question, are mostly off-topic for > numpy-discussion. You may want to ask such questions in the future on > more general Python mailing lists. > > http://www.python.org/community/lists/ > > -- > Robert Kern > > Yes of course. Sorry for the spam. The numpy list is jus

[Numpy-discussion] unpickle

2008-11-19 Thread Frank Lagor
I have only used pickle a little and I did not see this in the docstring: Is there anyway to unpickle in reverse order? It appears the pickling works like a queue. I execute: pickle.dump(obj1,file) pickle.dump(obj2,file) Then when I go to retrieve: pickle.load(file) returns obj1 pickle.load(fil

[Numpy-discussion] simple python question on what happens when functions are declared

2008-11-19 Thread Frank Lagor
Thank you very much Robert. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] simple python question on what happens when functions are declared

2008-11-19 Thread Frank Lagor
Hi, Can someone please explain what happens here: In testfile.py: x = 5 def arbFunc(): print x del x print "Done with Test" arbFunc() Then run the file with python testfile.py As opposed to x = 5 print x del x print "Done with Test" Which of course works fine. This question is of

[Numpy-discussion] Fwd: fill() function does not work.

2008-11-18 Thread Frank Lagor
-- Forwarded message -- From: Matthieu Brucher <[EMAIL PROTECTED]> Date: Tue, Nov 18, 2008 at 1:36 PM Subject: Re: [Numpy-discussion] fill() function does not work. To: Discussion of Numerical Python >From the docstring: a.fill(value) -> None. Fill the array with the scalar valu

Re: [Numpy-discussion] library linking during numpy build

2008-11-04 Thread Frank Lagor
On Tue, Nov 4, 2008 at 12:07 PM, David Cournapeau < [EMAIL PROTECTED]> wrote: > Frank Lagor wrote: > > Hi Everyone, > > > > I previously had a problem with installing numpy on a cluster of mine, > > but it seemed to be resolved. The installation was successfu

[Numpy-discussion] library linking during numpy build

2008-11-04 Thread Frank Lagor
Hi Everyone, I previously had a problem with installing numpy on a cluster of mine, but it seemed to be resolved. The installation was successful and the numpy code ran well. Unfortunately, this was not the case when I tried to run parallel code. The other processors have difficulty finding a pa

Re: [Numpy-discussion] Complete LAPACK needed (Frank Lagor)

2008-11-01 Thread Frank Lagor
Thanks so much for your help, David. I'm sorry I did not receive your posts previously -- I have the digest mode on and there is a bit of a delay. I'll try to change my options next time I post a request. Thanks so much again, Frank ___ Numpy-discussio

Re: [Numpy-discussion] Complete LAPACK needed (Frank Lagor)

2008-11-01 Thread Frank Lagor
Problem solved-- This posting is just to complete the thread to document it if others have similar issues. The previous error: ImportError: liblapack.so: cannot open shared object file: No such file or directory was solved simply by checking that the environment variables were set properly. I se

Re: [Numpy-discussion] Complete LAPACK needed (Frank Lagor)

2008-10-31 Thread Frank Lagor
Hi Everyone, I am trying to give an update here so that maybe it will be easier for someone to help me out now. I have gone through the lapack installation and the atlas installation and everything seems to have worked fine. Everything was compiled using the 'fPIC' option and I figured out how t

[Numpy-discussion] Complete LAPACK needed

2008-10-30 Thread Frank Lagor
Dear all, I need to use functions in scipy which depend on having a complete lapack library. However, I am having a bit of trouble installing numpy and referencing a complete lapack library that I built. I have a few questions that I am hoping someone can help me answer: 1) This machine is a cl

Re: [Numpy-discussion] Numpy-discussion Digest, Vol 22, Issue 109

2008-07-25 Thread Frank Lagor
. (Christopher Burns) > 3. Re: numpy-1.1.1rc2 Mac binary - Please Test. (Alan McIntyre) > 4. curious problem with SVD (Frank Lagor) > 5. Re: curious problem with SVD (Keith Goodman) > 6. Re: curious problem with SVD (Keith Goodman) > 7. Re: curious problem with SVD (Robert K

[Numpy-discussion] curious problem with SVD

2008-07-25 Thread Frank Lagor
W = n.linalg.svd(R) >>> V*n.diag(D)*W.transpose() array([[ 3.5410365 , 0.], [ 0., 1.67537611]]) >>> R = n.matrix([[3.6,.35],[.35,1.8]]) >>> V,D,W = n.linalg.svd(R) >>> V*n.diag(D)*W.transpose() matrix([[ 3.6 , 0.35], [ 0.35,