Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] error when compiling

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] error when compiling


Chronological Thread 
  • 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>:
Hello 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

thank you Dr jacques
i tried the second solution and the compilation was runned successfully
so thank you very much



Archive powered by MHonArc 2.6.15.

Top of Page