[Wien] failed compilation wien2k

Pawel Lesniak lesniak at ifmpan.poznan.pl
Mon Aug 31 20:37:46 CEST 2009


Jeff DeReus pisze:
> library flags are fine. set compiler flag for opterons (-xW). 
>
> # 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 -xW 
> -traceback     
> linuxif9:FPOPT:$(FOPT)
> linuxif9:LDFLAGS:$(FOPT) -L/opt/intel/mkl/10.2.1.017/lib/em64t 
> <http://10.2.1.017/lib/em64t> -pthread
> linuxif9:R_LIBS: -L/opt/intel/mkl/10.2.1.017/lib/em64t 
> <http://10.2.1.017/lib/em64t> -lmkl_lapack -lguide -lmkl_core
> linuxif9:DPARALLEL:'-DParallel'
> linuxif9:RP_LIBS: -lmlk_intel_lp64 -lmkl_sequential -lmkl_scalapack 
> -lmkl_blacs_lp64 $(R_LIBS) -L/opt/fftw-2.1.5/libfftw.a
> linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_
>
Change R_LIBS to: -L/opt/intel/mkl/10.2.1.017/lib/em64t -lmkl_lapack 
-lmkl -liomp5
lmkl_core is not sufficient, you need to link against lmkl

Regards,
Pawel Lesniak



More information about the Wien mailing list