[Wien] Where is the MKL?
Pablo de la Mora
delamora at servidor.unam.mx
Mon Apr 14 20:27:56 CEST 2008
Thank you Gerhard,
Yes, my R_LIB options are incomplete, '-pthread' is missing.
The other comment you make is why I use '-lmkl_lapack64', it is
because it is the recommended option, but with '-lmkl_lapack' it
compiles correctly.
What does not compile correctly is 'lapw0' in the WIENNCM package:
the 'dlu.f' program, which seems to be exactly the same as in WIEN2k
gives the following warning:
/opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o): In
function `caxpy_':_caxpy_iface.c:(.text+0x0): definiciones múltiples de
`caxpy_'
dlu.o:dlu.f:(.text+0x662): primero se definió aquí
ld: Aviso: el tamaño del símbolo `caxpy_' cambió de 348 en dlu.o a 278
en /opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a(_caxpy_fb.o)
the same message shows for caxpy, cdotu, cswap, icamax, isamax, sasum,
saxpy, sdot, sscal, sswap
the compiling options are now:
Current settings:
O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML
L Linker Flags: $(FOPT)
-L/opt/intel/mkl/9.1.023/lib/em64t -lpthread
P Preprocessor flags '-DParallel'
R R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_em64t -lguide -lvml
-pthread
Pablo de la Mora
Gerhard Fecher escribió:
> Youre R_LIB Options seem to be incomplete
> and why do you use -lmkl_lapack64 ?
>
> if you did not set ldconfig -because you like to work with different versions of the libraries- then you always have to give the complete -L option with the libraries.
>
> Did you set all environment variables like LD_LIBRARY_PATH etc. correctly in youre bash.rc ore profile files ?
>
> Gerhard
> ________________________________________
> Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at] im Auftrag von Pablo de la Mora [delamora at servidor.unam.mx]
> Gesendet: Dienstag, 8. April 2008 21:38
> An: A Mailing list for WIEN2k users
> Betreff: [Wien] Where is the MKL?
>
> I am trying to compile the WIEN2k with the Intel package:
> Fortran: fce 10.0.023
> Math Kernel Library mkl 9.1.023
> (this was due to the advice of Gerhard Fecher not to use the latest
> versions, but ifort 10.0 and mkl 9.1)
>
> I have a Athlon x2 with Fedora
> With these options I get an error in the most important packages:
> for example in
> SRC_lapw1/compile.msg
> I get:
> ld: no se puede encontrar -lmkl_lapack64 (==> lmkl_lapack64 cannot be
> found!)
>
> I use the usual compilation options:
> O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
> -DINTEL_VML
> L Linker Flags: $(FOPT) -L/opt/intel/mkl/9.1.023/lib/em64t
> -lpthread
> P Preprocessor flags '-DParallel'
> R R_LIB (LAPACK+BLAS): -lmkl_lapack64 -lmkl_em64t -lguide
>
> I have in the PATH
> PATH=$PATH:/opt/intel/fce/10.0.023/bin
>
> what definition I am missing or having wrong?
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> _______________________________________________
> 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