<?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: DPCT error: dpct exited with error code -5 in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1218912#M756</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to install CUDA toolkit in your home directory (Home directory installation doesn't require sudo. You may find the instructions for the same on the Nvidia official webpage). Once you have installed the toolkit, use the below command to perform migration for a single source file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dpct --cuda-include-path=/path/to/cuda/include vec_add.cu&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This command will save the migrated files to the &lt;STRONG&gt;dpct_output&lt;/STRONG&gt; directory by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly refer to the DPCT user guide for more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/usage-workflow-overview.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/usage-workflow-overview.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more than one source files, please note that you will have to generate a &lt;STRONG&gt;compile_commands.json&lt;/STRONG&gt; file using your source application's Makefile (&lt;STRONG&gt;intercept-build make&lt;/STRONG&gt; command) and perform the migration with the help of the generated json file. (Refer to the user guide for more info)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below link for supported CUDA versions and hardware/software requirements:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 06:56:27 GMT</pubDate>
    <dc:creator>RahulV_intel</dc:creator>
    <dc:date>2020-10-19T06:56:27Z</dc:date>
    <item>
      <title>DPCT error: dpct exited with error code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1218472#M754</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to follow the steps given on &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-dpcpp-compatibility-tool/top.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-dpcpp-compatibility-tool/top.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upon compilation, I get an error saying the path for CUDA header files is invalid. I am trying to use the compatibility tool on the devcloud server.&lt;/P&gt;
&lt;P&gt;Now, to include the CUDA path I need to first install the CUDA toolkit but I cannot install it without sudo access. Could you please help me understand what is it that I can do to get it running on the server?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Siddhanta_Shroff_0-1602870869135.png" style="width: 750px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/13216iD9FBF33CCD2D6C49/image-dimensions/750x30/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="750" height="30" role="button" title="Siddhanta_Shroff_0-1602870869135.png" alt="Siddhanta_Shroff_0-1602870869135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Siddhanta&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 17:58:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1218472#M754</guid>
      <dc:creator>Siddhanta_Shroff</dc:creator>
      <dc:date>2020-10-16T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: DPCT error: dpct exited with error code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1218912#M756</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to install CUDA toolkit in your home directory (Home directory installation doesn't require sudo. You may find the instructions for the same on the Nvidia official webpage). Once you have installed the toolkit, use the below command to perform migration for a single source file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dpct --cuda-include-path=/path/to/cuda/include vec_add.cu&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This command will save the migrated files to the &lt;STRONG&gt;dpct_output&lt;/STRONG&gt; directory by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly refer to the DPCT user guide for more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/usage-workflow-overview.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/usage-workflow-overview.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more than one source files, please note that you will have to generate a &lt;STRONG&gt;compile_commands.json&lt;/STRONG&gt; file using your source application's Makefile (&lt;STRONG&gt;intercept-build make&lt;/STRONG&gt; command) and perform the migration with the help of the generated json file. (Refer to the user guide for more info)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below link for supported CUDA versions and hardware/software requirements:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-dpc-compatibility-tool-system-requirements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 06:56:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1218912#M756</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-10-19T06:56:27Z</dc:date>
    </item>
    <item>
      <title>Re:DPCT error: dpct exited with error code -5</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1219772#M765</link>
      <description>&lt;P&gt;Thanks for accepting the solution.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Intel will no longer monitor this thread. However, this thread will remain open for community discussion.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:13:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCT-error-dpct-exited-with-error-code-5/m-p/1219772#M765</guid>
      <dc:creator>RahulV_intel</dc:creator>
      <dc:date>2020-10-21T12:13:32Z</dc:date>
    </item>
  </channel>
</rss>

