Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Makefile for Atompaw

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Makefile for Atompaw


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Makefile for Atompaw
  • Date: Thu, 12 Apr 2007 16:42:47 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ef+nh33NxS8jIDJzTtdt5IU+ruzLJfNIyYZ8qlO+TYY7Gdo8OdXTk40pqD1yFs9r7qnfJSezHhe0hro/oKGwXDtFkzjmaGCBwww38KZwRihoF8BKH/RMSnmZxej7Rv4jU+kxwcFvYwaTEl2zp+HSNiTalP5jbDuXgbT0+7+m1zM=

Hi,

I'm very surprised that you use gfortran-4.0. Do you use it routinely
? I am quite conviced that this is a pre-pre-alpha version of
gfortran. What happens if you use g95 or gfortran-4.2 ?

regards

PMA

On 4/12/07, Pascal Rausch <rausch@physik.rwth-aachen.de> wrote:
Hi,


I am trying to compile Atompaw but have some trouble doing so. Iam using
Kubuntu 6.06 and gfortran. Compiling it, it starts well but then I get
this error (i just print here the first part of the output ):

/usr/bin/gfortran-4.0 -static -o atompaw aeatom.o anderson_realmix.o
atomdata.o \
atompaw.o basis.o calcpotential.o \
excor.o globalmath.o \
gridmod.o pseudo.o radialsch.o radialsr.o /usr/lib/liblapack.a
/usr/lib/libblas.a -L/usr/lib
/usr/lib/libblas.a(xerbla.o): In function `xerbla_': multiple definition
of `xerbla_'
/usr/lib/liblapack.a(xerbla.o): first defined here
/usr/bin/ld: Warning: size of symbol `xerbla_' changed from 73 in
/usr/lib/liblapack.a(xerbla.o) to 55 in /usr/lib/libblas.a(xerbla.o)
/usr/lib/liblapack.a(dormbr.o): In function `dormbr_': undefined
reference to `s_cat'
/usr/lib/liblapack.a(dormbr.o): In function `dormbr_': undefined
reference to `s_cat'
/usr/lib/liblapack.a(dormlq.o): In function `dormlq_': undefined
reference to `s_cat'
/usr/lib/liblapack.a(dormlq.o): In function `dormlq_': undefined
reference to `s_cat'
/usr/lib/liblapack.a(dormqr.o): In function `dormqr_': undefined
reference to `s_cat'
/usr/lib/liblapack.a(dormqr.o): more undefined references to `s_cat' follow
/usr/lib/liblapack.a(dlamch.o): In function `dlamc2_': undefined
reference to `s_wsfe'
/usr/lib/liblapack.a(dlamch.o): In function `dlamc2_': undefined
reference to `do_fio'
... etc


My makefile looks like this

LIBS = /usr/lib/liblapack.a \
/usr/lib/libblas.a \
-L/usr/lib

F90 = /usr/bin/gfortran-4.0
F90FLAGS = -static
LDFLAGS = $(F90FLAGS)


Any idea?


Yours sincerely


Pascal Rausch







--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page