[SciPy-user] failure to build scipy on RHEL5

Michael Hearne mhearne at usgs.gov
Fri Apr 25 11:42:54 EDT 2008


Paul - Thanks!  I took a first crack at installing these, and started  
with BLAS.

When I do "sudo rpm -i blas-3.1.1-2.el5.x86_64.rpm", I get a bunch of  
conflicts...

I then tried "sudo rpm -q blas" and was returned:
blas-3.0-37.el5
blas-3.0-37.el5

I'm not terribly familiar with RH, as I use Ubuntu at home, does this  
mean I have two instances of BLAS 3.0 already installed?  If so, is it  
safe to use rpm to remove them?

--Mike


On Apr 24, 2008, at 7:31 PM, Paul Barrett wrote:

> Mike,
>
> Attached are the following RPMs:
>
> atlas, blas, lapack, python-numpy, python-scipy
>
> You may need some additional packages such as fftw3, etc. which are
> readily available in one or more repositories.
>
> I'll send the devel RPMs in the next email.
>
> I hope that you get them.
>
> -- Paul
>
> On Thu, Apr 24, 2008 at 6:22 PM, Michael Hearne <mhearne at usgs.gov>  
> wrote:
>> Yes.
>>
>>
>>
>> On Apr 24, 2008, at 2:27 PM, Paul Barrett wrote:
>> Mike,
>>
>> Are you on a 64 bit platform?
>>
>> -- Paul
>>
>> On Thu, Apr 24, 2008 at 12:52 PM, Michael Hearne <mhearne at usgs.gov>  
>> wrote:
>> Paul - I apologize if you get two responses - it's not clear if my  
>> email
>> client actually delivered another email I just sent on this topic.
>>
>> In answer to your offer - yes, that would be great if I could get  
>> the RPMs,
>> as I am completely unable to compile scipy on my own.  I'm using  
>> f77, and
>> getting complaints about not having a Fortran 90 compiler, and not  
>> having
>> compiled with LAPACK with -fPIC (which I certainly _tried_ to do).
>>
>> Anyway, if you have time to put them on EPEL, that would help me and
>> hopefully other frustrated RHEL users out there.  Otherwise, let me  
>> know the
>> best way for me to get the files.
>>
>> Thanks,
>>
>> Mike
>>
>>
>>
>> On Apr 23, 2008, at 4:17 PM, Paul Barrett wrote:
>> Mike,
>>
>> I have numpy, scipy, and matplotlib RPMs for EL5 x86_64, if you want
>> them.  I also think that I have the i386 ones too, but the SRPMs are
>> of course available.
>>
>> I've been meaning to offer them to the EPEL repository, but I haven't
>> made the time.
>>
>> -- Paul
>>
>>
>> On Wed, Apr 23, 2008 at 5:59 PM, Robert Kern  
>> <robert.kern at gmail.com> wrote:
>> On Wed, Apr 23, 2008 at 4:53 PM, Michael Hearne <mhearne at usgs.gov>  
>> wrote:
>>
>> Wasn't sure how far back to go, so here's several more lines' worth:
>>
>> Here's the important one:
>>
>>
>> /usr/bin/ld: /usr/local/lib/libfblas.a(cgemm.o): relocation
>> R_X86_64_32 against `a local symbol' can not be used when making a
>> shared object; recompile with -fPIC
>> /usr/local/lib/libfblas.a: could not read symbols: Bad value
>>
>> You need to compile BLAS to be relocatable using the -fPIC flag to  
>> the
>> compilation flags. If you are following the directions on that wiki
>> strictly, replace this line:
>>
>>  g77 -fno-second-underscore -O2 -c *.f
>>
>> with this line:
>>
>>  g77 -fPIC -fno-second-underscore -O2 -c *.f
>>
>>
>>
>> --
>> Robert Kern
>>
>> "I have come to believe that the whole world is an enigma, a harmless
>> enigma that is made terrible by our own mad attempt to interpret it  
>> as
>> though it had an underlying truth."
>>  -- Umberto Eco
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>>
>>
>>
>> ------------------------------------------------------
>> Michael Hearne
>> mhearne at usgs.gov
>> (303) 273-8620
>> USGS National Earthquake Information Center
>> 1711 Illinois St. Golden CO 80401
>> Senior Software Engineer
>> Synergetics, Inc.
>> ------------------------------------------------------
>>
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------
>> Michael Hearne
>> mhearne at usgs.gov
>> (303) 273-8620
>> USGS National Earthquake Information Center
>> 1711 Illinois St. Golden CO 80401
>> Senior Software Engineer
>> Synergetics, Inc.
>> ------------------------------------------------------
>>
>>
> < 
> atlas 
> -3.6.0 
> -12 
> .el5 
> .x86_64 
> .rpm 
> ><blas-3.1.1-2.el5.x86_64.rpm><lapack-3.1.1-2.el5.x86_64.rpm><python- 
> numpy-1.0.4-1.el5.x86_64.rpm><python-scipy-0.6.0-3.el5.x86_64.rpm>




------------------------------------------------------
Michael Hearne
mhearne at usgs.gov
(303) 273-8620
USGS National Earthquake Information Center
1711 Illinois St. Golden CO 80401
Senior Software Engineer
Synergetics, Inc.
------------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080425/de6da10b/attachment.html>


More information about the SciPy-User mailing list