<?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 Re: SAS 9.4 IML 15.1 crashes in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774554#M5696</link>
    <description>&lt;P&gt;Done. Thanks for the how to, I realized my mistake but didn't know how to change it.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 15:57:49 GMT</pubDate>
    <dc:creator>Abs92Stat</dc:creator>
    <dc:date>2021-10-15T15:57:49Z</dc:date>
    <item>
      <title>SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774488#M5687</link>
      <description>&lt;P&gt;Hi, SAS 9.4 IML 15.1 is installed on my laptop, the license is ok. But when I try a matrix multiplication an error occurs above 160 rows which is ridiculously small (rc = 7) and when I try an inversion SAS crashes alltogether. My laptop runs on Windows 10 and AMD ryzen pro 5. I you have any clue it would help. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 13:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774488#M5687</guid>
      <dc:creator>Abs92Stat</dc:creator>
      <dc:date>2021-10-15T13:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774506#M5688</link>
      <description>&lt;P&gt;&lt;SPAN&gt;There is a defect in the the Intel Math Kernel Library (MKL), which SAS/IML uses to accelerate certain computations in a multi-threading situation (like in matrix multiplication).&amp;nbsp;&amp;nbsp;Unfortunately there is not much we can do to avoid the problem directly since Intel has not fixed the problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is a workaround for this ERROR message : Put the following statements before and after the IML step:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;options NOTHREADS;&lt;BR /&gt;&lt;BR /&gt;proc iml;&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;options THREADS;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This prevents IML from creating multiple threads when multiplying large matrices and invoking the Windows MKL functions that are defective. There will be a loss of performance, but you should avoid the ERROR message.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774506#M5688</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-10-15T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774509#M5689</link>
      <description>&lt;P&gt;Thanks for these elements but unfortunately I still get the error and the crash. Besides my laptop is not Intel core but AMD (the competitor) hence I am not sure whether I do have Intel MKL, unless SAS 9.4 deployment wizard gets it along (as it does with Java jre). And it seems you can't download Intel MKL alone but only as a part of Intel® Parallel Studio XE 2020 or Intel® System Studio 2020 Composer.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774509#M5689</guid>
      <dc:creator>Abs92Stat</dc:creator>
      <dc:date>2021-10-15T14:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774511#M5690</link>
      <description>&lt;P&gt;I suggest you open a track with SAS Technical Support.&amp;nbsp; Be sure to supply your exact operating system, SAS Site Number and Precise release number.&amp;nbsp; If you can share the program and data that is causing the issue then that will also help them figure out what is going on.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/en_us/contact/technical-support.html" target="_blank"&gt;https://www.sas.com/en_us/contact/technical-support.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774511#M5690</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-10-15T14:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774515#M5691</link>
      <description>&lt;P&gt;Can you try and set the following environment variable in windows?&lt;/P&gt;
&lt;P&gt;Name: MKL_DEBUG_CPU_TYPE&lt;/P&gt;
&lt;P&gt;Value: 5&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 14:58:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774515#M5691</guid>
      <dc:creator>ardehg</dc:creator>
      <dc:date>2021-10-15T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774521#M5692</link>
      <description>&lt;P&gt;Code submitted and example data may be helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:05:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774521#M5692</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-15T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774524#M5693</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Can you try and set the following environment variable in windows?&lt;/P&gt;
&lt;P&gt;Name: MKL_DEBUG_CPU_TYPE&lt;/P&gt;
&lt;P&gt;Value: 5&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Wonderful ! It worked on a small testing program and on the whole complex one. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774524#M5693</guid>
      <dc:creator>Abs92Stat</dc:creator>
      <dc:date>2021-10-15T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774527#M5694</link>
      <description>&lt;P&gt;The testing program was quite simple :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc iml;&lt;/P&gt;&lt;P&gt;D1=I(500);&lt;BR /&gt;j=1;&lt;BR /&gt;do i=2 to 500;&lt;BR /&gt;j=i-1;&lt;BR /&gt;D1[i,j]=-1;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;TD1=t(D1);&lt;/P&gt;&lt;P&gt;M=TD1*D1;&lt;/P&gt;&lt;P&gt;IM=inv(M);&lt;/P&gt;&lt;P&gt;print(IM);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;But now thanks to the environment variable value changed the problem is solved. Have a great day.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774527#M5694</guid>
      <dc:creator>Abs92Stat</dc:creator>
      <dc:date>2021-10-15T15:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774544#M5695</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/373496"&gt;@Abs92Stat&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Glad to see that &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/309146"&gt;@ardehg&lt;/a&gt;'s solution worked for you. Then it would be fair if you marked &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/309146"&gt;@ardehg&lt;/a&gt;'s helpful reply as the accepted solution, not your own "thank you" post. Could you please change that? It's very easy: Select the other post&amp;nbsp;as the solution after clicking&amp;nbsp;"Not the Solution" in the option menu (see icon below) of the current solution.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="show_option_menu.png" style="width: 133px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64765i43C045B0CEE91586/image-size/large?v=v2&amp;amp;px=999" role="button" title="show_option_menu.png" alt="show_option_menu.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774544#M5695</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-10-15T15:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.4 IML 15.1 crashes</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774554#M5696</link>
      <description>&lt;P&gt;Done. Thanks for the how to, I realized my mistake but didn't know how to change it.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 15:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/SAS-9-4-IML-15-1-crashes/m-p/774554#M5696</guid>
      <dc:creator>Abs92Stat</dc:creator>
      <dc:date>2021-10-15T15:57:49Z</dc:date>
    </item>
  </channel>
</rss>

