[Wien] compilation error

shqx shqx at fjirsm.ac.cn
Mon Nov 24 11:57:50 CET 2008


Yes, libmkl_em64t doen't exist in the .../mkl/lib/32, and it is in the .../mkl/lib/em64t. So he should also change the link flags to "-L/opt/intel/Compiler/11.0/069/mkl/lib/em64t -i-static
" if his computer is em64t system. 
The options for compilation and link is machine dependent. If he has an IA32 system, so maybe these will help:

-FR -w -mp1 -prec_div -pad -ip -DINTEL_VML
-L/opt/intel/Compiler/11.0/069/mkl/lib/32 -i-static  -lguide -lguide_stats -lsvml -lpthread
-lmkl_lapack -lmkl_ia32

The reason he didn't succeed in compilation is because those libs he specified obviously don't belong to Intel MKL and certainly the link should fail. 

Xia

> I don't think that libmkl_em64t

> is found in opt/intel/Compiler/11.0/069/mkl/lib/32

> 

> why do you try to use libraries from the 32 bit mkl ?

> 

> what is the reason to use -i-static without giving any library to be linked that way ?

> 

> 

> 

> Ciao

> Gerhard

> 

> ====================================

> Dr. Gerhard H. Fecher

> Institut of Inorganic and Analytical Chemistry

> Johannes Gutenberg - University

> 55099 Mainz

> ________________________________________

> Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at] im Auftrag von shqx [shqx at fjirsm.ac.cn]

> Gesendet: Montag, 24. November 2008 01:02

> An: a mailing list forwien2k users

> Betreff: Re: [Wien] compilation error

> 

> Dear Nour:

> 

> Try this R_LIB: -lmkl_lapack -lmkl_core -lmkl_em64t -lguide -pthread

> Good luck!

> 

> Xia

> 

> 

> > Dear Wien users,

> >

> > I am using intel fortran 11.0 amd Mkl libraries 10.0 with fedora core 8,   when executing  siteconfig, I get the following message:

> >

> > SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1

> >

> > SRC_lapw2/compile.msg:make: *** [real] Error 2

> >

> > SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1

> >

> > SRC_lapw2/compile.msg:make: *** [complex] Error 2

> >

> > SRC_lapwdm/compile.msg:make[1]: *** [lapwdm] Error 1

> >

> > SRC_lapwdm/compile.msg:make: *** [real] Error 2

> >

> > SRC_lapwdm/compile.msg:make[1]: *** [lapwdmc] Error 1

> >

> > SRC_lapwdm/compile.msg:make: *** [complex] Error 2

> >

> > SRC_lapwso/compile.msg:make: *** [lapwso] Error 1

> >

> > SRC_mini/compile.msg:make: *** [mini] Error 1

> >

> > SRC_pairhess/compile.msg:make: *** [pairhess] Error 1

> >

> > SRC_qtl/compile.msg:make: *** [qtl] Error 1

> >

> > SRC_structeditor/SRC_ncmsymmetry/compile.msg:make: *** [ncmsymmetry] Error 1

> >

> >

> >

> > I have used the following compiling options:

> >

> > Current settings:

> >  O   Compiler options:        -FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -traceback

> >  L   Linker Flags:            $(OPT) -L/opt/intel/Compiler/11.0/069/mkl/lib/32 -i-static

> >  P   Preprocessor flags       '-DParallel'

> >  R   R_LIB (LAPACK+BLAS):     -llapack_lapw -lblas_lapw -llapack_lapw -lblas_lapw

> >

> > Thank you for your help. Nour

> >

> >

> >

> >

> >

> >

> 

> 

> 

>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20081124/e1b63cfd/attachment.html


More information about the Wien mailing list