Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-06 Thread Hung-Hsuan Chen
Thank you. This is very helpful! On Fri, Jul 6, 2012 at 6:23 AM, Aron Ahmadia wrote: > I usually find these problems by searching for "error" in the output, in > your case the complete problem is at the bottom of the log. The relocation > errors you're seeing are happening because the build pro

Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-06 Thread Aron Ahmadia
I usually find these problems by searching for "error" in the output, in your case the complete problem is at the bottom of the log. The relocation errors you're seeing are happening because the build process is trying to link in Atlas libraries (located here: /home/hxc249/lib/atlas/lib/) that wer

Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-06 Thread Hung-Hsuan Chen
Link is a great suggestion! I was hesitating about whether or not to paste such a long output. The site.cfg file is shown in the following link. https://gist.github.com/3059209 The output message for $ python setup.py build --fcompiler=gnu95 can be found at the URL. https://gist.github.com/30593

Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-06 Thread Paul Anton Letnes
> > However, I got the following error message: > error: Command "/usr/bin/g77 -g -Wall -g -Wall -shared > build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/integrate/vodemodule.o > build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/fortranobject.o > -L/home/username/lib/ -L/usr/lib

Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-06 Thread Hung-Hsuan Chen
Thank you for pointing this out. Actually I tried both --fcompiler=gnu95 and --fcompiler=gnu flags, but I got the same error message. As for the redhat version, I'm using Red Hat Enterprise Linux Server release 6.3 (Santiago). On Fri, Jul 6, 2012 at 12:42 AM, Paul Anton Letnes wrote: > Hi, > >

Re: [Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-05 Thread Paul Anton Letnes
Hi, are you sure that you want g77 and not gfortran? If you want gfortran, you should pass the > --fcompiler=gnu95 flag to setup.py. Which redhat version are you building on? (I don't know red hat well enough to comment, but perhaps someone else do...) Paul On 6. juli 2012, at 03:00, Hung-Hsu

[Numpy-discussion] Numpy Installation Problem on Redhat Linux

2012-07-05 Thread Hung-Hsuan Chen
Dear all, I've built blas, lapack, and atlas libraries, as shown below. $ ls ~/lib/atlas/lib/ libatlas.a libcblas.a libf77blas.a liblapack.a libptcblas.a libptf77blas.a The library location are specified by site.cfg file, as shown below. [DEFAULT] library_dirs = /home/username/lib/atlas/li