<?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:DPC++ Compatibility Tool Error in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215463#M730</link>
    <description>&lt;P&gt;I'm getting the same error on a compute node:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;u47873@s001-n174:~$ dpct --cuda-include-path=$HOME/cuda-10.1.243/include vector_add.cu
NOTE: Could not auto-detect compilation database for file 'vector_add.cu' in '/home/u47873' or any parent directory.
dpct exited with code: -28 (Error: Input folder is the parent of, or the same folder as, the CUDA_PATH folder)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 06:32:18 GMT</pubDate>
    <dc:creator>Choi__Jaemin</dc:creator>
    <dc:date>2020-10-07T06:32:18Z</dc:date>
    <item>
      <title>DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215375#M728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried applying the DPC++ Compatibility Tool to the vector addition example on Intel DevCloud with CUDA 10.1.243, but got the following error:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;u47873@login-2:~$ dpct --cuda-include-path=$HOME/cuda-10.1.243/include vector_add.cu
NOTE: Could not auto-detect compilation database for file 'vector_add.cu' in '/home/u47873' or any parent directory.
dpct exited with code: -28 (Error: Input folder is the parent of, or the same folder as, the CUDA_PATH folder)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I double-checked the the supplied CUDA include directory has the CUDA headers, so I'm not sure why this error is occuring. Also the CUDA_PATH environment variable has not been set.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 22:00:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215375#M728</guid>
      <dc:creator>Choi__Jaemin</dc:creator>
      <dc:date>2020-10-06T22:00:03Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215459#M729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel DevCloud Forum.&lt;/P&gt;&lt;P&gt;The possible reason must be because you are in the login node.&lt;/P&gt;&lt;P&gt;Try with compute node(qsub -I)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Raeesa&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215459#M729</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2020-10-07T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215463#M730</link>
      <description>&lt;P&gt;I'm getting the same error on a compute node:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;u47873@s001-n174:~$ dpct --cuda-include-path=$HOME/cuda-10.1.243/include vector_add.cu
NOTE: Could not auto-detect compilation database for file 'vector_add.cu' in '/home/u47873' or any parent directory.
dpct exited with code: -28 (Error: Input folder is the parent of, or the same folder as, the CUDA_PATH folder)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:32:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215463#M730</guid>
      <dc:creator>Choi__Jaemin</dc:creator>
      <dc:date>2020-10-07T06:32:18Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215469#M731</link>
      <description>&lt;P&gt;We are moving this case to &lt;SPAN style="font-size: 12px;"&gt;Intel® oneAPI Data Parallel C++ Forum for much detailed response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Thank you ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Raeesa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:57:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215469#M731</guid>
      <dc:creator>RaeesaM_Intel</dc:creator>
      <dc:date>2020-10-07T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215861#M733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please try giving the path of the directory where vector_add.cu file is present to --in-root flag.&lt;/P&gt;&lt;P&gt;Please use the below command syntax for reference. &lt;/P&gt;&lt;P&gt;Assuming vector_add.cu is inside foo directory. &lt;/P&gt;&lt;P&gt;|foo (directory)&lt;/P&gt;&lt;P&gt;---|vector_add.cu&lt;/P&gt;&lt;P&gt;dpct --cuda-include-path=&amp;lt;path/to/cuda/include&amp;gt; --in-root=./foo ./foo/vector_add.cu &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please refer the below get started guide for more information. &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let us know if your issue gets resolved.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Oct 2020 07:57:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215861#M733</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-08T07:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215977#M734</link>
      <description>&lt;P&gt;Moving vector_add.cu file from $HOME to $HOME/vector_add made it work (no need for --in-root):&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;u47873@login-2:~$ dpct --cuda-include-path=$HOME/cuda-10.1.243/include ./vector_add/vector_add.cu
NOTE: Could not auto-detect compilation database for file 'vector_add.cu' in '/home/u47873/./vector_add' or any parent directory.
The directory "dpct_output" is used as "out-root"
Processing: /home/u47873/vector_add/vector_add.cu
Processed 1 file(s) in -in-root folder "/home/u47873/vector_add"

See Diagnostics Reference to resolve warnings and complete the migration:
https://software.intel.com/content/www/us/en/develop/documentation/intel-dpcpp-compatibility-tool-user-guide/top/diagnostics-reference.html
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems weird that dpct does not work when the source code is located in the home directory, it would be good to add this to the documentation under 'Step 1: Migrate a Simple Test Project'.&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 16:09:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1215977#M734</guid>
      <dc:creator>Choi__Jaemin</dc:creator>
      <dc:date>2020-10-08T16:09:16Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1216232#M735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the confirmation!&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regarding: "&lt;B&gt;&lt;I&gt;It seems weird that dpct does not work when the source code is located in the home directory,&lt;/I&gt;&lt;/B&gt;"&lt;/P&gt;&lt;P&gt;DPCT will migrate the code even if the source code is present in the home directory.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;"&lt;B&gt;&lt;I&gt;dpct exited with code: -28 (Error: Input folder is the parent of, or the same folder as, the CUDA_PATH folder)&lt;/I&gt;&lt;/B&gt;"&lt;/P&gt;&lt;P&gt;In your specific case, dpct is not able to migrate the code because the source code and CUDA installed directory are at the same path. i.e $HOME/.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regarding: "&lt;B&gt;&lt;I&gt;it would be good to add this to the documentation under 'Step 1: Migrate a Simple Test Project'.&lt;/I&gt;&lt;/B&gt;"&lt;/P&gt;&lt;P&gt;Thanks for your suggestion, we will forward your request to the concerned internal team.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know if we are able to answer all your queries? If yes, let us know if we can close this thread from our side.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Oct 2020 11:09:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1216232#M735</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-09T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1217193#M738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Regarding your documentation suggestion. &lt;/P&gt;&lt;P&gt;We have forwarded your request to the concerned internal team. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this issue has been resolved, we will no longer respond to this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you require any additional assistance from Intel, please start a new thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:22:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1217193#M738</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-13T12:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPC++ Compatibility Tool Error</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1218233#M745</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am encountering the same error. However, in my case, I am also getting an error saying that the path for CUDA header files is invalid. I am trying to use the compatibility tool on the devcloud server.&amp;nbsp;&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-1602817798956.png" style="width: 743px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/13192i6D3D75EDB13ED588/image-dimensions/743x26/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="743" height="26" role="button" title="Siddhanta_Shroff_0-1602817798956.png" alt="Siddhanta_Shroff_0-1602817798956.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 03:23:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPC-Compatibility-Tool-Error/m-p/1218233#M745</guid>
      <dc:creator>Siddhanta_Shroff</dc:creator>
      <dc:date>2020-10-16T03:23:18Z</dc:date>
    </item>
  </channel>
</rss>

