<?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: IFX generates unwanted PDB files in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434928#M163839</link>
    <description>&lt;P&gt;According to the Fortran DGR (Developer Guide and Reference), &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/output-debug-and-precompiled-header-options/pdbfile.html" target="_blank" rel="noopener"&gt;/pdbfile&lt;/A&gt; is supported for ifort. I'm checking on the plan for implementing that in ifx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 18:56:24 GMT</pubDate>
    <dc:creator>Barbara_P_Intel</dc:creator>
    <dc:date>2022-12-01T18:56:24Z</dc:date>
    <item>
      <title>IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434813#M163820</link>
      <description>&lt;P&gt;The Ifort and Ifx compiler drivers on Windows provide the /nopdbfile option. This option works correctly when Ifort is used as the driver, but fails with Ifx. To see this, create a two-line hello.f90 program source, and build:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;S:\ALGO\ODEPACK\HYB\npol\Morn\pol\ifxbug&amp;gt;ifort hello.f90
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.7.1 Build 20221019_000000
Copyright (C) 1985-2022 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.33.31629.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:hello.exe
-subsystem:console
-incremental:no
hello.obj&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Ifx, this option does not work, because the driver gratuitously sends the MS linker the option -debug.&lt;/P&gt;
&lt;P&gt;When I first noticed this behavior, after seeing a large number of files named "NONE" in various directories, I fretted that my computer had been conquered by a virus.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;S:\ALGO\ODEPACK\HYB\npol\Morn\pol\ifxbug&amp;gt;ifx /nopdbfile hello.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2022.2.1 Build 20221101
Copyright (C) 1985-2022 Intel Corporation. All rights reserved.

Microsoft (R) Incremental Linker Version 14.33.31629.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:hello.exe
-debug
-pdb:NONE
-subsystem:console
-incremental:no
hello.obj&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All that the /nopdbfile option did was to cause the name of the generated PDB file to be changed from "hello.pdb" to "NONE".&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 13:00:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434813#M163820</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-12-01T13:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434928#M163839</link>
      <description>&lt;P&gt;According to the Fortran DGR (Developer Guide and Reference), &lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/compiler-options/output-debug-and-precompiled-header-options/pdbfile.html" target="_blank" rel="noopener"&gt;/pdbfile&lt;/A&gt; is supported for ifort. I'm checking on the plan for implementing that in ifx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 18:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434928#M163839</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2022-12-01T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re:IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434966#M163845</link>
      <description>&lt;P&gt;Support for /[no]pdbfiles with ifx hasn't been determined yet. ifx should NOT be doing what it's doing. I filed CMPLRLLVM-42350 to get that fixed. I'll let you when a fix is available.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:34:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1434966#M163845</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2022-12-01T21:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435191#M163849</link>
      <description>&lt;P&gt;Hi mecej4 -&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;It's been a while; my fault, not yours, I haven't been on the forum as much of late.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Anyway, yes, I can reproduce this behavior with /pdb:NONE.&amp;nbsp; Years ago that was the command to use with Microsoft Link, but I suspect it's a difference in newer versions that we hadn't noticed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please note though, if you add /nopdbfile to ifort, you'll see the same thing, so at least we're consistent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;As to why 'debug' is being set automatically, is there a chance that you have IFXCFG defined to be a configuration file?&amp;nbsp; &amp;nbsp;I was unable to make this happen spontaneously without doing that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks -&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--Lorri&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 12:42:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435191#M163849</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2022-12-02T12:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435204#M163850</link>
      <description>&lt;P&gt;Thanks for your comments, Lorri. I do have an IFX.CFG file, but its contents do not specify linker flags.&lt;/P&gt;
&lt;P&gt;Ifort does not produce a PDB file even if &lt;STRONG&gt;/pdbfile:xyz&lt;/STRONG&gt; is specified unless &lt;STRONG&gt;/debug&lt;/STRONG&gt; or &lt;STRONG&gt;/Zi&lt;/STRONG&gt; is also specified. In contrast, IFX's behavior (dumping PDB files everywhere without being asked or even when asked not to) is a mild nuisance.&lt;/P&gt;
&lt;P&gt;Here are details about the contents of ifx.cfg and the environment:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;S:\ALGO\ODEPACK\HYB\npol\Morn\pol\p2\tbed&amp;gt;type "c:\Program Files (x86)\Intel\oneAPI\compiler\latest\\windows\bin\ifx.cfg"
/MD /traceback /Qxhost

S:\ALGO\ODEPACK\HYB\npol\Morn\pol\p2\tbed&amp;gt;set ifx
Environment variable ifx not defined
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 13:59:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435204#M163850</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-12-02T13:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435213#M163852</link>
      <description>&lt;P&gt;This gets curiouser and curiouser.&lt;/P&gt;
&lt;P&gt;It's the /traceback in&amp;nbsp; your ifx.cfg file.&lt;/P&gt;
&lt;P&gt;For some reason, that's enabling debug with ifx, not with ifort.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, what I suspect is that traceback support with ifx requires minimal debug info to be output in the object file but that ifx is incorrectly interpreting that as link-time debug as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for the additional info; I'll add it to our internal problem report and squash both things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 14:13:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435213#M163852</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2022-12-02T14:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435264#M163856</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;I'll add it to our internal problem report and squash both things.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Until then, you could add a post-build (or post link event): del /S NONE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 16:56:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435264#M163856</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-12-02T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435267#M163857</link>
      <description>&lt;P&gt;Thanks, Jim.&lt;/P&gt;
&lt;P&gt;I tried something similar, by using the option /pdbfile:nul, and was rewarded with having a file called nul.pdb. Should have worn a tinfoil hat first !&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 17:09:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1435267#M163857</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-12-02T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re:IFX generates unwanted PDB files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1585594#M171524</link>
      <description>&lt;P&gt;Those unwanted .pdb files created by ifx are gone with the latest release 2024.1.0. It was made available last week.&lt;/P&gt;&lt;P&gt;Please give it a try.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Apr 2024 17:12:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IFX-generates-unwanted-PDB-files/m-p/1585594#M171524</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2024-04-02T17:12:53Z</dc:date>
    </item>
  </channel>
</rss>

