<?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: Re:VTUNE not inheriting MS VS IDE Release Mode in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1243092#M19784</link>
    <description>&lt;P&gt;Attached is a .zip file of a "cleaned" development folder "TestHEEVRK VTune Issue". Inside:&lt;/P&gt;
&lt;P&gt;"MS VS 2019 Help About.txt" (the Help | About of MS VS 2019)&lt;BR /&gt;Non_Intel_Environment.txt (the default Environment variables)&lt;/P&gt;
&lt;P&gt;TestHEEVRK.sln (the solution file you should open using MS VS 2019)&lt;/P&gt;
&lt;P&gt;*** Note, this system had clean install of Intel Parallel Studio XE 2020u4 Cluster Edition&lt;BR /&gt;*** I did not separately install any of the Intel Redistributables ***&lt;/P&gt;
&lt;P&gt;Launch the TestHEEVRK.sln using the (near) same MSVS &amp;amp; PS&lt;BR /&gt;Assure Release build is selected (it was on last use)&lt;BR /&gt;Right-Click on Project TestHEEVRK | Properties | Debugging | All Configurations | Environment | Edit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OMP_PLACES={0:64}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMP_AFFINITY=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMP_HW_SYBSET=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The above are settings for my KNL system 4 Processor Groups, each with 64 hardware threads.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **** change OMP_PLACES to {0:nn} where nn is the number of logical processors in the 1st(only)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processor group on your system&lt;BR /&gt;Right-Click on Project TestHEEVRK | Project Only | Build&lt;BR /&gt;Assure TestHEEVRK is startup project (it was on last use)&lt;BR /&gt;Click VTune button&lt;BR /&gt;Take Sample (software) using configuration as sent&lt;/P&gt;
&lt;P&gt;On my system this errors with mkl_intel_thread.dll missing when the program reaches the point of calling MKL.&lt;/P&gt;
&lt;P&gt;Note, if after Release build if you click on Debug | Start Without Debugging the program locates the .dll.&lt;/P&gt;
&lt;P&gt;I suspect VTune is not applying the additional PATH environment of the IDE. It does assume the command line arguments and current directory.&lt;/P&gt;
&lt;P&gt;I suspect that if one were to install the Intel Redistributals seperately, That then the mkl_intel_thread.dll would be in PATH *** but not necessarily the version as used under development ****&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Side note not related to issue:&lt;/P&gt;
&lt;P&gt;This is a benchmark program/suite for use on Windows intended to run permutations of OpenMP together with MKL. The project is not complete (not all features are in).&lt;/P&gt;
&lt;P&gt;Attached also is an unfinished Word document containing additional information about the benchmark.&lt;/P&gt;
&lt;P&gt;The intended "Quick Use" info&lt;/P&gt;
&lt;P&gt;Unzip into a test folder.&lt;BR /&gt;Launch Intel Parallel Studio x64 Command Prompt Environment&lt;BR /&gt;CD to test installation folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; BuildAll&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RunTest&lt;/P&gt;
&lt;P&gt;The BuildAll is run once per system.&lt;BR /&gt;The RunTest has command line options to select the tests performed. Default is all tests.&lt;BR /&gt;All tests on KNL 7210 takes about 5 hours and 30 minutes. Default tests NUMA nodes, Sockets, L2s, cores, HTs using augmented OMP_PLACES or KMP_AFFINITY.&lt;/P&gt;
&lt;P&gt;The VTune run (when working) runs 1 step of the permutations run by RunTest.bat&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 16:02:18 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2021-01-04T16:02:18Z</dc:date>
    <item>
      <title>VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1242850#M19776</link>
      <description>&lt;P&gt;Windows 10 Pro, Intel Parallel Studio 2020.4, MS VS 2019&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When launching MS VS via Icon&lt;BR /&gt;&amp;nbsp; Building Release build app with MKL threaded&lt;BR /&gt;&amp;nbsp; Start Without Debugging&lt;/P&gt;
