Re: [Lapackpp-devel] Problem building lapackpp under SLES10SP2 (X86_64)
Status: Beta
Brought to you by:
cstim
|
From: Dr.Peer-Joachim K. <pk...@bg...> - 2010-11-04 10:10:15
|
Hi Christian,
thanks for the quick response !
First step was to install the SLES BLAS and LAPACK rpms.
rpm -ql lapack-3.0-939.4 blas-3.0-939.4
/usr/lib64/liblapack.a
/usr/lib64/liblapack.so.3.0.0
/usr/lib64/libtmglib.a
/usr/share/doc/packages/lapack
/usr/share/doc/packages/lapack/README
/usr/lib64/libblas.a
/usr/lib64/libblas.so
/usr/lib64/libblas.so.3
/usr/lib64/libblas.so.3.0.0
Then a "tar zxf lap..."; configure; make.
The configure normaly reclaims the missing blas lib.
So any other idea ?
Danke schöne Grüße zurück an meine alte (kurze) Heimat ;)
Ciao, Peer
Am 04.11.2010 10:49, schrieb Christian Stimming:
> Zitat von "Dr.Peer-Joachim Koch" <pk...@bg...>:
>> Building with pgi (all compilers) "seems" to work, but there is now
>> shared lib created, just the static one.
>
> The lapackpp (with pp) needs to link against an existing LAPACK (without
> pp) library. In your case, you seem to have the LAPACK library installed
> only in the static version:
>
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/liblapack.a(dgeev.i):
>> relocation R_X86_64_32 against `a local symbol' can not be used when
>> making a shared object; recompile with -fPIC
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64/liblapack.a:
>> could not read symbols: Bad value
>
> You cannot build a shared lapackpp (with pp) unless you also have a
> shared LAPACK installed. Install the shared LAPACK (resulting in some
> file liblapack.so, potentially with additional suffixes) and try again
> configure and make.
>
> Does that fix the problem?
>
> Gruß aus Hamburg nach Jena!
>
> Christian
>
--
Mit freundlichem Gruß
Peer-Joachim Koch
_________________________________________________________
Max-Planck-Institut fuer Biogeochemie
Dr. Peer-Joachim Koch
Hans-Knöll Str.10 Telefon: ++49 3641 57-6705
D-07745 Jena Telefax: ++49 3641 57-7705
|