<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello, removing that line in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054101#M21318</link>
    <description>&lt;P&gt;Hello, removing that line work.&lt;/P&gt;

&lt;P&gt;Thank you so much for helping and and giving advice.&lt;/P&gt;

&lt;P&gt;With sincere thanks,&lt;/P&gt;

&lt;P&gt;Viktor&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2015 08:03:58 GMT</pubDate>
    <dc:creator>Viktor_J_</dc:creator>
    <dc:date>2015-11-18T08:03:58Z</dc:date>
    <item>
      <title>Can't get pardiso to multithread (MKL linking issue?)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054097#M21314</link>
      <description>&lt;P&gt;Hello, I'm currently trying to get pardiso to work with multi threading and I'm wondering if it is a linking issue or something else. I have tried some "easy" fixes that didn't work, then I tried the link advisor and get an error when linking.&lt;/P&gt;

&lt;P&gt;Question: How do I get pardiso to work with multiple cores?&lt;/P&gt;

&lt;P&gt;Background:&lt;/P&gt;

&lt;P&gt;When calling pardiso I use the following iparm&lt;/P&gt;

&lt;P&gt;&amp;nbsp; iparm= 0&lt;BR /&gt;
	&amp;nbsp; iparm(1) = 1! !0=solver default&lt;BR /&gt;
	&amp;nbsp; iparm(2) = 2 !&amp;nbsp; !2&lt;BR /&gt;
	&amp;nbsp; iparm(3) = 0 !reserved, set to zero&lt;BR /&gt;
	&amp;nbsp; iparm(4) = 0 ! Preconditioned CGS/CG.&lt;BR /&gt;
	&amp;nbsp; iparm(5) = 0 !&lt;BR /&gt;
	&amp;nbsp; iparm(6) = 0 !&lt;BR /&gt;
	&amp;nbsp; iparm(7) = 0 !&lt;BR /&gt;
	&amp;nbsp; iparm(8) = 9 ! Iterative refinement step.&lt;BR /&gt;
	&amp;nbsp; iparm(9) = 0 ! reserved, set to zero&lt;BR /&gt;
	&amp;nbsp; iparm(10) = 13&lt;BR /&gt;
	&amp;nbsp; iparm(11) = 1&lt;BR /&gt;
	&amp;nbsp; iparm(12) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(13) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(14) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(15) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(16) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(17) = 0&lt;BR /&gt;
	&amp;nbsp; iparm(18) = -1&lt;BR /&gt;
	&amp;nbsp; iparm(19) = -1&lt;BR /&gt;
	&amp;nbsp; iparm(20) = 0&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The problem is "large" with&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;             #equations:                                     71574
             #non-zeros in A:                                3815460
             non-zeros in A (%):                            0.074479
&lt;/PRE&gt;

&lt;P&gt;The simplest fix&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;  call mkl_set_dynamic(0)  ! disable adjustment of the number of threads
  call mkl_set_num_threads(4)
  call omp_set_num_threads(4)&lt;/PRE&gt;

&lt;P&gt;This is done right before I call pardiso and has no effect on the number of cores used, the next step was to check the MKL linking, I then tried to use the link advisor, &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt; but I get and error.&lt;/P&gt;

&lt;P&gt;With the advisor,I choose the "Composer XE 2011" in the link advisor since that is where my MKL roots are in the makefile(please correct me if this is a wrong assumption),&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;MKLroot=/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/lib/intel64&lt;/PRE&gt;

&lt;P&gt;My OS is then Linux, the compiler is iFort/intel fortran, linking is dynamic(unsure of this, trying static yields same result/error), the interface is LP64.&lt;BR /&gt;
	&lt;BR /&gt;
	For threading layer Im uncertain of which option to select, sequential or OpenMP. In the makefile there is "sequential" in LLIBS, but there are sections of the code that are already multithreading with OpenMP, only do-loops and no explicit MKL routines.&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;LLIBS =  -L/software/matlab/R2011a/bin/glnxa64 -leng -lmat -lmx -lut -Wl,--start-group ${MKLroot}/libmkl_intel_lp64.a ${MKLroot}/libmkl_sequential.a ${MKLroot}/libmkl_core.a -Wl,--end-group -lpthread &lt;/PRE&gt;

&lt;P&gt;Lastly I'm advised to do the following linking and add to my compiler&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt; -lpthread -lm
 -openmp -mkl=parallel &lt;/PRE&gt;

