<?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 Pardiso Won't Run Parallel in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781407#M1486</link>
    <description>This worked a treat. No more segmentation faults and using all 6 processors.&lt;BR /&gt;&lt;BR /&gt;There are many long explanations for the difference between ilp/lp, did it just cause a segmentation fault for ilp because I've defined my own 'integer' precision?</description>
    <pubDate>Thu, 22 Jul 2010 12:37:04 GMT</pubDate>
    <dc:creator>sebpinski</dc:creator>
    <dc:date>2010-07-22T12:37:04Z</dc:date>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781401#M1480</link>
      <description>I'm having serious problems with running Pardiso in Parallel mode, as in, it just won't! Could someone please shed some light.&lt;BR /&gt;&lt;BR /&gt;Trying to iteratively diagonalize a sparse matrix using ARPACK and Pardiso. I used to use the regular Pardiso library that is downloadable from the pardiso project website, but their liscensing set-up is a real pain when I want to use multiple computers.&lt;BR /&gt;&lt;BR /&gt;Compilers:&lt;BR /&gt;-ifort 11.1_072&lt;BR /&gt;-mkl (bundled with the latest fortran compiler)&lt;BR /&gt;I did a standard install with these.&lt;BR /&gt;&lt;BR /&gt;System:&lt;BR /&gt;-AMD 6 core Phenom&lt;BR /&gt;-8GB (4x2) DDR3 1333MHz memory&lt;BR /&gt;&lt;BR /&gt;Pardiso options used:&lt;BR /&gt;&lt;BR /&gt;INTEGER :: mkl_get_max_threads&lt;BR /&gt;EXTERNAL :: mkl_get_max_threads &lt;BR /&gt;&lt;BR /&gt;IIparm(1)=1 !No solver default&lt;BR /&gt; IIparm(2)=2 !Fill-in reordering from METIS&lt;BR /&gt; IIparm(3)=mkl_get_max_threads() !Number of processors mkl_get_max_threads()&lt;BR /&gt; IIparm(4)=0 !No iterative-direct algorithm &lt;BR /&gt; IIparm(5)=0 !No user fill-in reducing permutation &lt;BR /&gt; IIparm(6)=0 !=0 solution on the first n components of x &lt;BR /&gt; IIparm(8)=9 !Number of iterative refinement steps &lt;BR /&gt; IIparm(10)=13 !Perturb the pivot elements with 1E-13 &lt;BR /&gt; IIparm(11)=1 !Use non-symetric permutation and scaling MPS &lt;BR /&gt; IIparm(13)=1 ! maximum weighted matching algorithm is switched-on (default for non-symmetric)&lt;BR /&gt; IIparm(14)=0 !OUTPUT: number of perturbed pivots &lt;BR /&gt; IIparm(18)=-1 !OUTPUT: number of non-zeros in the factor LU &lt;BR /&gt; IIparm(19)=-1 !OUTPUT: MFlops for LU factorizations &lt;BR /&gt; IIparm(21)=1 &lt;BR /&gt; IIparm(27)=1&lt;BR /&gt;&lt;BR /&gt;NOTE: Not using OOC IIparm(60)&amp;gt;1&lt;BR /&gt;&lt;BR /&gt;Linking libraries when compling:&lt;BR /&gt;&lt;BR /&gt;-lblas -llapack -L ARPACK -larpack_x86_64 -L/opt/intel/Compiler/11.1/072/mkl/lib/em64t/ -lguide -lmkl_intel_lp64 -liomp5 -lmkl_sequential -lpthread -lmkl_core -L JADAMILU_2.0/lib/INT64Nifort -ljadamilu &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run, with these options the pardiso information just tells me that the #processors used =1. I can't seem to get pardiso to run using multiple processors.&lt;BR /&gt;&lt;BR /&gt;I'm really fed-up with trying to link to alternate libraries and trying different options. It's just confusing using pardiso when bundles examples appear to be wrong. For instants, the example found at the following link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.intel.com/software/products/mkl/docs/webhelp/appendices/mkl_appC_SULS.html" target="_blank"&gt;http://www.intel.com/software/products/mkl/docs/webhelp/appendices/mkl_appC_SULS.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It calls the following:&lt;BR /&gt;&lt;PRE&gt;      integer &lt;SPAN style="text-decoration: underline;"&gt;omp&lt;/SPAN&gt;_get_max_threads&lt;BR /&gt;      external &lt;SPAN style="text-decoration: underline;"&gt;omp&lt;/SPAN&gt;_get_max_threads&lt;BR /&gt;&lt;BR /&gt;yet uses (what appears to be conflicting to me):&lt;BR /&gt;&lt;PRE&gt;      iparm(3) = &lt;SPAN style="text-decoration: underline;"&gt;mkl&lt;/SPAN&gt;_get_max_threads()&lt;/PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;The example bundled with the mkl library, file `pardiso_unsym_f.f' has the following include file:&lt;BR /&gt;&lt;BR /&gt;include 'mkl_pardiso.f77' (I have no idea why!)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV id="tag_list"&gt;&lt;INPUT id="hdn_tags_set" name="hdn_tags_set" type="hidden" /&gt;&lt;/DIV&gt;&lt;DIV id="tag_list"&gt;&lt;INPUT id="hdn_tags_set" name="hdn_tags_set" type="hidden" /&gt;&lt;/DIV&gt;&lt;PRE&gt;      &lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jul 2010 21:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781401#M1480</guid>
      <dc:creator>sebpinski</dc:creator>
      <dc:date>2010-07-12T21:21:52Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781402#M1481</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;There is used sequential MKL library on yourlinking line therefore you will not get parallization.&lt;/P&gt;&lt;P&gt;Alsowhy do you use-lguide together with -liomp5 and in strange places before MKL libraries?&lt;/P&gt;&lt;P&gt;Please visit &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;MKL Link line Advisor&lt;/A&gt;at the top of MKL Forum to correctly constract needed link line.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2010 05:50:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781402#M1481</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-07-13T05:50:21Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781403#M1482</link>
      <description>Hi Seb,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;some more comments on this topic:&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;1) as Victor mentioned before, your linking line&lt;/DIV&gt;&lt;DIV&gt;-lguide -lmkl_intel_lp64 -liomp5 -lmkl_sequential -lpthread -lmkl_core -L&lt;/DIV&gt;&lt;DIV&gt;have to be different.&lt;/DIV&gt;&lt;DIV&gt;2)iparm&lt;SAMP class="codeph"&gt;(3)&lt;/SAMP&gt;- 
