<?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: Error while compilation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348364#M159142</link>
    <description>&lt;LI-CODE lang="none"&gt;C:\tmp&amp;gt;ifort -c -traceback -4Yportlib -fp:precise -assume:byterecl,buffered_io -QXSSE2 -W -WB -fpp -DPCWIN -DINTEL - DIA64 -DAMD64 -DWINX64 -DNET_SECURITY -DXEON64 -DLSTCODE -DLONGFORMAT -DOPENMP -Qopenmp -DAUTODOUBLE -4R8 -418 couple2ot her_user.F
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

ifort: command line warning #10006: ignoring unknown option '/QXSSE2'
ifort: command line error: option '/W' is ambiguous&lt;/LI-CODE&gt;
&lt;P&gt;there were some other errors due to spaces being or no spaces but maybe on linux there space is not needed or ignored (I am on windows)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jan 2022 13:02:03 GMT</pubDate>
    <dc:creator>andrew_4619</dc:creator>
    <dc:date>2022-01-04T13:02:03Z</dc:date>
    <item>
      <title>Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348319#M159135</link>
      <description>&lt;P class="sub_section_element_selectors"&gt;Hello,&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;I am a student using LS-Dyna&amp;nbsp; object files and I get the error while compliling nmake.exe. I have already installed intel OneAPI Base tool kit and Intel HPC tool tik with fortran compiler 2021. I get this error&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;H:\&amp;gt;cd object files 2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;H: \object files 2&amp;gt;nmake&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;(Microsoft (R) Program Maintenance Utility Version 6.00.8168.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Copyright (C) Microsoft Corp 1988-1998. All rights reserved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;ifort -c-traceback -4Yportlib -fp:precise - assume: byterecl,buffered_io -QXSSE2 -W -WB -fpp -DPCWIN -DINTEL - DIA64 -DAMD64 -DWINX64 -DNET_SECURITY -DXEON64 -DLSTCODE -DLONGFORMAT -DOPENMP -Qopenmp -DAUTODOUBLE -4R8 -418 couple2ot her_user.F&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;'ifort' is not recognized as an internal or external command, operable program or batch file. .NMAKE : fatal error U1077: 'ifort' : return code 'ox1' Stop.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN class="sub_section_element_selectors"&gt;Please let me know how to solve this error. Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 10:28:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348319#M159135</guid>
      <dc:creator>rbhatt19</dc:creator>
      <dc:date>2022-01-04T10:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348324#M159136</link>
      <description>&lt;P&gt;Have you set up the Intel Fortran environment? The start menu ought to contain an entry for starting a command window with the environment set up for Intel oneAPI.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 10:39:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348324#M159136</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2022-01-04T10:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348349#M159138</link>
      <description>&lt;P&gt;As Arjen says pick the 32 or 64 bit CMD prompt from the start menu&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrew_4619_0-1641297735410.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/25299iDE034B538A5C1153/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="andrew_4619_0-1641297735410.png" alt="andrew_4619_0-1641297735410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 12:02:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348349#M159138</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2022-01-04T12:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348355#M159139</link>
      <description>&lt;P&gt;yes I am doing exactly that, I am not sure about setting up&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Intel Fortran environment. I open the Intel oneAPI commpand prompt show by you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It shows me that intel fortran compiler 2021 is installed and visual studio is also detected by the compiler.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But when I try to type "nmake" it shows me error&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 12:19:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348355#M159139</guid>
      <dc:creator>rbhatt19</dc:creator>
      <dc:date>2022-01-04T12:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348358#M159140</link>
      <description>&lt;P&gt;Can it be that the makefile you are running redefines the environment? What happens if you run a very simple one, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;hello.exe: hello.f90
    ifort hello.f90&lt;/LI-CODE&gt;
&lt;P&gt;or something to that effect. Maybe even simply print the environment (use the "set" command) instead of an invocation of the compiler&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 12:26:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348358#M159140</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2022-01-04T12:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348363#M159141</link>
      <description>&lt;P&gt;open the cmd prompt and type ifort, if that works it is a script problem like Arjen suggests. You could also try cut / paste of the ifort command that is in your script.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 12:52:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348363#M159141</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2022-01-04T12:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348364#M159142</link>
      <description>&lt;LI-CODE lang="none"&gt;C:\tmp&amp;gt;ifort -c -traceback -4Yportlib -fp:precise -assume:byterecl,buffered_io -QXSSE2 -W -WB -fpp -DPCWIN -DINTEL - DIA64 -DAMD64 -DWINX64 -DNET_SECURITY -DXEON64 -DLSTCODE -DLONGFORMAT -DOPENMP -Qopenmp -DAUTODOUBLE -4R8 -418 couple2ot her_user.F
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000
Copyright (C) 1985-2021 Intel Corporation.  All rights reserved.

ifort: command line warning #10006: ignoring unknown option '/QXSSE2'
ifort: command line error: option '/W' is ambiguous&lt;/LI-CODE&gt;
&lt;P&gt;there were some other errors due to spaces being or no spaces but maybe on linux there space is not needed or ignored (I am on windows)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 13:02:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348364#M159142</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2022-01-04T13:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348367#M159143</link>
      <description>&lt;P&gt;If I replace -W with -W0 it gives:&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '/QXSSE2'&lt;BR /&gt;fpp: fatal: can't fopen file: her_user.F&lt;/P&gt;
&lt;P&gt;Which you would expect because I don't have the source file.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 13:11:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348367#M159143</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2022-01-04T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348368#M159144</link>
      <description>&lt;P&gt;To RBhatt19:&lt;/P&gt;
&lt;P&gt;There is something amiss with respect to the version and date of the Nmake utility. What you showed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is for a very old (harking back to the Compaq/Digital Fortran days?) version. Do you happen to have CVF installed on your PC?&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; corresponding lines for the VS2019 that I have are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Microsoft (R) Program Maintenance Utility Version 14.28.29334.0
Copyright (C) Microsoft Corporation.  All rights reserved.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that your environment is misconfigured in some way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For starters, before attempting to run LSDyna, Abaqus or any such software package, verify that you can build and run tiny "Hello World!" programs in C and Fortran. Only when you succeed in doing so should you attempt to use Intel Fortran with the FEA or other analysis package.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:44:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348368#M159144</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-01-04T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348370#M159145</link>
      <description>&lt;P&gt;Andrew_4619 posted:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifort: command line warning #10006: ignoring unknown option '/QXSSE2'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The 'x' in the option string /QxSSE2 should be lower case.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 14:43:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348370#M159145</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-01-04T14:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348462#M159152</link>
      <description>&lt;P&gt;Hello I reinstalled the latest version. Now the form of error has changed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;H:\object_2files&amp;gt;ifort nmake&lt;BR /&gt;Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000&lt;BR /&gt;Copyright (C) 1985-2021 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10161: unrecognized source type 'nmake'; object file assumed&lt;BR /&gt;ipo: error #11018: Cannot open nmake&lt;BR /&gt;Microsoft (R) Incremental Linker Version 14.16.27045.0&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;-out:nmake.exe&lt;BR /&gt;-subsystem:console&lt;BR /&gt;nmake&lt;BR /&gt;LINK : fatal error LNK1104: cannot open file 'nmake.exe'&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:57:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348462#M159152</guid>
      <dc:creator>rbhatt19</dc:creator>
      <dc:date>2022-01-04T19:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348465#M159153</link>
      <description>&lt;P&gt;The previous error I got when I changed the extension of Fortran files from .f to .f90 (I suppose for the latest version of compiler it was better to use fortran 90 files rather than old fortran77)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error I get if I do not change anything in the object file ( fortran files with .f extension)&lt;/P&gt;
&lt;P&gt;H:\object files 2&amp;gt;nmake&lt;/P&gt;
&lt;P&gt;Microsoft (R) Program Maintenance Utility Version 6.00.8168.0&lt;BR /&gt;Copyright (C) Microsoft Corp 1988-1998. All rights reserved.&lt;/P&gt;
&lt;P&gt;ifort -c -traceback -4Yportlib -fp:precise -assume:byterecl,buffered_io -QxSSE2 -w -WB -fpp -DPCWIN -DINTEL -DIA64 -DAMD64 -DWINX64 -DNET_SECURITY -DXEON64 -DLSTCODE -DLONGFORMAT -DOPENMP -Qopenmp -DAUTODOUBLE -4R8 -4I8 dyn21cnt.F&lt;BR /&gt;Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.4.0 Build 20210910_000000&lt;BR /&gt;Copyright (C) 1985-2021 Intel Corporation. All rights reserved.&lt;/P&gt;
&lt;P&gt;error: can't open file dyn21cnt.obj for write&lt;BR /&gt;compilation aborted for dyn21cnt.F (code 1)&lt;BR /&gt;NMAKE : fatal error U1077: 'ifort' : return code '0x1'&lt;BR /&gt;Stop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 20:04:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348465#M159153</guid>
      <dc:creator>rbhatt19</dc:creator>
      <dc:date>2022-01-04T20:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348493#M159155</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;error: can't open file dyn21cnt.obj for write&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This implies the output folder is write protected (or that there is an older version of this file that is write protected).&lt;/P&gt;
&lt;P&gt;Also, I think that SSE4 is the lowest instruction set supported. I suggest you remove the -QxSSE2 option (default is SSE4).&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 20:50:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348493#M159155</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2022-01-04T20:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348627#M159168</link>
      <description>&lt;P&gt;You are trying to compile a source file called "nmake" with this command. While you are free to name your source files as you want, this is probably not what you intended ;).&lt;/P&gt;
&lt;P&gt;Fortran source files have an extension .f or .f90 usually (there is some variation) but it is the contents or rather the form that counts: the old fixed form is usually associated with the extension .f and the newer free form is associated with .f90 (you can tell the compiler however that a source file is one or the other form independent of the extension via an option). Merely renaming a file from xxx.f to xxx.f90 does not change the contents and is in most cases not enough to make the compiler treat it as a correct free-form source file.&lt;/P&gt;
&lt;P&gt;Consult any textbook on Fortran (instead of FORTRAN) for the differences.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 07:20:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348627#M159168</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2022-01-05T07:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error while compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348727#M159171</link>
      <description>&lt;P&gt;I'll also comment that nmake, the tool, is part of Microsoft Visual Studio and not the Intel product. One normally does not combine nmake with a build from within Visual Studio, but rather it is used from a command prompt.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 14:47:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-while-compilation/m-p/1348727#M159171</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2022-01-05T14:47:28Z</dc:date>
    </item>
  </channel>
</rss>

