forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Alain Jacques <ajs.jacques@gmail.com>
- To: forum@abinit.org
- Subject: Re: [abinit-forum] error when compiling
- Date: Mon, 02 Mar 2009 14:55:42 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=vuJOXWHfq9SWdbjqMUxTeU014dpxCExhwH1gaLvCL+wbNzIja6U2WpsYNXDnjVMlqo 0CbvcNUCpJn0E5cI1M8MJOW+3X9N9A9gU7HGyWFzVUYwLzWLXqArc/ebN1kNy6hgDfIg P1ttLwdRGXj2GuGjAlQ81LUdBAaFIGRiP0k44=
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
- [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.