<?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 Build errors with ifort in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960397#M94557</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;After hours of googling, I decide to give up and ask the experts! I am trying to compile a fortran code using ifort on CentOS6.4.&lt;BR /&gt;&lt;BR /&gt;I have installed all the pre-requisites for intel fortan.&lt;BR /&gt;&lt;BR /&gt;Following is the error I am getting:&lt;BR /&gt;make -f makefile&lt;BR /&gt;ifort -o ./p2s2 -O2 -xW -static -traceback p2s2.o read_spray_data.o sector.o beam.o cylin.o mktrac.o spray_wall.o in_cylin.o wall_evapo.o part.o idle.o drop_evapo.o point_info.o dia_distri.o char_sub.o sector_incylin.o user_func2.o xy-sec_info.o r_info.o gross_evapo.o&lt;BR /&gt;ifort: command line remark #10279: option '-xW' is deprecated and will be removed in a future release. See '-help deprecated'&lt;BR /&gt;ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..//libm.a when searching for -lm&lt;BR /&gt;ld: skipping incompatible /usr/lib/libm.a when searching for -lm&lt;BR /&gt;ld: skipping incompatible /usr/lib/libm.a when searching for -lm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know how to resolve this issue. I am new to using linux systems, any help is greatly appriciated, I looked at other threads but didn't get how to change the environment variables.&lt;/P&gt;
&lt;P&gt;which ifort &lt;BR /&gt;/opt/intel/composer_xe_2013.5.192/bin/intel64/ifort&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2013 17:39:20 GMT</pubDate>
    <dc:creator>yfort</dc:creator>
    <dc:date>2013-07-25T17:39:20Z</dc:date>
    <item>
      <title>Build errors with ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960397#M94557</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;After hours of googling, I decide to give up and ask the experts! I am trying to compile a fortran code using ifort on CentOS6.4.&lt;BR /&gt;&lt;BR /&gt;I have installed all the pre-requisites for intel fortan.&lt;BR /&gt;&lt;BR /&gt;Following is the error I am getting:&lt;BR /&gt;make -f makefile&lt;BR /&gt;ifort -o ./p2s2 -O2 -xW -static -traceback p2s2.o read_spray_data.o sector.o beam.o cylin.o mktrac.o spray_wall.o in_cylin.o wall_evapo.o part.o idle.o drop_evapo.o point_info.o dia_distri.o char_sub.o sector_incylin.o user_func2.o xy-sec_info.o r_info.o gross_evapo.o&lt;BR /&gt;ifort: command line remark #10279: option '-xW' is deprecated and will be removed in a future release. See '-help deprecated'&lt;BR /&gt;ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..//libm.a when searching for -lm&lt;BR /&gt;ld: skipping incompatible /usr/lib/libm.a when searching for -lm&lt;BR /&gt;ld: skipping incompatible /usr/lib/libm.a when searching for -lm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know how to resolve this issue. I am new to using linux systems, any help is greatly appriciated, I looked at other threads but didn't get how to change the environment variables.&lt;/P&gt;
&lt;P&gt;which ifort &lt;BR /&gt;/opt/intel/composer_xe_2013.5.192/bin/intel64/ifort&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:39:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960397#M94557</guid>
      <dc:creator>yfort</dc:creator>
      <dc:date>2013-07-25T17:39:20Z</dc:date>
    </item>
    <item>
      <title>The commands issued by make</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960398#M94558</link>
      <description>&lt;P&gt;The commands issued by make show none for compilation and one command for linking, which failed because there is an apparent mismatch between 32-bit and 64-bit objects and libraries.&lt;/P&gt;
&lt;P&gt;How were the *.o files compiled? All using Intel Fortran? Some mix of Gcc/GFortran and Intel Fortran? Were they compiled for 32-bit or 64-bit?&lt;/P&gt;
&lt;P&gt;Did you use the command environment spawned by running "&lt;STRONG&gt;.&lt;/STRONG&gt;&amp;nbsp;/opt/intel/composer_xe_2013.5.192/bin/ifortvars.sh ia32"?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 17:49:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960398#M94558</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-07-25T17:49:38Z</dc:date>
    </item>
    <item>
      <title>Thank you for responding!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960399#M94559</link>
      <description>&lt;P&gt;Thank you for responding!&lt;/P&gt;
&lt;P&gt;How were the *.o files compiled? All using Intel Fortran? - Yes all were complied by Intel Fortran composerxe2011&lt;/P&gt;
&lt;P&gt;Were they compiled for 32-bit or 64-bit? - Yes they were complied on 64bit version&lt;/P&gt;
&lt;P&gt;I used -&amp;gt; source /opt/intel/composer_xe_2013.5.192/bin/compilervars.sh intel64&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:21:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960399#M94559</guid>
      <dc:creator>yfort</dc:creator>
      <dc:date>2013-07-25T18:21:40Z</dc:date>
    </item>
    <item>
      <title>Thanks. It would help if you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960400#M94560</link>
      <description>&lt;P&gt;Thanks. It would help if you could display the value of LD_LIBRARY_PATH (type "echo $LD_LIBRARY_PATH" in the IFort shell).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:33:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960400#M94560</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-07-25T18:33:44Z</dc:date>
    </item>
    <item>
      <title>Hi Mecej4, thanks a lot!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960401#M94561</link>
      <description>&lt;P&gt;Hi Mecej4, thanks a lot!&lt;/P&gt;
&lt;P&gt;These are the runtime lib for 2011 version&lt;/P&gt;
&lt;P&gt;echo $LD_LIBRARY_PATH&lt;BR /&gt;/lib/composerxe-2011/intel64&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:52:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960401#M94561</guid>
      <dc:creator>yfort</dc:creator>
      <dc:date>2013-07-25T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Among the problems would be</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960402#M94562</link>
      <description>&lt;P&gt;Among the problems would be that a basic CentOS6 installation of g++ would not include the libraries required by your -static option.&amp;nbsp; If you can build without -static but still want to build with -static, you will need to find corresponding 64-bit .a libraries.&lt;/P&gt;
&lt;P&gt;An intermediate choice would be -static-intel, which will choose the static libraries provided with ifort.&amp;nbsp; Then you could try -static-libgcc which would require .a versions of files which come with g++,&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2013 19:54:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960402#M94562</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-07-25T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Yup, that was the exact</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960403#M94563</link>
      <description>&lt;P&gt;Yup, that was the exact problem thanks all for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2013 20:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Build-errors-with-ifort/m-p/960403#M94563</guid>
      <dc:creator>yfort</dc:creator>
      <dc:date>2013-07-29T20:15:40Z</dc:date>
    </item>
  </channel>
</rss>