currently is not used inifort 11.1_072 ( MKL 10.2 Update 5). See &lt;A href="http://software.intel.com/en-us/articles/which-version-of-ipp--mkl--tbb-is-installed-with-intel-compiler-professional-edition/"&gt;here&lt;/A&gt; the details.&lt;/DIV&gt;&lt;DIV&gt;3) what is the task size you are solving? Pardiso will not execute in parallel in the case of small inputs...&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jul 2010 13:23:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781403#M1482</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-14T13:23:44Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781404#M1483</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt;I've used the linkline advisor and have linked in the following way now:&lt;BR /&gt;&lt;BR /&gt;LIBFLAGS= -lblas -llapack -L ARPACK -larpack_x86_64 -L JADAMILU_2.0/lib/INT64Nifort -ljadamilu -L /opt/intel/Compiler/11.1/072/mkl/lib/em64t/ /opt/intel/Compiler/11.1/072/mkl/lib/em64t/libmkl_solver_ilp64.a -Wl,--start-group -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -openmp -lpthread &lt;BR /&gt;&lt;BR /&gt;The program now compiles fine but on the very first call to pardiso I get a segmentation fault. I've never had this before and previous results in the sequential version have been fine:&lt;BR /&gt;&lt;BR /&gt;forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;&lt;BR /&gt;Are any of the libraries I need missing? What could cause such a problem?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2010 16:36:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781404#M1483</guid>
      <dc:creator>sebpinski</dc:creator>
      <dc:date>2010-07-14T16:36:38Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781405#M1484</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you please send small test-case and makefile to reproduce the problem?&lt;BR /&gt;However, maybe it's related to ILP64/LP64 model.&lt;BR /&gt;Please take a look at the following thread&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=76101"&gt;http://software.intel.com/en-us/forums/showthread.php?t=76101&lt;/A&gt;&lt;BR /&gt;andmore details are in MKL docs. See for example:&lt;BR /&gt;&lt;A href="http://www.intel.com/software/products/mkl/docs/linux/WebHelp/mkl_ug_structure/support_for_ilp64_programming.htm"&gt;http://www.intel.com/software/products/mkl/docs/linux/WebHelp/mkl_ug_structure/support_for_ilp64_programming.htm&lt;/A&gt;</description>
      <pubDate>Thu, 15 Jul 2010 05:27:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781405#M1484</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2010-07-15T05:27:02Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781406#M1485</link>
      <description>Thanks Gennady, I didn't realize that iparm(3) was no longer in use.</description>
      <pubDate>Thu, 22 Jul 2010 12:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781406#M1485</guid>
      <dc:creator>sebpinski</dc:creator>
      <dc:date>2010-07-22T12:35:27Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781407#M1486</link>
      <description>This worked a treat. No more segmentation faults and using all 6 processors.&lt;BR /&gt;&lt;BR /&gt;There are many long explanations for the difference between ilp/lp, did it just cause a segmentation fault for ilp because I've defined my own 'integer' precision?</description>
      <pubDate>Thu, 22 Jul 2010 12:37:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781407#M1486</guid>
      <dc:creator>sebpinski</dc:creator>
      <dc:date>2010-07-22T12:37:04Z</dc:date>
    </item>
    <item>
      <title>Pardiso Won't Run Parallel</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781408#M1487</link>
      <description>&lt;DIV&gt;yes, there are many seg. faults happens for this reason.&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Jul 2010 06:46:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-Won-t-Run-Parallel/m-p/781408#M1487</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-07-23T06:46:15Z</dc:date>
    </item>
  </channel>
</rss>

