<?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 Need Help! An error when linking netcdf during compiling a MPI program on MIC in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Need-Help-An-error-when-linking-netcdf-during-compiling-a-MPI/m-p/919294#M13181</link>
    <description>&lt;P&gt;Friends:&lt;/P&gt;
&lt;P&gt;I met a compile error when I was trying to build an application on mic.&lt;/P&gt;
&lt;P&gt;I wanted to build a MPI program in fortran, which failed with an error as below:&lt;/P&gt;
&lt;P&gt;x86_64-k1om-linux-ld: skipping incompatible /usr/local/netcdf/lib/libnetcdf.a when searching for -lnetcdf&lt;BR /&gt;x86_64-k1om-linux-ld: cannot find -lnetcdf&lt;/P&gt;
&lt;P&gt;That meant the compiler can't get the netcdf linked correctly for the file libnetcdf.a is incompatible with the compilier. However, if I remove the compilie opition "-mmic", which means I want to get an version for cpu not mic, it will be successful. I don't know why!&lt;/P&gt;
&lt;P&gt;If any one of you has an ideal, help me, please!&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2013 07:53:32 GMT</pubDate>
    <dc:creator>Yuchen_Q_</dc:creator>
    <dc:date>2013-09-05T07:53:32Z</dc:date>
    <item>
      <title>Need Help! An error when linking netcdf during compiling a MPI program on MIC</title>
      <link>https://community.intel.com/t5/Software-Archive/Need-Help-An-error-when-linking-netcdf-during-compiling-a-MPI/m-p/919294#M13181</link>
      <description>&lt;P&gt;Friends:&lt;/P&gt;
&lt;P&gt;I met a compile error when I was trying to build an application on mic.&lt;/P&gt;
&lt;P&gt;I wanted to build a MPI program in fortran, which failed with an error as below:&lt;/P&gt;
&lt;P&gt;x86_64-k1om-linux-ld: skipping incompatible /usr/local/netcdf/lib/libnetcdf.a when searching for -lnetcdf&lt;BR /&gt;x86_64-k1om-linux-ld: cannot find -lnetcdf&lt;/P&gt;
&lt;P&gt;That meant the compiler can't get the netcdf linked correctly for the file libnetcdf.a is incompatible with the compilier. However, if I remove the compilie opition "-mmic", which means I want to get an version for cpu not mic, it will be successful. I don't know why!&lt;/P&gt;
&lt;P&gt;If any one of you has an ideal, help me, please!&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2013 07:53:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Need-Help-An-error-when-linking-netcdf-during-compiling-a-MPI/m-p/919294#M13181</guid>
      <dc:creator>Yuchen_Q_</dc:creator>
      <dc:date>2013-09-05T07:53:32Z</dc:date>
    </item>
    <item>
      <title>Apparently, you have a</title>
      <link>https://community.intel.com/t5/Software-Archive/Need-Help-An-error-when-linking-netcdf-during-compiling-a-MPI/m-p/919295#M13182</link>
      <description>&lt;P&gt;Apparently, you have a libnetcdf.a built for host but are missing the corresponding build with -mmic, which you would have to create yourself.&amp;nbsp; Several different ways of doing this should be found by a web search.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2013 12:34:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Need-Help-An-error-when-linking-netcdf-during-compiling-a-MPI/m-p/919295#M13182</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-09-05T12:34:12Z</dc:date>
    </item>
  </channel>
</rss>