&lt;P&gt;Program runs (finds mkl_intel_thread.dll)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Then when attempting to VTune without changing anything in MS VS&lt;/P&gt;
&lt;P&gt;Program fails (unable to find mkl_intel_thread.dll)&lt;/P&gt;
&lt;P&gt;The work around:&lt;/P&gt;
&lt;P&gt;Launch Intel Parallel Studio intel64 cmd prompt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; devenv mySolution.sln&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be nice if VTune would inherit the environment as does the debug/run does.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 16:30:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1242850#M19776</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-03T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1242991#M19782</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion.&lt;/P&gt;&lt;P&gt;Could you please share the application and steps to reproduce so that we can inform the engineering team regarding this issue .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Raeesa&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jan 2021 07:38:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1242991#M19782</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2021-01-04T07:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1243092#M19784</link>
      <description>&lt;P&gt;Attached is a .zip file of a "cleaned" development folder "TestHEEVRK VTune Issue". Inside:&lt;/P&gt;
&lt;P&gt;"MS VS 2019 Help About.txt" (the Help | About of MS VS 2019)&lt;BR /&gt;Non_Intel_Environment.txt (the default Environment variables)&lt;/P&gt;
&lt;P&gt;TestHEEVRK.sln (the solution file you should open using MS VS 2019)&lt;/P&gt;
&lt;P&gt;*** Note, this system had clean install of Intel Parallel Studio XE 2020u4 Cluster Edition&lt;BR /&gt;*** I did not separately install any of the Intel Redistributables ***&lt;/P&gt;
&lt;P&gt;Launch the TestHEEVRK.sln using the (near) same MSVS &amp;amp; PS&lt;BR /&gt;Assure Release build is selected (it was on last use)&lt;BR /&gt;Right-Click on Project TestHEEVRK | Properties | Debugging | All Configurations | Environment | Edit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OMP_PLACES={0:64}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMP_AFFINITY=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KMP_HW_SYBSET=&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The above are settings for my KNL system 4 Processor Groups, each with 64 hardware threads.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **** change OMP_PLACES to {0:nn} where nn is the number of logical processors in the 1st(only)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processor group on your system&lt;BR /&gt;Right-Click on Project TestHEEVRK | Project Only | Build&lt;BR /&gt;Assure TestHEEVRK is startup project (it was on last use)&lt;BR /&gt;Click VTune button&lt;BR /&gt;Take Sample (software) using configuration as sent&lt;/P&gt;
&lt;P&gt;On my system this errors with mkl_intel_thread.dll missing when the program reaches the point of calling MKL.&lt;/P&gt;
&lt;P&gt;Note, if after Release build if you click on Debug | Start Without Debugging the program locates the .dll.&lt;/P&gt;
&lt;P&gt;I suspect VTune is not applying the additional PATH environment of the IDE. It does assume the command line arguments and current directory.&lt;/P&gt;
&lt;P&gt;I suspect that if one were to install the Intel Redistributals seperately, That then the mkl_intel_thread.dll would be in PATH *** but not necessarily the version as used under development ****&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Side note not related to issue:&lt;/P&gt;
&lt;P&gt;This is a benchmark program/suite for use on Windows intended to run permutations of OpenMP together with MKL. The project is not complete (not all features are in).&lt;/P&gt;
&lt;P&gt;Attached also is an unfinished Word document containing additional information about the benchmark.&lt;/P&gt;
&lt;P&gt;The intended "Quick Use" info&lt;/P&gt;
&lt;P&gt;Unzip into a test folder.&lt;BR /&gt;Launch Intel Parallel Studio x64 Command Prompt Environment&lt;BR /&gt;CD to test installation folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; BuildAll&lt;BR /&gt;&amp;nbsp;&amp;nbsp; RunTest&lt;/P&gt;
&lt;P&gt;The BuildAll is run once per system.&lt;BR /&gt;The RunTest has command line options to select the tests performed. Default is all tests.&lt;BR /&gt;All tests on KNL 7210 takes about 5 hours and 30 minutes. Default tests NUMA nodes, Sockets, L2s, cores, HTs using augmented OMP_PLACES or KMP_AFFINITY.&lt;/P&gt;
&lt;P&gt;The VTune run (when working) runs 1 step of the permutations run by RunTest.bat&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:02:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1243092#M19784</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-04T16:02:18Z</dc:date>
    </item>
    <item>
      <title>Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1243438#M19791</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing necessary files and details. We will inform the concerned team and work on this .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raeesa&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jan 2021 12:48:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1243438#M19791</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2021-01-05T12:48:02Z</dc:date>
    </item>
    <item>
      <title>Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1244482#M19808</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are forwarding this case to the engineering team .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Raeesa&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jan 2021 10:04:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1244482#M19808</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2021-01-08T10:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1244651#M19816</link>
      <description>&lt;P&gt;There is a related thread &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/COARRAY-process-pinning-bug/m-p/1244239#M153769" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In that thread, there is an attache stripped down reproducer. CAF_MKL_ISSUE&lt;/P&gt;
