<?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 Ewan,thank you for the in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165826#M28228</link>
    <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Ewan,&lt;BR /&gt;thank you for the additional information.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;I have created a code sample with the provided data. But I couldn’t reproduce a segmentation fault. Interpolation works correctly.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;The last questions that I have (to completely align our assumptions):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Which Intel MKL version do you use?&amp;nbsp;You can check it with mkl_get_version function (https://software.intel.com/en-us/mkl-developer-reference-c-mkl-get-version).&lt;/LI&gt;&lt;LI&gt;Which partition structure (xhint) have you set (is it DF_NON_UNIFORM_PARTITION)?&lt;/LI&gt;&lt;LI&gt;What is the maximal derivative order to be computed at the interpolation site (ndorder)?&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hope it helps to reproduce your problem.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 10:48:04 GMT</pubDate>
    <dc:creator>Pavel_D_Intel1</dc:creator>
    <dc:date>2019-09-24T10:48:04Z</dc:date>
    <item>
      <title>Seg. fault using Data Fitting Akima spline</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165819#M28221</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am encountering a problem with the Akima spline that causes my code to seg. fault.&lt;/P&gt;&lt;P&gt;Debugging the code with optimisations and debug symbols, I can repeat the problem. It occurs when dfdInterpolate1D is called with a value that is ~7e-18 within the upper boundary of the spline.&lt;/P&gt;&lt;P&gt;I realise that this value at double precision is near as dammit on the upper boundary, and it is a relatively rare occurrence in my code but it sadly it occasionally occurs.&lt;/P&gt;&lt;P&gt;Is there some underlying floating-point tolerance within the interpolation routine that might be causing this issue?&lt;/P&gt;&lt;P&gt;At the moment I can put in some boundary checking to catch values within tolerance to work around the problem, but ideally I would like to avoid this as it will slow down the code!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ewan&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 10:35:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165819#M28221</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-19T10:35:57Z</dc:date>
    </item>
    <item>
      <title>Hi Ewan,Thank you for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165820#M28222</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Ewan,&lt;BR /&gt;Thank you for your question.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Difference as 7e-18 is lower than epsilon of the double precision floating point format. Wrong code execution (e.g. segmentation fault in your case) is highly depended on the input data here.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Could you provide a code sample to reproduce this issue?&lt;BR /&gt;Or could you provide arrays of function values, breakpoints, spline’s coefficients and interpolation sites? This information would be useful in terms of problem investigation.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 12:08:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165820#M28222</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-09-19T12:08:26Z</dc:date>
    </item>
    <item>
      <title>Hi Pavel,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165821#M28223</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;Let me see what I can do, will need to undo the boundary checking code to get the case to repeat.&lt;/P&gt;&lt;P&gt;Ewan&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 12:13:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165821#M28223</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-19T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Ewan, do you use MKL 2017,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165822#M28224</link>
      <description>&lt;P&gt;Ewan, do you use MKL 2017, right? Could you check the problem with 2019u5 which we released the last week!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 04:14:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165822#M28224</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-09-20T04:14:08Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165823#M28225</link>
      <description>Hi,

I don't have access to the latest version of MKL, so it will not be possible for me to test at this time.

Although I did manage to export the breakpoints and coefficients used by the Akima spline, along with an interpolation site that causes the seg. fault.

If you have any more questions then don't hesitate to ask!

Ewan</description>
      <pubDate>Fri, 20 Sep 2019 08:52:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165823#M28225</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-20T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Hi Ewan, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165824#M28226</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Ewan,&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Thank you for the provided data.&lt;BR /&gt;After the quick analysis I have found that the first spline’s coefficient looks strange:&lt;BR /&gt;&lt;BR /&gt;i,"value"&lt;BR /&gt;0,34.183189094319935&lt;BR /&gt;1&lt;BR /&gt;2,-272819.29691743013&lt;BR /&gt;…&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Looks like it’s not provided. Could you please check it in your data?&lt;BR /&gt;Also could you clarify the next question to align our assumptions: which operation system and compiler do you use?&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:06:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165824#M28226</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-09-20T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Hi Pavel,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165825#M28227</link>
      <description>Hi Pavel,

I have pasted the CSV data for the coefficient below, and the coefficient is 0 at index 1. Not sure the reasoning or justification for that!

I am using CentOS 7.3 and we compile with GCC 7.3.0.

Thanks,
Ewan

Spline Coefficeints::

"i","value"
0,34.183189094319935
1,0
2,-272819.29691743013
3,23622478.931319602
4,28.792177299788786
5,1.8796404722926996
6,118.17390088410954
7,-4228.5767665654257
8,28.840804925010126
9,1.8878088196473437
10,67.663616164991893
11,-3664.3860702890452
12,28.875745092136128
13,0.60269491432120581
14,-2202.1969513924614
15,161848.94789547904
16,28.823694005518277
17,-4.5142439576456539
18,575.6462456622296
19,-38356.04259861177
20,28.809940667723534
21,-1.6600484821584869
22,1021.5266744995755
23,-38050.136781186593
24,28.878588153028456
25,5.4037004186515771
26,2619.8798019522305
27,-3998.1254602418217
28,29.39832714919164
29,72.554514698887814
30,333366.16869595117
31,-20299958.191423111</description>
      <pubDate>Mon, 23 Sep 2019 10:30:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165825#M28227</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-23T10:30:50Z</dc:date>
    </item>
    <item>
      <title>Hi Ewan,thank you for the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165826#M28228</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Ewan,&lt;BR /&gt;thank you for the additional information.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;I have created a code sample with the provided data. But I couldn’t reproduce a segmentation fault. Interpolation works correctly.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;The last questions that I have (to completely align our assumptions):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Which Intel MKL version do you use?&amp;nbsp;You can check it with mkl_get_version function (https://software.intel.com/en-us/mkl-developer-reference-c-mkl-get-version).&lt;/LI&gt;&lt;LI&gt;Which partition structure (xhint) have you set (is it DF_NON_UNIFORM_PARTITION)?&lt;/LI&gt;&lt;LI&gt;What is the maximal derivative order to be computed at the interpolation site (ndorder)?&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hope it helps to reproduce your problem.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:48:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165826#M28228</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-09-24T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Quote:Dyakov, Pavel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165827#M28229</link>
      <description>Hi Pavel,

I've answered your questions below:

&lt;BLOCKQUOTE&gt;Dyakov, Pavel (Intel) wrote:&lt;BR /&gt; &lt;OL&gt;
&lt;LI&gt;Which Intel MKL version do you use?&amp;nbsp;You can check it with mkl_get_version function (&lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-mkl-get-version"&gt;https://software.intel.com/en-us/mkl-developer-reference-c-mkl-get-version&lt;/A&gt;).&lt;/LI&gt;
&lt;LI&gt;Which partition structure (xhint) have you set (is it DF_NON_UNIFORM_PARTITION)?&lt;/LI&gt;
&lt;LI&gt;What is the maximal derivative order to be computed at the interpolation site (ndorder)?&lt;/LI&gt;
&lt;/OL&gt;
 &lt;/BLOCKQUOTE&gt;

1. Yikes, it's actually an older version than I expected - v 11.0.5
2. Yes, I use DF_NON_UNIFORM_PARTITION.
3. ndorder = 3 when I'm using Akima, with dorder = {1,0,1}. I believe that means the 2nd-derivative is the highest order computed..

Thanks,
Ewan</description>
      <pubDate>Tue, 24 Sep 2019 15:34:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165827#M28229</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-24T15:34:48Z</dc:date>
    </item>
    <item>
      <title>Hi Ewan,Case ndorder = 3</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165828#M28230</link>
      <description>&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Hi Ewan,&lt;BR /&gt;Case ndorder = 3 means that the 2&lt;SUP&gt;nd&lt;/SUP&gt; is the highest order of derivative to be compute – you are right here.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Well, I have aligned all our assumptions and found that interpolation works incorrectly at the provided site (I haven’t received segmentation fault in my code sample, but interpolation results have been filled with 0).&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;But this problem is not reproduced with the latest available Intel MKL 2019 U5 – interpolation works correctly with the provided data. &amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Actually several impotent updates and fixes have been made in Data Fitting functionality&amp;nbsp;between Intel MKL 11.0.5 and Intel MKL 2019 U5 releases.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;So that I suggest you to update your Intel MKL to the Intel MKL 2019 U5 version.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Feel free to ask more.&lt;/P&gt;&lt;P style="margin-left:0cm; margin-right:0cm"&gt;Best regards,&lt;BR /&gt;Pavel.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 09:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165828#M28230</guid>
      <dc:creator>Pavel_D_Intel1</dc:creator>
      <dc:date>2019-09-25T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Hi Pavel,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165829#M28231</link>
      <description>Hi Pavel,

Thanks for investigating this.

As our production system is fairly complex, I can only place a request to update MKL to a much newer version and hope it gets completed quickly! If it was just down to me I would already have it updated.

Could you possibly check the test case against the MKL version 2018 U4 to verify that it works correctly there too?

Thanks,
Ewan</description>
      <pubDate>Wed, 25 Sep 2019 09:42:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165829#M28231</guid>
      <dc:creator>Towie__Ewan</dc:creator>
      <dc:date>2019-09-25T09:42:25Z</dc:date>
    </item>
    <item>
      <title>I independently checked the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165830#M28232</link>
      <description>&lt;P&gt;I independently checked the case with 2018 u4 and the latest 2019 u5 and don't see the problem on my side also. You may quickly test this case by installing MKL 2019 u5 on your local system. Here you may take the latest version for free.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 13:22:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165830#M28232</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-09-25T13:22:42Z</dc:date>
    </item>
    <item>
      <title>forget to add the link to the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165831#M28233</link>
      <description>&lt;P&gt;forget to add the link to the downloading page: &lt;A href="https://software.intel.com/en-us/performance-libraries" target="_blank"&gt;https://software.intel.com/en-us/performance-libraries&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 13:24:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Seg-fault-using-Data-Fitting-Akima-spline/m-p/1165831#M28233</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-09-25T13:24:35Z</dc:date>
    </item>
  </channel>
</rss>

