[Wien] still trouble compiling

Peter Blaha pblaha at zeus.theochem.tuwien.ac.at
Fri Jul 25 23:47:24 CEST 2003


> I had the same problem today. It seems something changed from mkl5.2 to
> mkl6.0: now mkl contains a function lsame, and accidentally another function
> with the same name is already used in lapack_lapw1.f. That causes a
> conflict.
> You can solve it by renaming all the 229 occurences of LSAME in
> $WIENROOT/SRC_lib/lapack_lapw/lapack_lapw1.f by another name (e.g. LLSSAME).

The recommended way (see the faq page, and soon the new default
options in siteconfig) is to use the lapack library from the mkl
package, i.e. -lmkl_lapack

Regards

                                      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/
--------------------------------------------------------------------------




More information about the Wien mailing list