<?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: Cannot find ifconsol.lib in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881848#M75495</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; You should not have to add the linker path in ifort.cfg - that isn't needed at all. Why it's there is a mystery to me.&lt;BR /&gt;&lt;BR /&gt;It might be useful to add "-link -verbose" to the end of the ifort command line to see what the linker is seeing. I'm not at all familiar with this environment.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
This is for the case where multiple active build environments causes ifort to invoke the wrong link when ifort.cfg isn't set up. That's not happening in the setup shown in this case, but I'm raising the possibility that changing the setup may fix the forward slash problem but raise the link path problem.&lt;BR /&gt;The multiple build environment case isn't supported by ifort, but there's usually a way to make it work so that ifort doesn't get sidetracked by the other environment.&lt;BR /&gt;There's also a possibility, when the library path is set up to the liking of Microsoft link, that the "foreign" shell will warn about the presence of the backslashed paths which we need for ifort/link.&lt;BR /&gt;</description>
    <pubDate>Fri, 12 Jun 2009 18:05:27 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2009-06-12T18:05:27Z</dc:date>
    <item>
      <title>Cannot find ifconsol.lib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881845#M75492</link>
      <description>I am trying to produce an executable of the usual "Hello world!" program below using the Intel Fortran 11.0.072 compiler.
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;program test&lt;BR /&gt; print *, 'Hello world!!!'&lt;BR /&gt; stop&lt;BR /&gt; end&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;The environment being used is the small Unix MSYS/MinGW environment which is installed under x64 Vista Ultimate on a Xeon chip. Microsoft Visual Studio 2008 is also installed. Other Fortran compilers thrive in this environment.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;The results when trying to compile and link the Fortran code are:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;[msys] /home/bill/Temp&amp;gt; ifort -o test.ext test.f&lt;BR /&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.0    Build 20090131 Package ID: w_cprof_p_11.0.072&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;-out:test.ext &lt;BR /&gt;-subsystem:console &lt;BR /&gt;test.obj &lt;BR /&gt;LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;This is very strange because this library is in the PATH and LIB variables.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;[msys] /home/bill/Temp&amp;gt; which ifconsol.lib&lt;BR /&gt;/e/Intel-Fortran-11.0/Intel/Compiler/11.0/072/fortran/lib/ia32/ifconsol.lib&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;[msys] /home/bill/Temp&amp;gt; echo $LIB&lt;BR /&gt;E:\Intel-Fortran-11.0\Intel\Compiler\11.0\072\fortran\lib\ia32:/e/Microsoft Visual Studio 9.0/VC/lib&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Can someone please help me to find a solution to this problem? Thanks.&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jun 2009 15:14:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881845#M75492</guid>
      <dc:creator>wteeters</dc:creator>
      <dc:date>2009-06-12T15:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find ifconsol.lib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881846#M75493</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/431865"&gt;wteeters&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;[msys] /home/bill/Temp&amp;gt; ifort -o test.ext test.f&lt;BR /&gt;&lt;EM&gt;
&lt;DIV&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.0    Build 20090131 Package ID: w_cprof_p_11.0.072&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.21022.08&lt;BR /&gt;Copyright (C) Microsoft Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;-out:test.ext &lt;BR /&gt;-subsystem:console &lt;BR /&gt;test.obj &lt;BR /&gt;LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;This is very strange because this library is in the PATH and LIB variables.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;[msys] /home/bill/Temp&amp;gt; which ifconsol.lib&lt;BR /&gt;/e/Intel-Fortran-11.0/Intel/Compiler/11.0/072/fortran/lib/ia32/ifconsol.lib&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;[msys] /home/bill/Temp&amp;gt; echo $LIB&lt;BR /&gt;E:Intel-Fortran-11.0IntelCompiler11.0&amp;#0;72fortranlibia32:/e/Microsoft Visual Studio 9.0/VC/lib&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
2nd attempt to post a comment (my take on this):&lt;BR /&gt;Microsoft link doesn't understand the forward slashed paths.&lt;BR /&gt;I don't know whether msys (which some say is an obsolete fork from cygwin) behaves the same as cygwin. With cygwin, if you first open the ifort command window from the start menu, then execute the .bat file which starts up the new shell, you avoid this problem. You may need then to add the Microsoft linker path in ifort.cfg.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 17:18:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881846#M75493</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-12T17:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find ifconsol.lib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881847#M75494</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
You should not have to add the linker path in ifort.cfg - that isn't needed at all. Why it's there is a mystery to me.&lt;BR /&gt;&lt;BR /&gt;It might be useful to add "-link -verbose" to the end of the ifort command line to see what the linker is seeing. I'm not at all familiar with this environment.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 17:30:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881847#M75494</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-06-12T17:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot find ifconsol.lib</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881848#M75495</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; You should not have to add the linker path in ifort.cfg - that isn't needed at all. Why it's there is a mystery to me.&lt;BR /&gt;&lt;BR /&gt;It might be useful to add "-link -verbose" to the end of the ifort command line to see what the linker is seeing. I'm not at all familiar with this environment.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
This is for the case where multiple active build environments causes ifort to invoke the wrong link when ifort.cfg isn't set up. That's not happening in the setup shown in this case, but I'm raising the possibility that changing the setup may fix the forward slash problem but raise the link path problem.&lt;BR /&gt;The multiple build environment case isn't supported by ifort, but there's usually a way to make it work so that ifort doesn't get sidetracked by the other environment.&lt;BR /&gt;There's also a possibility, when the library path is set up to the liking of Microsoft link, that the "foreign" shell will warn about the presence of the backslashed paths which we need for ifort/link.&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 18:05:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-find-ifconsol-lib/m-p/881848#M75495</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-12T18:05:27Z</dc:date>
    </item>
  </channel>
</rss>

