[SciPy-user] Installation on dual opteron ...

Brett Olivier bgoli at sun.ac.za
Tue Sep 27 02:54:54 CDT 2005


Hi

Try the options suggested in

http://www.scipy.org/mailinglists/mailman?fn=scipy-user/2005-February/004066.html

 I used them to compile ATLAS/LAPACK for SciPy on an Intel processor running 
Mandriva x86_64 after I ran into -fPIC problems.

Brett

On Tuesday 27 September 2005 09:06, Arnd Baecker wrote:
> Hi,
>
> many thanks for your reply!
>
> On Fri, 23 Sep 2005, Stephen Walton wrote:
>
> [...]
>
> > I would strongly recommend 3.4.4 and g77.  Since gfortran is part of the
> > gcc4 suite, I'm not sure what will happen if you use gcc 3.x but
> > gfortran instead of g77.
>
> So I went for 3.4.4 and get stuck with the -fPIC stuff.
> Presumably I am missing something simple - any help is appreciated
> (list of questions below ...).
>
> `python setup.py install` for scipy leads to:
>
> [...]
> building 'scipy.lib.lapack.flapack' extension
> compiling C sources
> gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -fPIC -fPIC'
> compile options: '-DATLAS_INFO="\"3.7.11\"" -DNUMERIC_VERSION="\"24.0b2\""
> -DNUMERIC -I/scr/python3/lib -I/scr/python3/include/python2.4 -Ibuild/src
> -I/scr/python3/include/python2.4 -c'
> /scr/python3/bin/g77 -shared
> build/temp.linux-x86_64-2.4/build/src/build/src/Lib/lib/lapack/flapackmodul
>e.o build/temp.linux-x86_64-2.4/build/src/fortranobject.o
> -L/scr/python3/lib64 -Lbuild/temp.linux-x86_64-2.4 -llapack -lptf77blas
> -lptcblas -latlas -lg2c -o
> build/lib.linux-x86_64-2.4/scipy/lib/lapack/flapack.so
> /usr/bin/ld: /scr/python3/lib64/liblapack.a(slamch.o): relocation
> R_X86_64_32S against `a local symbol' can not be used when making a shared
> object; recompile with -fPIC
> /scr/python3/lib64/liblapack.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: Command "/scr/python3/bin/g77 -shared
> build/temp.linux-x86_64-2.4/build/src/build/src/Lib/lib/lapack/flapackmodul
>e.o build/temp.linux-x86_64-2.4/build/src/fortranobject.o
> -L/scr/python3/lib64 -Lbuild/temp.linux-x86_64-2.4 -llapack -lptf77blas
> -lptcblas -latlas -lg2c -o
> build/lib.linux-x86_64-2.4/scipy/lib/lapack/flapack.so" failed with exit
> status 1/usr/bin/ld: /scr/python3/lib64/liblapack.a(slamch.o): relocation
> R_X86_64_32S against `a local symbol' can not be used when making a shared
> object; recompile with -fPIC
> /scr/python3/lib64/liblapack.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status

-- 
Brett G. Olivier
Postdoctoral Fellow
Triple-J Group for Molecular Cell Physiology
Stellenbosch University
bgoli at sun dot ac dot za   http://glue.jjj.sun.ac.za/~bgoli
Tel +27-21-8082704  Fax +27-21-8085863  Mobile +27-82-7329306
 
Let us live!!!
Let us love!!!
Let us share the deepest secrets of our souls!!!

You first.
 



More information about the SciPy-user mailing list