&lt;P&gt;Adding the compiler options work but when linking I get the following message/error&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;$ ifort -lpthread -lmifort: warning #10315: specifying -lm before files may supercede the Intel(R) math library and affect performance
/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/compiler/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-12_1/20111012_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x38): undefined reference to `MAIN__'
&lt;/PRE&gt;

&lt;P&gt;I assume this means that the linking is incomplete, how can I complete it? And hopefully get pardiso to work on more then 1 core&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;Sorry if this post is messy, this is my first time attempting to link anything. If any clarification is needed please ask, any help is much appreciated&lt;/P&gt;

&lt;P&gt;/Viktor&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 13:20:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054097#M21314</guid>
      <dc:creator>Viktor_J_</dc:creator>
      <dc:date>2015-11-09T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Hi Viktor, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054098#M21315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Viktor,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#000000" face="Consolas, Bitstream Vera Sans Mono, Courier New, Courier, monospace"&gt;&lt;SPAN style="line-height: 14.3088px;"&gt;It seems you have complex environment including Matlab and&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;but there are sections of the code that are already multithreading with OpenMP, only do-loops.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Let's simplify the problem first.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Do you have the input data ready? I may suggest you to modify the MKL pardiso sample code &lt;/SPAN&gt;pardiso_sym_f.f&amp;nbsp;or&amp;nbsp;&amp;nbsp;pardiso_unsym_f.f&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp; , which in&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;
	&lt;TABLE style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb(96, 96, 96); border-collapse: collapse !important; border: 0px !important; margin-top: 0px !important; margin-bottom: 0px !important; width: auto !important; vertical-align: baseline !important; outline: 0px !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; min-height: auto !important; background: none !important;"&gt;
		&lt;TBODY style="border: 0px !important; outline: 0px !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
			&lt;TR style="border: 0px !important; outline: 0px !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; background: none !important;"&gt;
				&lt;TD class="content" style="border-width: 0px 0px 0px 3px !important; padding: 0px 0px 0px 0.5em !important; border-left-style: solid !important; border-left-color: rgb(108, 226, 108) !important; outline: 0px !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; font-size: 1em !important; min-height: auto !important; color: rgb(0, 0, 0) !important; background: none !important;"&gt;&lt;CODE class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.1em !important; min-height: auto !important; background: none !important;"&gt;/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/&lt;/CODE&gt;&lt;/TD&gt;
			&lt;/TR&gt;
		&lt;/TBODY&gt;
	&lt;/TABLE&gt;
&lt;/DIV&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;/mkl/examples/solver/source&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;1) copy the solver folder to one folder you can write&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;2) modify &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;pardiso_unsym_f.f&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;&lt;/SPAN&gt;(if you are working on fortran )&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;3) then build it , ite&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;make libem64 function=pardiso_unsym_f&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You will see the exact link option and exe.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;4) run the exe to see if the multiple core was used.&lt;/P&gt;

&lt;P&gt;5) Then reconsider your real makefile, also please use the same order, for example, &amp;nbsp;-lphread, -lm &amp;nbsp;is supposed at the end of link line etc.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 03:57:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054098#M21315</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-10T03:57:29Z</dc:date>
    </item>
    <item>
      <title>Hello and thank you for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054099#M21316</link>
      <description>&lt;P&gt;Hello and thank you for your answer,&lt;/P&gt;

&lt;P&gt;I don't have ready input data but I could copy the sample code and make the example work on multiple cores.&lt;BR /&gt;
	I then looked at the sample makefile and copied the links and flags the parts that were missing from my own makefile,&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;CF90=ifort
F77FLAGS= -O3    
F90FLAGS = ${F77FLAGS} -I${SOLIDroot} -openmp -m64 -w -fpp -I$(MKLROOT)/../.. $(OMP_LIB) -lpthread -lm -L"/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/../compiler/lib/intel64" -liomp5 -lmkl_core 
SOLIDroot=../Modules

OMP_LIB=-L"/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/../compiler/lib/intel64" -liomp5 
MKLroot=/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/lib/intel64
LLIBS =  -L/software/matlab/R2011a/bin/glnxa64 -leng -lmat -lmx -lut -Wl,--start-group ${MKLroot}/libmkl_intel_lp64.a ${MKLroot}/libmkl_sequential.a ${MKLroot}/libmkl_core.a -Wl,--end-group -lpthread  -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a ${MKLROOT}/lib/intel64/libmkl_core.a ${MKLROOT}/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm   
LD_LIBRARY_PATH=/software/matlab/R2011a/bin/glnxa64&lt;/PRE&gt;

&lt;P&gt;I can compile the code but I get the following error:&lt;/P&gt;

&lt;P&gt;./run_tl_J2iso.x: symbol lookup error: /software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/lib/intel64/libmkl_avx.so: undefined symbol: mkl_serv_check_ptr&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	I never had this error before, so it must be from the additional linking, tried to eliminate different parts of the linking and&lt;BR /&gt;
	&amp;nbsp;found that the problem is caused by:&lt;/P&gt;

&lt;P&gt;-L"/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/../compiler/lib/intel64" -liomp5 -lmkl_core&lt;/P&gt;

&lt;P&gt;Is the linking done correctly? I quick search showed that this error can occur when different versions of openmp are used by fortran and matlab(and I use matlab in my program) Previously the compiler looked like this&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;CF90=ifort
F77FLAGS= -O3  
F90FLAGS = ${F77FLAGS} -I${SOLIDroot} -openmp  #linking done here
SOLIDroot=../Modules


#extra path here
MKLroot=/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/lib/intel64
LLIBS =  -L/software/matlab/R2011a/bin/glnxa64 -leng -lmat -lmx -lut -Wl,--start-group ${MKLroot}/libmkl_intel_lp64.a ${MKLroot}/libmkl_sequential.a ${MKLroot}/libmkl_core.a -Wl,--end-group -lpthread 
LD_LIBRARY_PATH=/software/matlab/R2011a/bin/glnxa64

If any clarification is needed please just ask and any help is much appreciated 
&lt;/PRE&gt;

&lt;P&gt;/Viktor&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 15:25:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054099#M21316</guid>
      <dc:creator>Viktor_J_</dc:creator>
      <dc:date>2015-11-17T15:25:49Z</dc:date>
    </item>
    <item>
      <title>Hi Viktor, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054100#M21317</link>
      <description>&lt;P&gt;Hi Viktor,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;I can't try your command line, so just comment&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;It seems the line &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;F90FLAGS is not expected. please use your original one. or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;remove&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;$(OMP_LIB) -lpthread -lm -L&lt;/CODE&gt;&lt;CODE class="string" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; color: blue !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;"/software/intel/parallel_studio/composer_xe_2011_sp1.7.256/mkl/../compiler/lib/intel64"&lt;/CODE&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;-liomp5 -lmkl_core&lt;/CODE&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;they are not needed.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The line&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;LLIBS =&amp;nbsp; -L/software/matlab/R2011a/bin/glnxa64 -leng -lmat -lmx -lut -Wl,--start-group ${MKLroot}/libmkl_intel_lp64.a ${MKLroot}/libmkl_sequential.a ${MKLroot}/libmkl_core.a -Wl,--end-group -lpthread&amp;nbsp; -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a ${MKLROOT}/lib/intel64/libmkl_core.a ${MKLROOT}/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;Please remove the below part. (it used sequential mkl, will cause mkl run in 1 thread. )&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;-Wl,--start-group ${MKLroot}/libmkl_intel_lp64.a ${MKLroot}/libmkl_sequential.a ${MKLroot}/libmkl_core.a -Wl,--end-group -lpthread.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;the thread MKL should be enough, the correct line is like&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;-L/software/matlab/R2011a/bin/glnxa64 -leng -lmat -lmx -lut -Wl,--start-group&amp;nbsp;${MKLROOT}/lib/intel64/libmkl_intel_lp64.a ${MKLROOT}/lib/intel64/libmkl_intel_thread.a&amp;nbsp;${MKLROOT}/lib/intel64/libmkl_core.a &amp;nbsp;-Wl,--end-group -liomp5 -lpthread -lm&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px; background-color: rgb(248, 248, 248);"&gt;Ying&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 02:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054100#M21317</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-18T02:15:00Z</dc:date>
    </item>
    <item>
      <title>Hello, removing that line</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054101#M21318</link>
      <description>&lt;P&gt;Hello, removing that line work.&lt;/P&gt;

&lt;P&gt;Thank you so much for helping and and giving advice.&lt;/P&gt;

&lt;P&gt;With sincere thanks,&lt;/P&gt;

&lt;P&gt;Viktor&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 08:03:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Can-t-get-pardiso-to-multithread-MKL-linking-issue/m-p/1054101#M21318</guid>
      <dc:creator>Viktor_J_</dc:creator>
      <dc:date>2015-11-18T08:03:58Z</dc:date>
    </item>
  </channel>
</rss>

