<?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 Extremely simple offload example: &amp;quot;Unexpected number of variable descriptors&amp;quot; in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006682#M105044</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the extremely simple example below I never enter the offload region, but receive the runtime error message: &amp;nbsp;"Unexpected number of variable descriptors"&lt;/P&gt;

&lt;P&gt;What could possibly be the problem here? I run the latest version of parallel studio XE on windows server 2008 R2.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;C&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; program Console2&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'Starting on host ...'&lt;BR /&gt;
	!DIR$ OFFLOAD BEGIN TARGET(mic:0)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'On phi ...'&lt;BR /&gt;
	!DIR$ END OFFLOAD&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'Back on host ...'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; end program Console2&lt;/P&gt;

&lt;P&gt;Compiler arguments:&lt;/P&gt;

&lt;P&gt;/nologo /debug:full /Od /warn:interfaces /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc110.pdb" /traceback /check:all /libs:static /threads /dbglibs /c&lt;/P&gt;

&lt;P&gt;Linker arguments:&lt;/P&gt;

&lt;P&gt;/OUT:"x64\Debug\Console2.exe" /INCREMENTAL:NO /NOLOGO /qoffload-ldopts="-lifcoremt" /MANIFEST /MANIFESTFILE:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.lib"&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2014 09:07:10 GMT</pubDate>
    <dc:creator>PKM</dc:creator>
    <dc:date>2014-07-22T09:07:10Z</dc:date>
    <item>
      <title>Extremely simple offload example: "Unexpected number of variable descriptors"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006682#M105044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the extremely simple example below I never enter the offload region, but receive the runtime error message: &amp;nbsp;"Unexpected number of variable descriptors"&lt;/P&gt;

&lt;P&gt;What could possibly be the problem here? I run the latest version of parallel studio XE on windows server 2008 R2.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;/P&gt;

&lt;P&gt;C&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; program Console2&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'Starting on host ...'&lt;BR /&gt;
	!DIR$ OFFLOAD BEGIN TARGET(mic:0)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'On phi ...'&lt;BR /&gt;
	!DIR$ END OFFLOAD&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *,'Back on host ...'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; end program Console2&lt;/P&gt;

&lt;P&gt;Compiler arguments:&lt;/P&gt;

&lt;P&gt;/nologo /debug:full /Od /warn:interfaces /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc110.pdb" /traceback /check:all /libs:static /threads /dbglibs /c&lt;/P&gt;

&lt;P&gt;Linker arguments:&lt;/P&gt;

&lt;P&gt;/OUT:"x64\Debug\Console2.exe" /INCREMENTAL:NO /NOLOGO /qoffload-ldopts="-lifcoremt" /MANIFEST /MANIFESTFILE:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"C:\Users\casper.kirkegaard\Documents\Visual Studio 2012\Projects\Console2\Console2\x64\Debug\Console2.lib"&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 09:07:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006682#M105044</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2014-07-22T09:07:10Z</dc:date>
    </item>
    <item>
      <title>I don't know what the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006683#M105045</link>
      <description>&lt;P&gt;I don't know what the underlying issue is just yet, but I reproduced the error and this occurs because of &lt;STRONG&gt;/check:all&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Can you change the property setting &lt;STRONG&gt;Fortran &amp;gt; Run-time &amp;gt; Runtime Error Checking&lt;/STRONG&gt; back to &lt;STRONG&gt;Custom&lt;/STRONG&gt; and then you can select &lt;STRONG&gt;Yes &lt;/STRONG&gt;to all of the individual checks except for &lt;STRONG&gt;Check for Uninitialized Variables&lt;/STRONG&gt; which when set leads to the error.&lt;/P&gt;

&lt;P&gt;I will investigate this further and post again when I know more.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 09:31:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006683#M105045</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-07-22T09:31:14Z</dc:date>
    </item>
    <item>
      <title>The error occurs in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006684#M105046</link>
      <description>&lt;P&gt;The error occurs in conjunction with &lt;STRONG&gt;/debug:full&lt;/STRONG&gt; and &lt;STRONG&gt;/check:uninit&lt;/STRONG&gt;. I directed this to Development (see internal tracking id below) and will keep you updated about a fix. You may temporarily work around the issue by avoiding that option combination.&lt;/P&gt;

&lt;P&gt;(Internal tracking id: DPD200358961)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 15:03:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006684#M105046</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-07-22T15:03:59Z</dc:date>
    </item>
    <item>
      <title>Thanks Kevin ...</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006685#M105047</link>
      <description>&lt;P&gt;Thanks Kevin ...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 05:54:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006685#M105047</guid>
      <dc:creator>PKM</dc:creator>
      <dc:date>2014-07-23T05:54:28Z</dc:date>
    </item>
    <item>
      <title>This issue is also exists in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006686#M105048</link>
      <description>&lt;P&gt;This issue is also exists in the current 15.0 Beta, but it has been fixed for the upcoming 15.0 initial release.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 20:46:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Extremely-simple-offload-example-quot-Unexpected-number-of/m-p/1006686#M105048</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-07-25T20:46:09Z</dc:date>
    </item>
  </channel>
</rss>

