<?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 Hi Gianluca, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108908#M24247</link>
    <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;

&lt;P&gt;It is good way to submit the test code by help desk. Thank you.&amp;nbsp; I read them.&amp;nbsp; Currently the barrier is the performance issue or result inconsistent issue, or both?&amp;nbsp;&amp;nbsp;You may reply here or by the ticket.&lt;/P&gt;

&lt;P&gt;Jing had mentioned,&amp;nbsp;your code&amp;nbsp;is&amp;nbsp;by C# and&amp;nbsp;had escalated to our develop team.&amp;nbsp; But as&amp;nbsp;we don't test or validate function by C#.&amp;nbsp;&amp;nbsp;Could be some thing with the environment?&lt;/P&gt;

&lt;P&gt;Considering the OpenMP multi-thread first, could you build one sequential custom dll by&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\mkl\tools\builder&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#1f497d" face="Calibri"&gt;instead of mkl_rt.dll and see if it happened again?&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2017 01:24:59 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2017-05-25T01:24:59Z</dc:date>
    <item>
      <title>Trust Region Random Results</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108905#M24244</link>
      <description>&lt;P&gt;We Implemented TR MKL Method for our purpose.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	It doesn't converge every time, and also produce different (random) solutions from the same initial condition and constraints.&lt;/P&gt;

&lt;P&gt;About Trust Region Size parameter we use 4 size aproach:&amp;nbsp;&lt;BR /&gt;
	this is, 1st time value is 100, 2nd time 10, 3rd time 1 and 0.1 value last time.&lt;BR /&gt;
	Every time we use solver, we use previous results as input, if improved.&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	Is there anyone tha knows the problem?&lt;BR /&gt;
	Is there any suggestion about Trust Region Size usage? best values to use and when?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you very much&lt;/P&gt;

&lt;P&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 10:45:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108905#M24244</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-05-17T10:45:34Z</dc:date>
    </item>
    <item>
      <title>Hi Gianluca,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108906#M24245</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;BR /&gt;
	&lt;BR /&gt;
	​Could you please provide us one small test code or input so we can investigate the exact problem.&lt;BR /&gt;
	&lt;BR /&gt;
	Best Regards,&lt;BR /&gt;
	&lt;BR /&gt;
	Ying&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>Wed, 24 May 2017 05:35:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108906#M24245</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2017-05-24T05:35:40Z</dc:date>
    </item>
    <item>
      <title>Dear Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108907#M24246</link>
      <description>&lt;P&gt;Dear Ying,&lt;/P&gt;

&lt;P&gt;I've submited an help request on your helpdesk area, here the ticket number 02752313.&lt;/P&gt;

&lt;P&gt;There you can find the test code .&lt;/P&gt;

&lt;P&gt;With same input we obtain differents results, some times little sometimes not.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 07:52:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108907#M24246</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-05-24T07:52:12Z</dc:date>
    </item>
    <item>
      <title>Hi Gianluca,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108908#M24247</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;

&lt;P&gt;It is good way to submit the test code by help desk. Thank you.&amp;nbsp; I read them.&amp;nbsp; Currently the barrier is the performance issue or result inconsistent issue, or both?&amp;nbsp;&amp;nbsp;You may reply here or by the ticket.&lt;/P&gt;

&lt;P&gt;Jing had mentioned,&amp;nbsp;your code&amp;nbsp;is&amp;nbsp;by C# and&amp;nbsp;had escalated to our develop team.&amp;nbsp; But as&amp;nbsp;we don't test or validate function by C#.&amp;nbsp;&amp;nbsp;Could be some thing with the environment?&lt;/P&gt;

&lt;P&gt;Considering the OpenMP multi-thread first, could you build one sequential custom dll by&lt;/P&gt;

&lt;P&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\mkl\tools\builder&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#1f497d" face="Calibri"&gt;instead of mkl_rt.dll and see if it happened again?&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 01:24:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108908#M24247</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2017-05-25T01:24:59Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108909#M24248</link>
      <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;The question is:&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;result inconsistent issue!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;The procedure works quite good, since we have changed it using a different integration algs.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;By the way, &amp;nbsp;with same inputs we don't have always the same results.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;If you go on test code (RciTestClass.cs line 88) and change in this:4&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;SetMeasures(EnumSetMeasure.China_4_Layer, oType);&lt;/PRE&gt;

&lt;P&gt;As console input you use 4 you can see this.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;I think there are also &amp;nbsp;some problem with MKL because some time&amp;nbsp;&lt;/SPAN&gt;dtrnlspbc_solve&amp;nbsp;crashes or doesn't return!&lt;/P&gt;

&lt;P&gt;May be it mantains something in memory?&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;EM&gt;Considering the OpenMP multi-thread first, could you build one sequential custom dll by&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;C:\Program Files &amp;nbsp;x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\mkl\tools\builder&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;instead of mkl_rt.dll and see if it happened again&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Is there any tutorial, I'm not an expert of C++, and if possible I don't want to invest time in this.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Gianluca&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 06:53:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108909#M24248</guid>
      <dc:creator>Gianluca_G_1</dc:creator>
      <dc:date>2017-05-25T06:53:03Z</dc:date>
    </item>
    <item>
      <title>Please follow this article to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108910#M24249</link>
      <description>&lt;P&gt;Please follow this article to build a custom dll.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/mkl-windows-developer-guide-building-custom-dynamic-link-libraries" target="_blank"&gt;https://software.intel.com/en-us/mkl-windows-developer-guide-building-custom-dynamic-link-libraries&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;nmake used in the tutorial is part of Visual Studio, please run vcvars32.bat or vcvars64.bat to setup environment variables before using nmake. The bat files locate under &amp;lt;Visual Studio Path&amp;gt;\VC\bin.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 01:14:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Trust-Region-Random-Results/m-p/1108910#M24249</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2017-05-26T01:14:31Z</dc:date>
    </item>
  </channel>
</rss>