&lt;P&gt;This illustrates an MKL pinning issue when using a "vanilla" flavored configuration.&lt;/P&gt;
&lt;P&gt;On my system (64 cores, 256 threads) on Windows, the sample test program has no MKL issues when using 1 to 4 images. When using more images, MKL reports a warning about being unable to pin some of its OpenMP threads.&lt;/P&gt;
&lt;P&gt;I suspect that this will not show up on systems with one ProcessorGroup.&lt;BR /&gt;IOW test on system with more than one ProcessorGroup.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 21:07:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1244651#M19816</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-08T21:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1247307#M19875</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;
&lt;P&gt;Thanks for the reported issue.&lt;/P&gt;
&lt;P&gt;I managed to build the "TestHEEVRK" solution. It appeared that VTune Visual Studio Integration doesn't take Environment variables from the project settings. (I mean this env variables: "&lt;SPAN&gt;&amp;nbsp;OMP_PLACES={0:64}...&lt;/SPAN&gt;".) The fix for the issue is created and will be added to the future VTune releases.&lt;/P&gt;
&lt;P&gt;Could you please add info about what type of analysis do you run in VTune VS integration?&lt;/P&gt;
&lt;P&gt;Could you please add info about where the error with missing&amp;nbsp;&lt;SPAN&gt;mkl_intel_thread.dll appears? I cannot observe it. But I do observe that under VTune&amp;nbsp;(Hotspots analysis type) the&amp;nbsp;TestHEEVRK workload finishes execution early. This results in empty VTune result. This issue is under investigation now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As an addition may be you can add the VTune result here on which the issue with mkl_intel_thread.dll is reproduced?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 12:28:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1247307#M19875</guid>
      <dc:creator>Daria_R_Intel</dc:creator>
      <dc:date>2021-01-18T12:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1248906#M19902</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;
&lt;P&gt;I've investigated deeply the issue with missing&amp;nbsp;&lt;SPAN&gt;with mkl_intel_thread.dll.&amp;nbsp;Fortran Visual Studio integration extension sets runtime&amp;nbsp;environment variable to MKL libraries. There is no way for VTune VS extension to retrieve the environment. The workaround is to set environment to MKL libraries manually in VTune Configure Analysis tab:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SETEnvInConfigureAnalysis.PNG" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/14908i327D1E2C212D91A5/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="SETEnvInConfigureAnalysis.PNG" alt="SETEnvInConfigureAnalysis.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The fix for retrieving environment from project settings will be included in future VTune release. So ways of workaround will be available.&lt;/P&gt;
&lt;P&gt;There may be more information about the issue from Parallel Studio team (you may forward the issue to the corresponding community section).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 09:45:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1248906#M19902</guid>
      <dc:creator>Daria_R_Intel</dc:creator>
      <dc:date>2021-01-22T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1279787#M20472</link>
      <description>&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This issue has been fixed in the latest release of VTune Profiler (version 2021.3.0)  &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you do not want to upgrade to the latest version, you can use the workaround by setting the env variables manually in the Configure Analysis tab in VTune.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this resolved your issues. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johny&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 May 2021 13:56:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1279787#M20472</guid>
      <dc:creator>Johny_P_Intel</dc:creator>
      <dc:date>2021-05-07T13:56:30Z</dc:date>
    </item>
    <item>
      <title>Re:VTUNE not inheriting MS VS IDE Release Mode</title>
      <link>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1280543#M20488</link>
      <description>&lt;P&gt;&lt;I style="font-family: &amp;quot;Intel Clear Light&amp;quot;; font-size: 15pt;"&gt;As we did not hear from you, we assume that this issue has been resolved and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only&lt;/I&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2021 13:48:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTUNE-not-inheriting-MS-VS-IDE-Release-Mode/m-p/1280543#M20488</guid>
      <dc:creator>Johny_P_Intel</dc:creator>
      <dc:date>2021-05-11T13:48:19Z</dc:date>
    </item>
  </channel>
</rss>

