<?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:DPCPPCFG environment variable? in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1307085#M1490</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Reminder:&lt;/P&gt;&lt;P&gt;Could you please confirm us if your issue is resolved and whether we can close this thread from our end?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Aug 2021 11:10:22 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2021-08-16T11:10:22Z</dc:date>
    <item>
      <title>DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300004#M1424</link>
      <description>&lt;P&gt;Is there a way to pass default options to the dpcpp compiler? I tried setting&amp;nbsp;the &lt;FONT face="courier new,courier"&gt;DPCPPCFG&lt;/FONT&gt; environment variable, similar to how &lt;FONT face="courier new,courier"&gt;icx&lt;/FONT&gt; recognizes&amp;nbsp;&lt;FONT face="courier new,courier"&gt;ICXCFG&lt;/FONT&gt;, but it didn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our gcc is installed in an unusual location, so i need a way of passing &lt;FONT face="courier new,courier"&gt;--gcc-toolchain=/path/to/gcc&lt;/FONT&gt;.&amp;nbsp;I can't use &lt;FONT face="courier new,courier"&gt;__INTEL_PRE_CFLAGS&lt;/FONT&gt; because then the classic compilers complain about an unrecognized option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:13:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300004#M1424</guid>
      <dc:creator>mike-nolta</dc:creator>
      <dc:date>2021-07-20T14:13:23Z</dc:date>
    </item>
    <item>
      <title>Re:DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300297#M1429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;Could you please provide us OS environment details and the version of the compiler you are using&lt;/P&gt;&lt;P&gt;Please refer the list of supported environment variables for oneapi compilers in the following link&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/supported-environment-variables.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/supported-environment-variables.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;gt;&amp;gt; &lt;/I&gt;&lt;I style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;Is there a way to pass default options to the dpcpp compiler&lt;/I&gt;&lt;I&gt; &lt;/I&gt;&lt;/P&gt;&lt;P&gt;We are working on this issue and we will get back to you soon.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jul 2021 12:48:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300297#M1429</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-07-21T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300302#M1430</link>
      <description>&lt;P&gt;OS is Centos7, and dpcpp version is 2021.3.0&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 13:34:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300302#M1430</guid>
      <dc:creator>mike-nolta</dc:creator>
      <dc:date>2021-07-21T13:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300592#M1431</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for providing the details.&lt;/P&gt;
&lt;P&gt;Please find the system requirements for oneAPI DPC++ compiler from the below link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As per the requirements for dpcpp compiler, CentOS 7 is not supported.&lt;/P&gt;
&lt;P&gt;So we suggest you to try using supported version and let us know if you face any issues.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:48:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1300592#M1431</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-07-22T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1302132#M1444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Reminder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please confirm if your issue is resolved so that we can close this thread from our end.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 12:01:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1302132#M1444</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-09-08T12:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re:DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1302246#M1445</link>
      <description>&lt;P&gt;I'm not sure. Will there be a mechanism like &lt;FONT face="courier new,courier"&gt;DPCPPCFG&lt;/FONT&gt; in the next release?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 14:51:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1302246#M1445</guid>
      <dc:creator>mike-nolta</dc:creator>
      <dc:date>2021-07-29T14:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1303298#M1450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;From your initial query we see that you have mentioned multiple compilers.&lt;/P&gt;
&lt;P&gt;Could you please share the details of your use case ( and also script file if any) so that we can try it from our end.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="font-size: 16px; font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;I can't use&amp;nbsp;&lt;/I&gt;&lt;I&gt;__INTEL_PRE_CFLAGS&lt;/I&gt;&lt;I&gt;&amp;nbsp;because then the classic compilers complain&lt;/I&gt;&lt;SPAN style="font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Could you be more specific regarding the issue while using &lt;I&gt;__INTEL_PRE_CFLAGS &lt;/I&gt;classic compilers.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 12:35:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1303298#M1450</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-03T12:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1304492#M1462</link>
      <description>&lt;P&gt;I'm installing the oneAPI suite on an HPC cluster. Like most HPC clusters, we use our own build of gcc and not the OS package.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If i set &lt;FONT face="courier new,courier"&gt;__INTEL_PRE_CFLAGS="--gcc-toolchain=/path/to/gcc",&lt;/FONT&gt; that works for &lt;FONT face="courier new,courier"&gt;icpx&lt;/FONT&gt; and (maybe) &lt;FONT face="courier new,courier"&gt;dpcpp&lt;/FONT&gt;, but not &lt;FONT face="courier new,courier"&gt;icpc&lt;/FONT&gt; since it doesn't recognize the &lt;FONT face="courier new,courier"&gt;--gcc-toolchain&lt;/FONT&gt; flag.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i'm using the &lt;FONT face="courier new,courier"&gt;ICPCCFG&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;ICPXCFG&lt;/FONT&gt;, ... environment variables to pass different options to the different compilers, but &lt;FONT face="courier new,courier"&gt;DPCPPCFG&lt;/FONT&gt; is not recognized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 16:31:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1304492#M1462</guid>
      <dc:creator>mike-nolta</dc:creator>
      <dc:date>2021-08-07T16:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1304799#M1467</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;gt;&lt;I&gt;&amp;gt;&lt;/I&gt;&lt;I&gt;icpc&lt;/I&gt;&lt;I&gt;&amp;nbsp;since it doesn't recognize the&amp;nbsp;&lt;/I&gt;&lt;I&gt;--gcc-toolchain&lt;/I&gt;&lt;I&gt;&amp;nbsp;flag.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Please refer the below link to use gcc with icpc compiler&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/compatibility-options/gcc-name.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/compatibility-options/gcc-name.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Instead of using DPCPPCFG, you can also add the path of configuration file in your makefile where dpcpp is called.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;:/tmp$ cat Makefile

CC=dpcpp @/tmp/dpcpp.cfg
CFLAGS=-I.
hellomake:
       $(CC) -c -g hello.cpp&lt;/LI-CODE&gt;
&lt;P&gt;We checked it from our end on CentOS 8 and it is working fine.&lt;/P&gt;
&lt;P&gt;And also please make sure the options which you are using in .cfg file are supported otherwise you will get errors saying &lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;: Unsupported command line options encountered.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;You can get the list of options both supported and unsupported options by oneAPI compilers using below command&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; icpx --qnextgen-diag&lt;/LI-CODE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vidya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 11:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1304799#M1467</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-09T11:56:01Z</dc:date>
    </item>
    <item>
      <title>Re:DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1307085#M1490</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Reminder:&lt;/P&gt;&lt;P&gt;Could you please confirm us if your issue is resolved and whether we can close this thread from our end?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Aug 2021 11:10:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1307085#M1490</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-16T11:10:22Z</dc:date>
    </item>
    <item>
      <title>Re:DPCPPCFG environment variable?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1308714#M1504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional assistance from intel please post a new question as this thread will no longer be monitored.&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;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Aug 2021 02:58:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPCPPCFG-environment-variable/m-p/1308714#M1504</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-23T02:58:20Z</dc:date>
    </item>
  </channel>
</rss>

