Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Can't start MKL pardiso in Mac OSX!

Malik_M_
Beginner
770 Views

Hi, there is command line for the build an Intel example  pardiso_sym_f90.f90

ifort pardiso_sym_f90.f90 -I/opt/intel/mkl/include /opt/intel/mkl/lib/libmkl_core.a /opt/intel/mkl/lib/libmkl_intel_ilp64.a /opt/intel/mkl/lib/libmkl_intel_thread.a /opt/intel/lib/libiomp5.a

Compiling and linking was successful. However, a running output file (a.out) was not a beautiful so, 

 Reordering completed ... 

 The following ERROR was detected:           -1

 The following ERROR on release stage was detected:           -1

 

Thank you for any help!

Malik.

 

 

 

 

 

0 Kudos
9 Replies
Alexander_K_Intel2
770 Views

HI Malik,

Could i ask you to set msglvl and iparm[26] to 1 and publish new output here?

Thanks,

Alex

0 Kudos
Malik_M_
Beginner
770 Views

Hi Alexander!

​Yes, I was made this. The same result  :(

 Reordering completed ... 

 The following ERROR was detected:           -1

 The following ERROR on release stage was detected:           -1

1

192:bin mmax$ 

 

 

 

0 Kudos
Alexander_K_Intel2
769 Views

Hi Malik,

That's strange. You link and run mkl example without any changes, correct? Which version of MKL do you use?

Thanks,

Alex

0 Kudos
Malik_M_
Beginner
770 Views

Dear Alexander,

Thank you for you respond. No, I can't change anything in MKL binaries off course. No additiotional links or header files new. Only Intel example EXACTLY. However, with the changes you recommended (iparm(26)=1).

PS. I have a latest Parallel Studio 2018 with MKL, I'm sure .

 

 

 

0 Kudos
Gennady_F_Intel
Moderator
770 Views

please add -i8 compiler option or try to link with libmkl_intel_lp64.a  instead of libmkl_intel_ilp64.a 

0 Kudos
Malik_M_
Beginner
770 Views

MANY THANKS GENNADY, THANKS MY FRIEND!

YES! It was successful after the changing to _lp64 the _ilp64 instead!

Sincerely, 

Malik.

 

0 Kudos
Alexander_K_Intel2
770 Views

And quick comment - in fortran it's better to use iparm(27) to 1 instead iparm(26) to turn on matrix checker :)

Thanks,

Alex

0 Kudos
Malik_M_
Beginner
769 Views

Alexander Kalinkin (Intel) wrote:

And quick comment - in fortran it's better to use iparm(27) to 1 instead iparm(26) to turn on matrix checker :)

Thanks,

Alex

Thank you Alex, I will do. :)

0 Kudos
Alexander_K_Intel2
770 Views

You are very welcome. Hope that you will find pardiso functionality fine :)

Thanks,

Alex

0 Kudos
Reply