<?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 Registry &amp;amp; Environment not set properly for MSVS - oneMKL 2024.0.0.49672 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Registry-amp-Environment-not-set-properly-for-MSVS-oneMKL-2024-0/m-p/1551877#M35572</link>
    <description>&lt;P&gt;It seems that the registry values, provided by '&lt;STRONG&gt;reg_keys.json&lt;/STRONG&gt;' (in offline install package) do not correspond to the expected values in the Build Target files (&lt;STRONG&gt;xxxxxxoneMKL.v142.props)&lt;/STRONG&gt; for Microsoft Visual Studio 2019. I've tracked down the issue to the following RegistryKey families missing:&lt;/P&gt;&lt;P&gt;HKLCU\SOFTWARE\Intel\PerfLibSuites\&lt;STRONG&gt;&lt;FONT color="#C81326"&gt;SelectedTools\**&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;HKLM\SOFTWARE\Intel\PerfLibSuites&lt;FONT color="#C81326"&gt;&lt;STRONG&gt;\Defaults\**&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From&lt;STRONG&gt; Intel.Libs.oneMKL.v142.props:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="xml"&gt;&amp;lt;_oneMKLSubKey Condition="'$(_oneMKLSubKey)'==''"&amp;gt;$([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\Software\Intel\PerfLibSuites\SelectedTools\VS16\oneMKL\$(ICPlatform)', 'SubKey', null, RegistryView.Registry32))&amp;lt;/_oneMKLSubKey&amp;gt;
...
&amp;lt;_oneMKLSubKey Condition="'$(oneMKLMajorVersion)'==''"&amp;gt;$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Intel\PerfLibSuites\Defaults\$(ICPlatform)', 'oneMKLSubKey', null, RegistryView.Registry32))&amp;lt;/_oneMKLSubKey&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Installed on two different machines - same result, which is not a surprise, after I traced the install logs to the 'reg_keys.json' contents.&lt;/P&gt;&lt;P&gt;I've managed to recreate the expected keys in a way aligned with a custom .props file. But now I see this is the same for TBB, and I have to recreate it's RegKeys also...&lt;/P&gt;&lt;P&gt;Will this be different if I install the entire oneAPI Base package which I'm avoiding, as I only use the MKL/TBB libraries?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Also when it finally worked, I get only linking against the DLL interface (mkl_core_dll.lib), even if I specify the mkl_core.lib in the input to the linker.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 13:36:27 GMT</pubDate>
    <dc:creator>ttaneff</dc:creator>
    <dc:date>2023-12-08T13:36:27Z</dc:date>
    <item>
      <title>Registry &amp; Environment not set properly for MSVS - oneMKL 2024.0.0.49672</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Registry-amp-Environment-not-set-properly-for-MSVS-oneMKL-2024-0/m-p/1551877#M35572</link>
      <description>&lt;P&gt;It seems that the registry values, provided by '&lt;STRONG&gt;reg_keys.json&lt;/STRONG&gt;' (in offline install package) do not correspond to the expected values in the Build Target files (&lt;STRONG&gt;xxxxxxoneMKL.v142.props)&lt;/STRONG&gt; for Microsoft Visual Studio 2019. I've tracked down the issue to the following RegistryKey families missing:&lt;/P&gt;&lt;P&gt;HKLCU\SOFTWARE\Intel\PerfLibSuites\&lt;STRONG&gt;&lt;FONT color="#C81326"&gt;SelectedTools\**&lt;/FONT&gt;&lt;BR /&gt;&lt;/STRONG&gt;HKLM\SOFTWARE\Intel\PerfLibSuites&lt;FONT color="#C81326"&gt;&lt;STRONG&gt;\Defaults\**&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From&lt;STRONG&gt; Intel.Libs.oneMKL.v142.props:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="xml"&gt;&amp;lt;_oneMKLSubKey Condition="'$(_oneMKLSubKey)'==''"&amp;gt;$([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\Software\Intel\PerfLibSuites\SelectedTools\VS16\oneMKL\$(ICPlatform)', 'SubKey', null, RegistryView.Registry32))&amp;lt;/_oneMKLSubKey&amp;gt;
...
&amp;lt;_oneMKLSubKey Condition="'$(oneMKLMajorVersion)'==''"&amp;gt;$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Intel\PerfLibSuites\Defaults\$(ICPlatform)', 'oneMKLSubKey', null, RegistryView.Registry32))&amp;lt;/_oneMKLSubKey&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Installed on two different machines - same result, which is not a surprise, after I traced the install logs to the 'reg_keys.json' contents.&lt;/P&gt;&lt;P&gt;I've managed to recreate the expected keys in a way aligned with a custom .props file. But now I see this is the same for TBB, and I have to recreate it's RegKeys also...&lt;/P&gt;&lt;P&gt;Will this be different if I install the entire oneAPI Base package which I'm avoiding, as I only use the MKL/TBB libraries?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Also when it finally worked, I get only linking against the DLL interface (mkl_core_dll.lib), even if I specify the mkl_core.lib in the input to the linker.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 13:36:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Registry-amp-Environment-not-set-properly-for-MSVS-oneMKL-2024-0/m-p/1551877#M35572</guid>
      <dc:creator>ttaneff</dc:creator>
      <dc:date>2023-12-08T13:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Registry &amp; Environment not set properly for MSVS - oneMKL 2024.0.0.49672</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Registry-amp-Environment-not-set-properly-for-MSVS-oneMKL-2024-0/m-p/1556006#M35645</link>
      <description>&lt;P&gt;Hi Tanyo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities. We have redirected the issue to the concerned team.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our team will get back to you soon with an update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Shanmukh.SS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 07:27:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Registry-amp-Environment-not-set-properly-for-MSVS-oneMKL-2024-0/m-p/1556006#M35645</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-12-21T07:27:06Z</dc:date>
    </item>
  </channel>
</rss>

