[Wien] failed compilation wien2k

Pawel Lesniak lesniak at ifmpan.poznan.pl
Mon Aug 31 18:33:51 CEST 2009


Jeff DeReus pisze:
> I am trying to compile WIEN2K_09 and running into some issues.  I was 
> hoping to get some assistance from the user community.
>
> I am running CentOS5.3 on dual core dell machines, intel 
> non-commercial compilers and mkl. 
>
> there is no mkl_em64t anywhere on my system so i have had to comment 
> that out in order to get a compilation to come close to completing 
> properly.  if anyone has information pertaining to the missing 
> mkl_em64t, it would be most appreciated.
>
> here is the section of my siteconfig relevant to the IFC 10 
> selection.  i have had to explicitly define the location of the lapack 
> and mkl_core libraries for them to be found.
>
> # Linux PC system with IFC 10 compiler + mkl 10 (-ip is broken; 
> -static does not give traceback-lines)
> linuxif9:FC:ifort
> linuxif9:MPF:ifort
> linuxif9:CC:cc
> linuxif9:FOPT:-FR -mp1 -w -prec_div  -pc80 -pad -align -DINTEL_VML 
> -traceback
> linuxif9:FPOPT:$(FOPT)
> linuxif9:LDFLAGS:  $(FOPT) -L/opt/intel/mkl/10.0.2.017/lib/em64t 
> <http://10.0.2.017/lib/em64t> -pthread -i-static
> linuxif9:R_LIBS:-L/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so 
> <http://10.2.1.017/lib/em64t/libmkl_lapack.so> -lguide 
> -L/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_core.so 
> <http://10.2.1.017/lib/em64t/libmkl_core.so>
> #-lmkl_em64t
> linuxif9:DPARALLEL:'-DParallel'
> linuxif9:RP_LIBS:-lmkl_intel_lp64 -lmkl_scalapack_lp64 
> -lmkl_blacs_lp64 -lmkl_sequential  -L /opt/local/fftw/lib/ -lfftw_mpi 
> -lfftw
> linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_
>
current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -xSSE4.1
current:FPOPT:$(FOPT)
current:LDFLAGS:$(FOPT) -L/opt/intel/mkl/10.1.0.015/lib/em64t -pthread
current:DPARALLEL:'-DParallel'
current:R_LIBS:-lmkl_lapack -lmkl -liomp5
current:RP_LIBS:-lmkl_scalapack -lmkl_blacs_lp64 $(R_LIBS) 
/opt/fftw3_ifort-11.0/lib/libfftw3.a

This is for my Intel64 platform, ifort 11, mkl 10.1 - works ok.
In your config error is obvious:
-L is to set PATH to library
to link dynamically to library in file
/opt/intel/mkl/10.2.1.017/lib/em64t/libmkl_lapack.so 
<http://10.2.1.017/lib/em64t/libmkl_lapack.so>
you should use sth like:
-L/opt/intel/mkl/10.2.1.017/lib/em64t -lmkl_lapack 
<http://10.2.1.017/lib/em64t/libmkl_lapack.so>
Correct your config, or use my (and change path to mkl) - whichever you 
like.

Regards,
Pawel Lesniak




More information about the Wien mailing list