<?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 Could you provide us a simple in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119150#M24861</link>
    <description>&lt;P&gt;Could you provide us a simple test case that can reproduce the problem, so that we can use it for investigation?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2017 07:38:06 GMT</pubDate>
    <dc:creator>Jing_Xu</dc:creator>
    <dc:date>2017-06-01T07:38:06Z</dc:date>
    <item>
      <title>How to delete mkl out-of-core temporary files</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119149#M24860</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using pardiso_64 in&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;MKL 11.3.3.1.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;When run in out-of-core mode, temporary files are generated. I have set the environment variable&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;MKL_PARDISO_OOC_KEEP_FILE = 1 according to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-intel-mkl-pardiso-parallel-direct-sparse-solver-interface" target="_blank"&gt;https://software.intel.com/en-us/mkl-developer-reference-c-intel-mkl-pardiso-parallel-direct-sparse-solver-interface&lt;/A&gt; in order to delete temporary files when computations are complete. (I have also tried = 0 as "keep file &amp;nbsp;= 1" seemed counter intuitive, but that's besides the point).&lt;BR /&gt;
	&lt;BR /&gt;
	I assumed that files would be deleted when I called pardiso_64 with phase=-1 in order to release internal memory. But the files are not deleted.&lt;/P&gt;

&lt;P&gt;How can I get pardiso to delete temporary out-of-core files?&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	Jens&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:26:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119149#M24860</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2017-06-01T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Could you provide us a simple</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119150#M24861</link>
      <description>&lt;P&gt;Could you provide us a simple test case that can reproduce the problem, so that we can use it for investigation?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:38:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119150#M24861</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2017-06-01T07:38:06Z</dc:date>
    </item>
    <item>
      <title>Hi Jens,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119151#M24862</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;

&lt;P&gt;I wonder how did you set the variable? The environmental variable has a higher priority than set variable in pardiso_ooc config file. If you set keep_file variable as env value, the pardiso will ignore keep_file setting in config file, like below:&lt;/P&gt;

&lt;P&gt;Reordering completed ...&lt;BR /&gt;
	Number of factorization MFLOPS = 0ooc_keep_file &amp;nbsp; &amp;nbsp; &amp;nbsp;got by Env=1&lt;BR /&gt;
	ooc_path &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;got from config file=.\pardiso_ooc&lt;BR /&gt;
	ooc_max_core_size got from config file=2000&lt;BR /&gt;
	ooc_max_swap_size got from config file=10&lt;/P&gt;

&lt;P&gt;Please check with it, and share your pardiso print-out result, or provide a simple reproducer. Thanks.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:36:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119151#M24862</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-06-01T08:36:42Z</dc:date>
    </item>
    <item>
      <title>Thanks. I set the environment</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119152#M24863</link>
      <description>&lt;P&gt;Thanks. I set the environment variable programatically using the Windows API; I do not use a config file.&lt;/P&gt;

&lt;P&gt;This works for e.g. "MKL_PARDISO_OOC_PATH", as I am able to change the prefix of the files.&lt;/P&gt;

&lt;P&gt;I'll check the pardiso messages.&lt;BR /&gt;
	&lt;BR /&gt;
	One additional question though: when will the files be deleted? Is it when I call pardiso with phase=-1 ?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:41:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119152#M24863</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2017-06-01T08:41:21Z</dc:date>
    </item>
    <item>
      <title>The pardiso printout is as</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119153#M24864</link>
      <description>&lt;P&gt;The pardiso printout is as follows:&lt;/P&gt;

&lt;P&gt;ooc_path &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; got by Env=tmp_ooc&lt;BR /&gt;
	ooc_max_core_size &amp;nbsp;got by Env=1000&lt;BR /&gt;
	ooc_keep_file &amp;nbsp; &amp;nbsp; &amp;nbsp;got by Env=1&lt;BR /&gt;
	The file .\pardiso_ooc.cfg was not opened&lt;BR /&gt;
	=== PARDISO is running in Out-Of-Core mode, because iparam(60)=2 ===&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;But the files tmp_ooc.* are still present after calling pardiso with phase = -1&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 11:00:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119153#M24864</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2017-06-01T11:00:23Z</dc:date>
    </item>
    <item>
      <title>The pardiso printout is as</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119154#M24865</link>
      <description>&lt;P&gt;The pardiso printout is as follows:&lt;/P&gt;

&lt;P&gt;ooc_path &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; got by Env=tmp_ooc&lt;BR /&gt;
	ooc_max_core_size &amp;nbsp;got by Env=1000&lt;BR /&gt;
	ooc_keep_file &amp;nbsp; &amp;nbsp; &amp;nbsp;got by Env=1&lt;BR /&gt;
	The file .\pardiso_ooc.cfg was not opened&lt;BR /&gt;
	=== PARDISO is running in Out-Of-Core mode, because iparam(60)=2 ===&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;But the files tmp_ooc.* are still present after calling pardiso with phase = -1&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 12:06:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119154#M24865</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2017-06-01T12:06:32Z</dc:date>
    </item>
    <item>
      <title>Hi Jens,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119155#M24866</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;

&lt;P&gt;Please try with below solution:&lt;/P&gt;

&lt;P&gt;1. build a config file "&lt;SPAN style="font-size: 12px;"&gt;pardiso_ooc.cfg&lt;/SPAN&gt;" in the same path of exe file with following content:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;MKL_PARDISO_OOC_PATH = .\tmp_ooc
MKL_PARDISO_OOC_MAX_CORE_SIZE = 2000
MKL_PARDISO_OOC_MAX_SWAP_SIZE = 10&lt;/PRE&gt;

&lt;P&gt;2. Now, reopen cmd. For generate temporary file, set&amp;nbsp;MKL_PARDISO_OOC_KEEP_FILE=0, the program will generate files "tmp_ooc.*".&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;3. For deleting those file, you do not need to change config file, just reset &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;MKL_PARDISO_OOC_KEEP_FILE =1, the program will&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;firstly read env variable "&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;MKL_PARDISO_OOC_KEEP_FILE&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;" then, read config file. And all files named "tmp_ooc.*" will be removed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 08:47:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119155#M24866</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-06-05T08:47:39Z</dc:date>
    </item>
    <item>
      <title>Got it to work - thanks!</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119156#M24867</link>
      <description>&lt;P&gt;Got it to work - thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 08:49:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-delete-mkl-out-of-core-temporary-files/m-p/1119156#M24867</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2017-06-09T08:49:39Z</dc:date>
    </item>
  </channel>
</rss>

