<?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 running offload code on node without a mic in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057874#M52766</link>
    <description>&lt;P&gt;Hi again, i'd like to run my #pragma offload code on a node that does not have a mic present. When I try I get the following error:&lt;/P&gt;

&lt;P&gt;"offload error: cannot offload to MIC - device is not available"&lt;/P&gt;

&lt;P&gt;Is there a flag to tell the software to run the CPU only based version? I thought the binary had both code paths, so it should just choose a sensible one for what is available?&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Josh&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2014 08:21:04 GMT</pubDate>
    <dc:creator>joshbowden</dc:creator>
    <dc:date>2014-11-17T08:21:04Z</dc:date>
    <item>
      <title>running offload code on node without a mic</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057874#M52766</link>
      <description>&lt;P&gt;Hi again, i'd like to run my #pragma offload code on a node that does not have a mic present. When I try I get the following error:&lt;/P&gt;

&lt;P&gt;"offload error: cannot offload to MIC - device is not available"&lt;/P&gt;

&lt;P&gt;Is there a flag to tell the software to run the CPU only based version? I thought the binary had both code paths, so it should just choose a sensible one for what is available?&lt;/P&gt;

&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Josh&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 08:21:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057874#M52766</guid>
      <dc:creator>joshbowden</dc:creator>
      <dc:date>2014-11-17T08:21:04Z</dc:date>
    </item>
    <item>
      <title>The final executable does</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057875#M52767</link>
      <description>&lt;P&gt;The final executable does contain both host and target code paths but the default offload mode is “&lt;STRONG&gt;mandatory&lt;/STRONG&gt;” and the app terminates with an error when no coprocessor is available.&lt;/P&gt;

&lt;P&gt;You can change the default behavior for any individual offload construct by adding the &lt;STRONG&gt;optional&lt;/STRONG&gt; clause on the offload directive/pragma or for the entire program using the &lt;STRONG&gt;-qoffload=optional&lt;/STRONG&gt; command-line option. More details in the User Guide &lt;A href="https://software.intel.com/en-us/node/524888" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 08:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057875#M52767</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-11-17T08:57:00Z</dc:date>
    </item>
    <item>
      <title>Thanks again Kevin.</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057876#M52768</link>
      <description>&lt;P&gt;Thanks again Kevin.&lt;/P&gt;

&lt;P&gt;I'll try to find some time to have another look at the documentation. I'm sure there will be more qustions I want to ask about calling offload code from openmp (CPU) threads, however I'll try to work that out for myself tomorrow.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Josh.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 12:11:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057876#M52768</guid>
      <dc:creator>joshbowden</dc:creator>
      <dc:date>2014-11-17T12:11:23Z</dc:date>
    </item>
    <item>
      <title>Sounds good.</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057877#M52769</link>
      <description>&lt;P&gt;Sounds good.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 12:50:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057877#M52769</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-11-17T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Kevin,</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057878#M52770</link>
      <description>&lt;P&gt;Kevin,&lt;/P&gt;

&lt;P&gt;This may be a little bit off topic, but I think it is related....&lt;/P&gt;

&lt;P&gt;Considering that "#pragma offload (presumably run on host) will inject &lt;STRONG&gt;code&lt;/STRONG&gt; and/or data into a target (MIC), or potentially non-MIC target (#pragma omp offload now permits this).&lt;/P&gt;

&lt;P&gt;What are the prospects of having:&lt;/P&gt;

&lt;P&gt;#pragma offload target(SomeOtherSystemOnNetwork)&lt;/P&gt;

