[gpaw-users] installation error
Marcin Dulak
Marcin.Dulak at fysik.dtu.dk
Sun Nov 23 12:51:28 CET 2014
Hi,
On 11/23/2014 12:00 AM, Vito Versace wrote:
> Dear all,
>
> I try to install gpaw under Ubuntu but when running python setup.py
> install --home=<my-directory> 2>&1 | tee install.log i have the
> following error :
which Ubuntu are your running on?
If 14.04 consider installing the precompiled package from our obs
repositories:
https://wiki.fysik.dtu.dk/ase/download.html#installation-with-package-manager-on-linux
If you don't want to install foreign debs unpack the deb file with ar as
described for example here:
https://ask.fedoraproject.org/en/question/45112/viber-on-fedora/
> ------------------------------------------------------------------------------------------
> temp.linux-x86_64-2.6/c/xc/libxc.o
> build/temp.linux-x86_64-2.6/c/xc/pbe.o
> build/temp.linux-x86_64-2.6/c/xc/pw91.o -lxc -lblas -llapack -o
> build/lib.linux-x86_64-2.6/_gpaw.so
> /usr/bin/ld: /usr/local/lib/libblas.a(zgemm.o): relocation R_X86_64_32
> against `.rodata' can not be used when making a shared object;
> recompile with -fPIC
> /usr/local/lib/libblas.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> ------------------------------------------------------------------------------------------
>
> I also recompiled it with -fPIC but the error still persists.
it's the blas that needs to be recompiled with -fPIC.
Best regards,
Marcin
>
> Bests
> Vito
>
>
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20141123/92201cc9/attachment.html>
More information about the gpaw-users
mailing list