[Wannier] problem at compiling
Keith Ray
yarrgk at gmail.com
Thu Apr 23 08:39:40 CEST 2009
I tried to make wannier90 with g95. I first made netlib's LAPACK and then
ATLAS using g95 and they seem to work. However, when using the make.sys.g95
file I tried to make wannier and got the following.
[root at krdell wannier]# make wannier
(cd src ; make prog)
make[1]: Entering directory `/home/Keith/pwscfwannier/interpolation-
package/wannier/src'
g95 wannier_prog.F90 -O2 parameters.o io.o utility.o overlap.o kmesh.o
disentangle.o wannierise.o plot.o comms.o -L/home/Keith/atlas/lib -
llapack -lf77blas -lcblas -latlas -o ../wannier90.x
/home/Keith/atlas/lib/liblapack.a(dgesvd.o): In function `dgesvd_':
dgesvd.f:(.text+0x35d): undefined reference to `s_cat'
dgesvd.f:(.text+0x6e0): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(dormbr.o): In function `dormbr_':
dormbr.f:(.text+0x2b0): undefined reference to `s_cat'
dormbr.f:(.text+0x554): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(dormlq.o): In function `dormlq_':
dormlq.f:(.text+0x202): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(dormlq.o):dormlq.f:(.text+0x64c):
more undefined references to `s_cat' follow
/home/Keith/atlas/lib/liblapack.a(zlahqr.o): In function `zlahqr_':
zlahqr.f:(.text+0x41c): undefined reference to `z_abs'
zlahqr.f:(.text+0x49a): undefined reference to `z_abs'
zlahqr.f:(.text+0x1574): undefined reference to `z_abs'
zlahqr.f:(.text+0x1c39): undefined reference to `z_sqrt'
zlahqr.f:(.text+0x1c6f): undefined reference to `z_sqrt'
zlahqr.f:(.text+0x1e4e): undefined reference to `z_sqrt'
zlahqr.f:(.text+0x2015): undefined reference to `z_abs'
/home/Keith/atlas/lib/liblapack.a(zlange.o): In function `zlange_':
zlange.f:(.text+0x95): undefined reference to `z_abs'
zlange.f:(.text+0xd1): undefined reference to `z_abs'
zlange.f:(.text+0xf4): undefined reference to `z_abs'
zlange.f:(.text+0x135): undefined reference to `z_abs'
/home/Keith/atlas/lib/liblapack.a(zlange.o):zlange.f:(.text+0x153):
more undefined references to `z_abs' follow
/home/Keith/atlas/lib/liblapack.a(zlaqr0.o): In function `zlaqr0_':
zlaqr0.f:(.text+0x160d): undefined reference to `z_sqrt'
/home/Keith/atlas/lib/liblapack.a(zlaqr4.o): In function `zlaqr4_':
zlaqr4.f:(.text+0x15ec): undefined reference to `z_sqrt'
/home/Keith/atlas/lib/liblapack.a(zunmbr.o): In function `zunmbr_':
zunmbr.f:(.text+0x2d3): undefined reference to `s_cat'
zunmbr.f:(.text+0x58e): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(zunmlq.o): In function `zunmlq_':
zunmlq.f:(.text+0x202): undefined reference to `s_cat'
zunmlq.f:(.text+0x666): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(zunmqr.o): In function `zunmqr_':
zunmqr.f:(.text+0x20a): undefined reference to `s_cat'
/home/Keith/atlas/lib/liblapack.a(zunmqr.o):zunmqr.f:(.text+0x657):
more undefined references to `s_cat' follow
/home/Keith/atlas/lib/liblapack.a(dlamch.o): In function `dlamc2_':
dlamch.f:(.text+0xf06): undefined reference to `s_wsfe'
dlamch.f:(.text+0xf1d): undefined reference to `do_fio'
dlamch.f:(.text+0xf25): undefined reference to `e_wsfe'
/home/Keith/atlas/lib/liblapack.a(zgebal.o): In function `zgebal_':
zgebal.f:(.text+0x915): undefined reference to `z_abs'
zgebal.f:(.text+0x973): undefined reference to `z_abs'
/home/Keith/atlas/lib/liblapack.a(zlacn2.o): In function `zlacn2_':
zlacn2.f:(.text+0x240): undefined reference to `z_abs'
zlacn2.f:(.text+0x29b): undefined reference to `z_abs'
zlacn2.f:(.text+0x2d2): undefined reference to `z_abs'
/home/Keith/atlas/lib/liblapack.a(zlacn2.o):zlacn2.f:(.text+0x30f):
more undefined references to `z_abs' follow
make[1]: *** [prog] Error 1
make[1]: Leaving directory `/home/Keith/pwscfwannier/interpolation-
package/wannier/src'
make: *** [wannier] Error 2
Does anyone know what is going on? From searching I'm guessing that
these functions are in a library that's not "linked." However I'm not
sure what to do.
Thank you very much, I'm new to Linux and appreciate all the help I can get.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/wannier/attachments/20090422/7338049b/attachment.html>
More information about the Wannier
mailing list