&lt;P&gt;The above at first glance may be thought of as similar to OpenMPI, but it differs in that this is not a "rank" oriented paradigm. Only specific portions of the code and/or data&amp;nbsp;to/from the specified SomeOtherSystemOnNetwork is transferred, and each offload to specific targets can vary. For example a cluster of nodes (non-SMP), where some of the nodes may have MIC, others may have (ehm... excuse me) Tesla, others GPGPU, and others are large SMP, it would be an attractive feature for an attached workstation to launch an application on the workstation that could partial out specific portions of the application to the most appropriate system... concurrently.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 15:30:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057878#M52770</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-11-17T15:30:18Z</dc:date>
    </item>
    <item>
      <title>An interesting thought, Jim. </title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057879#M52771</link>
      <description>&lt;P&gt;An interesting thought, Jim.&amp;nbsp; The design lends itself to extension to other targets besides Xeon Phi™. We extended it for offload to the Intel® Graphics Technology target; however, to what extent other targets can be incorporated I just don’t know. The target compiler must be capable of producing compatible instructions.&lt;/P&gt;

&lt;P&gt;I will inquire with Development and see if they might weigh in on the idea.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 16:15:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057879#M52771</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-11-17T16:15:25Z</dc:date>
    </item>
    <item>
      <title>The compiler is required to</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057880#M52772</link>
      <description>&lt;P&gt;The compiler is required to generate code both for the host and for the target. The supported targets are Xeon Phi (MIC) and GT.&lt;/P&gt;

&lt;P&gt;Future generations of MIC may be available as standalone workstations or add-in cards. For a cluster of nodes with Xeon and Xeon Phi in them it will be possible to "offload" from Xeon to&amp;nbsp;MIC over the cluster fabric. In this scenario, a MIC node on the network will appear to the program as an offload-able target. However, the only offload-able targets will be MIC, not non-Intel processors.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 17:37:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057880#M52772</guid>
      <dc:creator>Rajiv_D_Intel</dc:creator>
      <dc:date>2014-11-17T17:37:02Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;The compiler is required to</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057881#M52773</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;The compiler is required to generate code both for the host and for the target.&lt;/P&gt;

&lt;P&gt;So.... when the target is another host with the same architecture (IA32, Intel64, AMD64, or mixture via compiler options), then there would be no reason (other than marketing) than to not include this in the supported offload targets. I see a great benefit, even when you restrict this to Intel products.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;I have a Windows 7 workstation without MIC. 10 feet away I have a Linux workstation with a Xeon E5-2620v3 processor and&amp;nbsp;two Xeon Phi coprocessors.&lt;/P&gt;

&lt;P&gt;It would be nice if I could&lt;/P&gt;

&lt;P&gt;a) run an application on my workstation, that has offloads to the remote MIC (this can be done, though I do not do this - no Infiniband here)&lt;BR /&gt;
	b) run an application on my workstation, that has offloads to the remote Xeon E5-2620v3 processor (via Gigabit Ethernet)&lt;BR /&gt;
	c) run an application on my workstation, that has offloads to the remote Xeon E5-2620v3 processor and which itself offloads to its connected MICs&lt;BR /&gt;
	...&lt;BR /&gt;
	xyz) run an application on my workstation, that has offloads to someplace in the cloud (example being your Many Cores Testing Lab)&lt;/P&gt;

&lt;P&gt;The point of the offload is to provide a homogeneous experience in a heterogeneous environment.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 18:38:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057881#M52773</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-11-17T18:38:11Z</dc:date>
    </item>
    <item>
      <title>While on this slightly off</title>
      <link>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057882#M52774</link>
      <description>&lt;P&gt;While on this slightly off topic - There is a project named "VirtualCL" that virtulaizes a network of OpenCL devices - as Phi's and CPUs can run OpenCL code this may work for you. It does not help your #pragma omp based codes much yet though.&lt;/P&gt;

&lt;P&gt;Cheers, Josh&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2014 23:52:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/running-offload-code-on-node-without-a-mic/m-p/1057882#M52774</guid>
      <dc:creator>joshbowden</dc:creator>
      <dc:date>2014-11-17T23:52:02Z</dc:date>
    </item>
  </channel>
</rss>

