This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Using MKL from Eigen - Error

Tags: None
(comma "," separated)
doronatuar
Registered Member
Posts
1
Karma
0

Using MKL from Eigen - Error

Sun Sep 17, 2017 8:47 am
Hi,
I'm trying to make Eigen use MKL

I've installed MKL and ran `/opt/intel/mkl/bin/mklvars.sh intel64 ilp64`

and compiled my application with the following flags:

EIGEN_MKL_FLAG = -DEIGEN_USE_MKL_ALL
CCMKLFLAGS = -DMKL_ILP64 -m64 -I${MKLROOT}/include $(EIGEN_MKL_FLAG)
LDMKLFLAGS = -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_intel_ilp64.a
${MKLROOT}/lib/intel64/libmkl_sequential.a ${MKLROOT}/lib/intel64/libmkl_core.a
-Wl,--end-group -lpthread -lm -ldl $(EIGEN_MKL_FLAG)


Everything compiles fine.

In my code I multiply two matrices
and I get the following runtime error:

Intel MKL ERROR: Parameter 8 was incorrect on entry to DGEMM .
MKL_VERBOSE Intel(R) MKL 2017.0 Update 3 Product build 20170413 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Lnx 3.10GHz ilp64 sequential
MKL_VERBOSE DGEMM(N,N,140307992625728,140307991625733,140720308486146,0x7ffc45ae5670,0x7f9c0aa38010,1000000,0x5e862e0,140307991625730,0x7ffc45ae5660,0x7f9c07c70010,140307992625728) 2.48us CNR:OFF Dyn:1 FastMM:1 TID:0 NThr:1

OS - Ubuntu 14.04

MKL version - 2017.3.196

Eigen version - 3.3.4

GCC version - 4.8.4


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]