<?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: mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1380332#M161106</link>
    <description>&lt;P&gt;Many thanks. I find that &lt;EM&gt;export FC='mpiifort -fc=ifort' &lt;/EM&gt;really works, although I don't find some&amp;nbsp;clues that claim to use &lt;EM&gt;gfortran &lt;/EM&gt;wrapper for&lt;EM&gt; mpiifort&lt;/EM&gt;&amp;nbsp;in the configure file. And I get a *.mod with intel compiler now. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 07:21:28 GMT</pubDate>
    <dc:creator>RyanOcean</dc:creator>
    <dc:date>2022-04-28T07:21:28Z</dc:date>
    <item>
      <title>mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379223#M161066</link>
      <description>&lt;P&gt;Dear Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using intel compiler 2018 and installing NETCDF-C-4.8.1 and NETCDF-F.4.5.2. I set CC=mpiicc FC=mpiifort F77=mpiifort F90=mpiifort. And I successfully built and generated the netcdf.mod file. However, the first line of netcdf.mod shows that &lt;EM&gt;GFORTRAN module version '10' created from netcdf4.f90.&amp;nbsp;&lt;/EM&gt;And this leads a downstream software using mpiifort fail to link the netcdf.mod. My question is, why does mpiifort generate a netcdf.mod with&amp;nbsp;GFORTRAN module version? Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish you good,&lt;/P&gt;
&lt;P&gt;RyanOcean&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 02:36:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379223#M161066</guid>
      <dc:creator>RyanOcean</dc:creator>
      <dc:date>2022-04-23T02:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379542#M161077</link>
      <description>&lt;P&gt;mpiifort does not create gfortran mod files by default.&amp;nbsp; Something in the NETCDF build system must be in error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can capture the make with VERBOSE perhaps it will show the issue.&amp;nbsp; For example, if mpiifort is given a bad argument like&lt;/P&gt;
&lt;P&gt;mpiifort -fc=gfortran&lt;/P&gt;
&lt;P&gt;is one way mpiifort can call gfortran instead of ifort.&amp;nbsp; you may try&lt;/P&gt;
&lt;P&gt;export FC='mpiifort -fc=ifort'&lt;/P&gt;
&lt;P&gt;same for F90, F77.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what I am telling you is this:&amp;nbsp; the default for mpiifort is to use ifort.&amp;nbsp; It can invoke gfortran if FC is set incorrectly to gfortran.&amp;nbsp; You'll have to dig around to find where their build is running amok&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:43:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379542#M161077</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2022-04-25T15:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379575#M161079</link>
      <description>&lt;P&gt;It is possible that the Gfortran .mod file was generated by using &lt;STRONG&gt;make&lt;/STRONG&gt;, which used Gfortran as the Fortran compiler according to its implicit rules for .f90 source files. That make procedure may have failed in a step after the production of the .mod file, and failing to find a rule for deleting such files (possibly as part of &lt;STRONG&gt;make clean&lt;/STRONG&gt;), would leave behind the mod file. That mod file could become a nuisance later.&lt;/P&gt;
&lt;P&gt;In other words, the mere presence of a module file does not justify the claim "&lt;SPAN&gt;I successfully built and generated the netcdf.mod file".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:10:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1379575#M161079</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2022-04-25T17:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1380332#M161106</link>
      <description>&lt;P&gt;Many thanks. I find that &lt;EM&gt;export FC='mpiifort -fc=ifort' &lt;/EM&gt;really works, although I don't find some&amp;nbsp;clues that claim to use &lt;EM&gt;gfortran &lt;/EM&gt;wrapper for&lt;EM&gt; mpiifort&lt;/EM&gt;&amp;nbsp;in the configure file. And I get a *.mod with intel compiler now. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 07:21:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1380332#M161106</guid>
      <dc:creator>RyanOcean</dc:creator>
      <dc:date>2022-04-28T07:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: mpiifort build NETCDF-f and generate netcdf.mod but it is shown by gfortran10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1380333#M161107</link>
      <description>&lt;P&gt;Many thanks! I understand your ideas. After&amp;nbsp;&lt;EM&gt;export FC='mpiifort -fc=ifort',&amp;nbsp;&lt;/EM&gt;I got a *.mod file with intel compiler.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 07:23:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/mpiifort-build-NETCDF-f-and-generate-netcdf-mod-but-it-is-shown/m-p/1380333#M161107</guid>
      <dc:creator>RyanOcean</dc:creator>
      <dc:date>2022-04-28T07:23:34Z</dc:date>
    </item>
  </channel>
</rss>

