Skip to Content.
Sympa Menu

forum - Makefile for Atompaw

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Makefile for Atompaw


Chronological Thread 
  • From: Pascal Rausch <rausch@physik.rwth-aachen.de>
  • To: forum@abinit.org
  • Subject: Makefile for Atompaw
  • Date: Thu, 12 Apr 2007 16:36:10 +0200

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







Archive powered by MHonArc 2.6.16.

Top of Page