forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: walid firas <firas.walid@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] error when compiling
- Date: Tue, 3 Mar 2009 12:46:43 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Cq5pmgvru11IaF/0OYKGT/msVDdh97KmzpjvwcZHTZ68nw9JuPcMpmNtuWRn7TkHWO 9aA9CpJmlBDJB+PV4yOCE2AIVqRcGYz84nJRj9Ttjkx3Bl4nxnKnB9e5NWCNtLTXXFE5 Hv3oai2JW9kTTJwGDeshGb+0JJuAAl4GShUoQ=
2009/3/2, Alain Jacques <ajs.jacques@gmail.com>:
thank you Dr jacquesHello Walid,
You probably installed a 64bit Linux OS on your new Opteron. Many
distributions come with both 32bit and 64bit libs but here, the linker
cannot find the 32bit /usr/lib/libm.a when compiling abinit in -default-
32bit.
There are 2 solutions:
x install the missing 32bit libm.a - on my RedHat EL5, this means
install the glibc-devel.i386 package; your distro has probably a similar
way.
x compile abinit in 64bit and link with 64bit libraries by configuring
with --enable-64bit-flags
Cheers,
Alain
walid firas wrote:
> dear users, hello
> i worked with abinit on a 32 bit unix system but now i changed to an
> amd (opteron) 64 bit, but when compiling an error message appears
> which have the following expresssion
> abinit-5.6.5/prereqs/linalg -llapack -lblas
> ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
> ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
> ld: cannot find -lm
> i ask how to solve this problem
> regards
i tried the second solution and the compilation was runned successfully
so thank you very much
- [abinit-forum] error when compiling, walid firas, 03/02/2009
- Re: [abinit-forum] error when compiling, Alain Jacques, 03/02/2009
- Re: [abinit-forum] error when compiling, walid firas, 03/03/2009
- Re: [abinit-forum] error when compiling, Alain Jacques, 03/02/2009
Archive powered by MHonArc 2.6.15.