<?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: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432545#M163683</link>
    <description>&lt;P&gt;Looking more closely at the DOS window (PNG attached) I noticed that a second ifort instance was initiated using an old BAT file that I had deleted.&amp;nbsp; The first ifort did not create an executable.&amp;nbsp; Please see the attached PNG file. I have not been able to locate any files with the second ifort command having the "/LINK static" option. Is there any possibility of the "/LINK static" command line being hidden within the Intel folder?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dennis&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 18:20:16 GMT</pubDate>
    <dc:creator>KKA</dc:creator>
    <dc:date>2022-11-23T18:20:16Z</dc:date>
    <item>
      <title>oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432495#M163678</link>
      <description>&lt;P&gt;The compile goes cleanly but the following messages are issued when compilation is completed:&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '/LINK'&lt;/P&gt;
&lt;P&gt;ifort:&amp;nbsp;command line warning #10161: unrecognized source type 'static'; object file assumed.&lt;/P&gt;
&lt;P&gt;ifort: error #10273: Fatal error in C:\PROGRA~2\Intel\oneAPI .........\bin\intel64\fortcom, terminated by 0xffffffd6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure will continues recompiling, issuing the first 2 ifort warning lines&amp;nbsp; above ('/LINK', and 'static'). Generating a ^C stops the compilation and the third ifort line is output. A series of DOS "Terminate the Batch job (Y/N)" responses must then be answered until a normal DOS command is reached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions for resolving this issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dennis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:19:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432495#M163678</guid>
      <dc:creator>KKA</dc:creator>
      <dc:date>2022-11-23T15:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432505#M163679</link>
      <description>&lt;P&gt;The option switches are case sensitive.&lt;/P&gt;
&lt;P&gt;/link is the proper switch, not /LINK&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error related to 'static' may be related to misuse of /LINK or possibly missing a ':' on /libs:static&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 15:54:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432505#M163679</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-11-23T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432510#M163680</link>
      <description>&lt;P&gt;I invoked the oneAPI 64 bit DOS window and issued the following command:&lt;/P&gt;
&lt;P&gt;ifort /Qopenmp /Qparallel /Qmkl /O3 HFE_118.f&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ifort used to compile and link as expected, but after reinstallation of oneAPI and VS2019, the output of the '/LINK' and 'static' warnings occur without producing an executable.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 16:04:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432510#M163680</guid>
      <dc:creator>KKA</dc:creator>
      <dc:date>2022-11-23T16:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432545#M163683</link>
      <description>&lt;P&gt;Looking more closely at the DOS window (PNG attached) I noticed that a second ifort instance was initiated using an old BAT file that I had deleted.&amp;nbsp; The first ifort did not create an executable.&amp;nbsp; Please see the attached PNG file. I have not been able to locate any files with the second ifort command having the "/LINK static" option. Is there any possibility of the "/LINK static" command line being hidden within the Intel folder?&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dennis&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 18:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432545#M163683</guid>
      <dc:creator>KKA</dc:creator>
      <dc:date>2022-11-23T18:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432589#M163685</link>
      <description>&lt;P&gt;As Jim says, the /link option is case-sensitve. What this does is tell the ifort driver that all options to the right of it are to be passed to the linker, not the compiler. Just the word "static" after /link is incorrect. If you want to force linking to the non-shared libraries, use /static as a compiler (not linker) option.&lt;/P&gt;
&lt;P&gt;There would not be anything Intel installed that would add that "static".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 20:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432589#M163685</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2022-11-23T20:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432607#M163690</link>
      <description>&lt;P&gt;Thanks Steve,&lt;/P&gt;
&lt;P&gt;I had the compile/link working properly a few weeks back. After I completed a repair on oneAPI and VS2019, any new attempts at compiling/linking invoke a bad batch file I had deleted which contained the invalid "/LINK static" code shown in the attached PNG file from my previous post. I cannot locate any source files with the "/LINK static" coding, which starts automatically after the first compilation is completed.&lt;/P&gt;
&lt;P&gt;I only issued the command "ifort /Qopenmp /Qparallel /Qmkl /O3 HFE_118.f"&lt;/P&gt;
&lt;P&gt;and the second "ifort" (shown on the PNG) starts automatically without the first compile/link generating an OBJ or EXE file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am totally confused how the "LINK static" command line is initiated, not once, but repeatedly with no intervention. I have to do a ^C to terminate the repeated compilations.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Dennis&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 21:15:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1432607#M163690</guid>
      <dc:creator>KKA</dc:creator>
      <dc:date>2022-11-23T21:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: oneAPI Fortran Build 2022 with VS2019. '/LINK' problem.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1433600#M163745</link>
      <description>&lt;P&gt;Thanks Jim &amp;amp; Steve&lt;/P&gt;
&lt;P&gt;I was not aware that the switches were cases sensitive. I finally found the problem -- I had a batch file named LINK.BAT which the compiler was reading after each compile and kept cycling forever.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dennis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 14:07:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/oneAPI-Fortran-Build-2022-with-VS2019-LINK-problem/m-p/1433600#M163745</guid>
      <dc:creator>KKA</dc:creator>
      <dc:date>2022-11-28T14:07:24Z</dc:date>
    </item>
  </channel>
</rss>

