[Wien] Question about WIEN2k_07 siteconfig_lapw compiling

Gerhard Fecher fecher at uni-mainz.de
Wed Aug 8 10:19:38 CEST 2007


There should be both
libmkl_lapack.a for static linking (automatically if -lmkl_lapack is given)
and
libmkl_lapack64.so (libmkl_lapack32.so) for dynamic linking (this may need also other libraries from the mkl package, I did not check the latest version, some seem to have new names.)

It is indeed strange that the lapack has in the static version no _em64t, but the mkl (libmkl_em64t.a), wheras the dynamic version of mkl (libmkl.so) has no _em64t.

I think the dynamic .so libraries have to be execuatble for users.

Ciao
Gerhard 



-----Ursprüngliche Nachricht-----
Von: wien-bounces at zeus.theochem.tuwien.ac.at im Auftrag von Peter Blaha
Gesendet: Di 07.08.2007 17:25
An: A Mailing list for WIEN2k users
Betreff: Re: [Wien] Question about WIEN2k_07 siteconfig_lapw compiling
 
cd /opt/intel/mkl/9.1.021/lib/em64t
ls -als

Look what lapack librarries exist there. Most likely *mkl_lapack64*
is not present, but just mkl_lapack. Use whatever is present there
(lithout "lib" at the beginning and without .so at the end)

(Intel labels only the Itanium-libraries with "64", Intel 64-bit systems have
"em64t" or nothing at all)


>  current:FOPT:-FR -mp1 -w -prec_div -pad -ip -DINTEL_VML
> 
> current:FPOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML
> 
> current:LDFLAGS:$(FOPT) -L/opt/intel/fce/10.0.023/lib 
> -L/opt/intel/mkl/9.1.021/lib/em64t -i-static -lguide_stats -lsvml 
> -lpthread -pthread
> 
> current:DPARALLEL:'-DParallel'
> 
> current:R_LIBS:-L/opt/intel/mkl/9.1.021/lib/em64t -lmkl_lapack64 
> -lmkl_em64t -lguide -lguide_stats -lpthread

> 
> My problem is it cannot find -lmkl_lapack64.
> 
> - I am looking for this case at Mailing list in www.wien2k.at 
> <http://www.wien2k.at> web site.

-- 

                                      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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3866 bytes
Desc: not available
Url : http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20070808/10fc94ed/attachment-0001.bin


More information about the Wien mailing list