<?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 I tried to reproduce the case in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176809#M29003</link>
    <description>&lt;P&gt;I tried to reproduce the case with the latest MKL 2018 u1 on win10.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the compilation is much simpler : ifort /Qmkl DSStest.f90&amp;nbsp; &amp;nbsp;( MKL links with LP64 + threading libs). Running the executable 10 times - I don't see problems. I only added a couple of lines of the code to print version of mkl. Here is the one of outputs i obtained on my side:&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;C:\Forums\u753922&amp;gt;DSStest.exe&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;....................&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 998&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;999&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1000&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Intel(R) Math Kernel Library Version 2018.0.1 Product Build 20171007 for Intel(R) 64 architecture applications&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;run of ** completed succesfully&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 24 Dec 2017 04:52:44 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2017-12-24T04:52:44Z</dc:date>
    <item>
      <title>DSS Solver multiple handles</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176806#M29000</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;In my code I have to solve a system of N-2 linear equations K+1 times (with k&amp;lt;10). What this means is that my matrix A (N-2*N-2) will be structurally the same for all K, only with different values. Initially I factored matrix A (with&amp;nbsp;DSS_FACTOR_COMPLEX) every time I needed to solve the system for a different K. But since K&amp;lt;10, I was hoping to allocate the handle ( type(MKL_DSS_HANDLE), allocatable :: handle(:) -- allocate(handle(0:K)) )&amp;nbsp;and use DSS_FACTOR only once for every K &amp;nbsp;and then use&amp;nbsp;DSS_SOLVE_COMPLEX(handle(k), MKL_DSS_DEFAULTS, RHS, 1, solutionout) to solve my system. It's also important to understand that the code then solves all K+1 systems thousands of times.&lt;BR /&gt;
	&lt;BR /&gt;
	Unfortunately, the code exits with:&lt;BR /&gt;
	forrtl: severe (174): SIGSEGV, segmentation fault occurred&lt;BR /&gt;
	Image &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Routine &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	ruth6.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0000000110171F6E &amp;nbsp;for__signal_handl &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown&lt;BR /&gt;
	libsystem_platfor &amp;nbsp;00007FFF8AA7F52A &amp;nbsp;_sigtramp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown&lt;BR /&gt;
	ruth6.exe &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;000000010F97FAD6 &amp;nbsp;mkl_spblas_lp64_a &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown&lt;BR /&gt;
	&lt;BR /&gt;
	The most interesting here is that it actually solves all K+1 systems a few times (last time solved ~300 times) before exiting with this error.&lt;BR /&gt;
	&lt;BR /&gt;
	Please help!!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 13:27:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176806#M29000</guid>
      <dc:creator>Josue_L_</dc:creator>
      <dc:date>2017-12-22T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Josue, what MKL version to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176807#M29001</link>
      <description>&lt;P&gt;Josue, what MKL version to you use?&amp;nbsp; &amp;nbsp;2. Could you give us reproducer?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 15:53:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176807#M29001</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-22T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Dear Gennady F.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176808#M29002</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Dear Gennady F.&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Thank you for your reply. The MKL version that I'm using is&amp;nbsp;2017.4.181. And&amp;nbsp;ifort (IFORT) 17.0.4 20170411&lt;BR /&gt;
	&lt;BR /&gt;
	I've written a small reproducer of the problem which is not the actual code, is in fact a portion of a portion of the actual code. To compile this I used the following command line:&lt;BR /&gt;
	&lt;BR /&gt;
	ifort DSStest.f90 -O3 -fp-model precise -fp-model source -heap-arrays -g -traceback -check all -fp-stack-check -check all -I${MKLROOT}/include/intel64/lp64 -I${MKLROOT}/include ${MKLROOT}/lib/libmkl_blas95_lp64.a ${MKLROOT}/lib/libmkl_lapack95_lp64.a ${MKLROOT}/lib/libmkl_intel_lp64.a ${MKLROOT}/lib/libmkl_sequential.a ${MKLROOT}/lib/libmkl_core.a -lpthread -lm -ldl -o DSStest.exe&lt;BR /&gt;
	&lt;BR /&gt;
	Even if you don't get the above error at your first try, please compile and run it 7 or 8 times. This reproducer gave me the exact same error...&lt;BR /&gt;
	Compiled and run the code on a macbook pro&amp;nbsp;2.3 GHz Intel Core i7.&lt;BR /&gt;
	&lt;BR /&gt;
	EDIT: I've also added the zipped .dSYM&lt;BR /&gt;
	&lt;BR /&gt;
	Best,&lt;BR /&gt;
	Josué&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 18:49:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176808#M29002</guid>
      <dc:creator>Josue_L_</dc:creator>
      <dc:date>2017-12-22T18:49:19Z</dc:date>
    </item>
    <item>
      <title>I tried to reproduce the case</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176809#M29003</link>
      <description>&lt;P&gt;I tried to reproduce the case with the latest MKL 2018 u1 on win10.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the compilation is much simpler : ifort /Qmkl DSStest.f90&amp;nbsp; &amp;nbsp;( MKL links with LP64 + threading libs). Running the executable 10 times - I don't see problems. I only added a couple of lines of the code to print version of mkl. Here is the one of outputs i obtained on my side:&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;C:\Forums\u753922&amp;gt;DSStest.exe&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;....................&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 998&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;999&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1000&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Intel(R) Math Kernel Library Version 2018.0.1 Product Build 20171007 for Intel(R) 64 architecture applications&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;run of ** completed succesfully&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 24 Dec 2017 04:52:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DSS-Solver-multiple-handles/m-p/1176809#M29003</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-24T04:52:44Z</dc:date>
    </item>
  </channel>
</rss>

