[Wien] Undefined references

Michael Gurnett michael.gurnett at kau.se
Mon Apr 3 18:25:33 CEST 2006


Also make sure you compile with fce and NOT fc.



On Mon, 2006-04-03 at 18:06 +0200, Peter Blaha wrote:
> I don't quite understand why you do not use the default options comming
> with WIEN2k_06 ?
> 
> The error is not with the mkl itself, but with the lapack routines
> > IPO Error: unresolved : dger
> >        Referenced in libmkl_lapack.a(dlarf.o)
> 
> And checking your Makefile you defined     -lmkl_em64t -lmkl_lapack
> but you must use                           -lmkl_lapack64 -lmkl_em64t -lguide 
> 
> On all new (64bit) PCs with P4emt (Xeons) or AMD64 (Opterons) and ifort/mkl
> please use at first the defaults coming with WIEN2k  siteconfig.
> 
> The only possible changes are when the mkl-library installed under a different
> path
> -L/opt/intel/mkl/8.0/lib/em64t 
> 
> 
> Only if this is working, play around with different options,....
> 
> > I've been working on compilation of Wien2k_06 last two days, but got a lot of
> > undefined references.
> > Below is the snippet of screen output of compilation of lapw1. The attached
> > file is the Makefile for
> > SRC_lapw1 I'm currently using.
> > 
> > It seems that it failed to find the references to API functions of BLAS, which
> > in my case is Intel's
> > libmkl_em64t.a. I failed to compile all programs that use MKL libraries, such
> > that lapw1, lapw2
> > lapw7, lapwdm, lapwso, aim ......
> > 
> > I'm using IBM BladeCenter with 2 opteron 252, 4GB RAM, InfiniBand NIC for each
> > blade, 12
> > in total. OS is RHEL3 and compilers are Intel C/C++ and Fortran 9.0-021 for
> > x86_64, MKL is
> > 8.0-018. Blacs and Scalapack are my self-compiled with Intel compiler and MKL.
> 
> 
>                                       P.Blaha
> --------------------------------------------------------------------------
> Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
> Phone: +43-1-58801-15671             FAX: +43-1-58801-15698
> Email: blaha at theochem.tuwien.ac.at    WWW: http://info.tuwien.ac.at/theochem/
> --------------------------------------------------------------------------
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> 



More information about the Wien mailing list