[SciPy-dev] Building numpy/scipy on RHEL5 OR CentOS5
Michael Hearne
mhearne at usgs.gov
Tue Jun 24 15:25:48 EDT 2008
I've now passed the BLAS/Lapack stage, and am trying to build scipy.
However, I get the following sorts of errors from swig:
scipy/linsolve/umfpack/umfpack.i:192: Error: Unable to find 'umfpack.h'
scipy/linsolve/umfpack/umfpack.i:193: Error: Unable to find
'umfpack_solve.h'
...
I found something from the Scipy-User mailing list (from two years ago!):
http://projects.scipy.org/pipermail/scipy-user/2006-July/008661.html
That indicates I should do this:
>>export UMFPACK = "None"
in the shell.
I couldn't find any umf*.h files anywhere in scipy or any of the other
supporting packages. Is this another external dependency, or something
I can ignore using the method above?
--Mike
David Cournapeau wrote:
> Phil Austin wrote:
>
>> 3) build LAPACK
>>
>> for lapack: cp INSTALL/make.inc.LINUX ~/install/lapack-3.1.1/make.inc
>> and edit:
>>
>> FORTRAN = gfortran
>> OPTS = -funroll-all-loops -O3 -fPIC
>> DRVOPTS = $(OPTS)
>> NOOPT =
>> LOADER = gfortran
>> LOADOPTS =
>>
>> BLASLIB = /home/phil/usr251_Centos/lib/libcblas.a
>> LAPACKLIB = lapack$(PLAT).a
>> TMGLIB = tmglib$(PLAT).a
>> EIGSRCLIB = eigsrc$(PLAT).a
>> LINSRCLIB = linsrc$(PLAT).a
>>
>> !!and then rebuild these individual routines with fPIC -- recompile!
>>
>>
>
> You should put -fPIC to NOOPT and LOADOPTS instead: this will be more
> reliable, as this way, -fPIC will be used for every source file
>
> cheers,
>
> David
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
--
------------------------------------------------------
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.
------------------------------------------------------
More information about the SciPy-Dev
mailing list