[Wien] Compilation errors with Intel ifort and mkl

Pablo de la Mora delamora at servidor.unam.mx
Tue Apr 8 16:18:32 CEST 2008


following the adivice of Gerhard Fecher I used older versions of fc, fce 
and mkl
With
fce 10.0.023
mkl 9.1.023
I get the following error:
...SplineFit.o CheckCSpline.o  -FR -mp1 -w -prec_div -pc80 -pad -ip 
-DINTEL_VML -L/opt/intel/mkl/9.1.023/lib/em64t -lpthread -lmkl_lapack64 
-lmkl_em64t -lguide
ld: no se puede encontrar -lmkl_lapack64  <===
make[1]: *** [aim] Error 1

(no se puede encontrar=> cannot be found)

in packages: aim, filtvec, lapw1, lapw2, lapw7, lapwdm lapwso, mini, 
pairhess, qtl and structeditor

in 'aim' I also get
d1mach.c: En la función 'i1mach_':
d1mach.c:30: aviso: declaración implícita incompatible de la función 
interna 'exit'
also for 'd1mach' and 'r1mach'

when I use
fce 10.1.013
mkl 9.1.023

I get almost the same, but instead of:
...-lguide
ld: no se puede encontrar -lmkl_lapack64  <===
make...

I get:
...line.o  -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML 
-L/opt/intel/mkl/9.1.023/lib/em64t -lpthread -lmkl_lapack64 -lmkl_em64t 
-lguide
ld: saltando el /opt/intel/mkl/9.1.023/lib/em64t/libmkl_em64t.a 
incompatible mientras se buscaba -lmkl_em64t <===
ld: no se puede encontrar -lmkl_em64t <===
make[1]: *** [aim] Error 1

(saltando el => jumping)
(incompatible mientras se buscaba=>incompatible while searching for)

There was another strange error:
in: SRC_lib/blas_lapw/compile.msg
'ifort' cannot be found at the beginning, but later it can be found:
---------------
ifort -c  -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML blas_lapw1.f
make: ifort: No se encontró el programa <==
make: *** [../libblas_lapw.a(blas_lapw1.o)] Error 127
ifort -c  -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML blas_lapw1.f
make: ifort: No se encontró el programa <==
make: *** [../libblas_lapw.a(blas_lapw1.o)] Error 127
ifort -c  -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML blas_lapw1.f
ar rv ../libblas_lapw.a blas_lapw1.o
ar: creando ../libblas_lapw.a
a - blas_lapw1.o
ranlib ../libblas_lapw.a
rm blas_lapw1.o

Library '../libblas_lapw.a' is up-to-date now.
ifort -c  -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML blas_lapw1.f <==
ar rv ../libblas_lapw.a blas_lapw1.o
ar: creando ../libblas_lapw.a
----------------------------------

Pablo de la Mora escribió:
> I am trying to compile the WIEN2k 8.1
>
> I have a Athlon 64 x2 with Fedora
> I am using the Intel 'ifort' (10.1.013) and 'mkl' (9.1.023 and 
> 10.0.2.018, I tried both).
>
> I made the usual compiling 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 -lvml 
> -pthread
> I also tried:
>  R   R_LIB (LAPACK+BLAS):     -lmkl_lapack64 -lmkl_em64t -lguide -lvml 
> -pthread -Bstatic -Bdynamic
>
> and I find 'undefined references' in:
>
> 'aim': dsyev
> lapw1: dlarnv, dlarf, dlap2, dstein... and many more
> lapw2: dsyef
> lapwso: zpotrf, ztritri, zpptri, tlacgv... and many more
> mini: dgeqrf, dorgqr
> pairhess: dsyev
>
> for example in lapwso:
>
> hmsec.o: In function `hmsec_':hmsec.f:(.text+0x37e4): referencia a 
> `zpotrf_' sin definir
> :hmsec.f:(.text+0x3ae2): referencia a `ztrtri_' sin definir
> lap_bp.o: In function `zphtrf_':lap_bp.f:(.text+0x98c): referencia a 
> `zpptrf_' sin definir
> lap_bp.o: In function `zphtr4_':lap_bp.f:(.text+0xc40): referencia a 
> `zpotrf_' sin definir
> :lap_bp.f:(.text+0xf7c): referencia a `zpotrf_' sin definir
> :lap_bp.f:(.text+0x1bc6): referencia a `zpptrf_' sin definir
> lap_bp.o: In function `zhhtrd_':lap_bp.f:(.text+0x2095): referencia a 
> `zhptrd_' sin definir
> lap_bp.o: In function `zlatd4_':lap_bp.f:(.text+0x3a62): referencia a 
> `zlacgv_' sin definir
> :lap_bp.f:(.text+0x3b3c): referencia a `zlacgv_' sin definir
> :lap_bp.f:(.text+0x3b7e): referencia a `zlacgv_' sin definir
> :lap_bp.f:(.text+0x3c20): referencia a `zlacgv_' sin definir
> :lap_bp.f:(.text+0x3caa): referencia a `zlarfg_' sin definir
>
> I know that some of these undifined references are from LAPACK
> Any ideas anyone?
>     Thanks
>        Pablo de la Mora
> _______________________________________________
> 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