<?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 in netCDF function in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536171#M168778</link>
    <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/89041"&gt;@JohnNichols&lt;/a&gt;, thank you. &amp;nbsp;The OP's problem is excusable. &amp;nbsp;Their counting analysis was correct and insightful. &amp;nbsp;The real problem was more subtle; API change and multiple versions lurking under the bridge. &amp;nbsp;A nice troll trap for novices. &amp;nbsp; &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Mfinnis's mistake was also understandable, with insufficiently labeled function prototypes plastered all over the internets. &amp;nbsp; &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I might not be a very good programmer. &amp;nbsp;I am still waiting for that second purpose and the accompanying money.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Oct 2023 16:31:34 GMT</pubDate>
    <dc:creator>Dave_Allured</dc:creator>
    <dc:date>2023-10-22T16:31:34Z</dc:date>
    <item>
      <title>Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535793#M168762</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think that I have recently link netCDF to my Fortran program (here is the link of the discussion &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/Include-netCDF-in-my-Fortran-projet/m-p/1531893#M168548" target="_blank"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/Include-netCDF-in-my-Fortran-projet/m-p/1531893#M168548&lt;/A&gt;). But here another challenge I have encountered "error #6784: The number of actual arguments cannot be greater than the number of dummy arguments. [NF90_OPEN]" after loading a file in my program, which is something bizarre since netCDF works fine. In [NF90_OPEN], I have passed 5 arguments which is less than the number of arguments that can be passed in&amp;nbsp;[NF90_OPEN], read section 2.6 of this document &lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;A href="https://docs.unidata.ucar.edu/netcdf-fortran/current/f90_datasets.html" target="_blank"&gt;https://docs.unidata.ucar.edu/netcdf-fortran/current/f90_datasets.html&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Can someone help me figure it out.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/75179"&gt;@mfinnis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lamine06F_0-1697792523840.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/47060i04E3CACF73559E13/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="Lamine06F_0-1697792523840.png" alt="Lamine06F_0-1697792523840.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 09:02:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535793#M168762</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-10-20T09:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535803#M168763</link>
      <description>&lt;P&gt;Regardless of the documentation, if you look at the library souce code the interface of nf90_open is&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;function nf90_open(path, mode, ncid, chunksize)
  character (len = *), intent(in   ) :: path
  integer,             intent(in   ) :: mode
  integer,             intent(  out) :: ncid
  integer, optional,   intent(inout) :: chunksize
  integer                            :: nf90_open&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 10:02:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535803#M168763</guid>
      <dc:creator>mfinnis</dc:creator>
      <dc:date>2023-10-20T10:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535901#M168764</link>
      <description>&lt;P&gt;So, where can I find this function (probably in NC4F.sln) and change it is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 15:53:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535901#M168764</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-10-20T15:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535924#M168765</link>
      <description>&lt;P&gt;Search for nf90_open in the solution but, no, it is not possible to change it - not in any meaningful way. I imagine the version you have is dictated by the version of netCDF binaries you have installed when configuring and generating the VS solution in CMake. I would try installing a dfferent version of&amp;nbsp;&lt;A href="https://downloads.unidata.ucar.edu/netcdf/" target="_self"&gt;https://downloads.unidata.ucar.edu/netcdf/&lt;/A&gt; and reconfiguring and building netcdff but it's not something I have done.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 16:44:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535924#M168765</guid>
      <dc:creator>mfinnis</dc:creator>
      <dc:date>2023-10-20T16:44:03Z</dc:date>
    </item>
    <item>
      <title>Re:Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535930#M168766</link>
      <description>&lt;P&gt;Hi Diallo, we are routing your query to the respective team for the further help. They will get back to you as soon as possible.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2023 17:12:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1535930#M168766</guid>
      <dc:creator>Vipin_S_Intel</dc:creator>
      <dc:date>2023-10-20T17:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536088#M168772</link>
      <description>&lt;P&gt;Ok, I will be waiting for you.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 17:36:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536088#M168772</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-10-21T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536096#M168773</link>
      <description>&lt;P&gt;I'm afraid you have missunderstood me. I was suggesting that you might try installing different netCDF libraries before rebuilding netcdff. Though, if it is not essential for you to read or write netCDF-4/HDF5 format files or to use parallel i/o I'd be inclined to stick with what you have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 19:25:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536096#M168773</guid>
      <dc:creator>mfinnis</dc:creator>
      <dc:date>2023-10-21T19:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536165#M168776</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/314425"&gt;@Lamine06F&lt;/a&gt;, it appears you are linking to the wrong version of Netcdf. &amp;nbsp;nf90_open has 4 arguments in netcdf-3, and 9 arguments in netcdf-4. &amp;nbsp;Your error message suggests you are linking to netcdf-3. &amp;nbsp;Please change to a recent version of netcdf-4.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 14:48:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536165#M168776</guid>
      <dc:creator>Dave_Allured</dc:creator>
      <dc:date>2023-10-22T14:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536168#M168777</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/75355"&gt;@Dave_Allured&lt;/a&gt;&amp;nbsp;, your last post brought a smile to my mind, and my face probably, the ability to count is best taught in preschool and if done properly has a 50% reduction in overall incarceration rates.&amp;nbsp; I listened to a lecture on this last week. I had counted the arguments in the posted pictures and your answer seems to provide the reason.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I love programmers who make changes to standard functions like open between releases. A classic example is the binary and other data now routinely stored in DXF files, which used to be easy to replicate in Fortran, but is now tedious.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Alan Perlis once said&lt;/P&gt;&lt;P&gt;I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don't think we are. I think we're responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun.&lt;/P&gt;&lt;P&gt;and also&lt;/P&gt;&lt;P&gt;Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one who finds the second usually makes the money.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 15:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536168#M168777</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-10-22T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536171#M168778</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/89041"&gt;@JohnNichols&lt;/a&gt;, thank you. &amp;nbsp;The OP's problem is excusable. &amp;nbsp;Their counting analysis was correct and insightful. &amp;nbsp;The real problem was more subtle; API change and multiple versions lurking under the bridge. &amp;nbsp;A nice troll trap for novices. &amp;nbsp; &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Mfinnis's mistake was also understandable, with insufficiently labeled function prototypes plastered all over the internets. &amp;nbsp; &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I might not be a very good programmer. &amp;nbsp;I am still waiting for that second purpose and the accompanying money.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 16:31:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536171#M168778</guid>
      <dc:creator>Dave_Allured</dc:creator>
      <dc:date>2023-10-22T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536174#M168779</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/75179"&gt;@mfinnis&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I resolved it after trying different combinations.&lt;/P&gt;&lt;P&gt;Thank really for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 17:47:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536174#M168779</guid>
      <dc:creator>Lamine06F</dc:creator>
      <dc:date>2023-10-22T17:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in netCDF function</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536182#M168781</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/75355"&gt;@Dave_Allured&lt;/a&gt;&amp;nbsp;, enjoyed the comments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The real problem is the money that is made from standard programs that stop growing and just charge a lot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The beauty of Fortran is we can avoid this pit in the road, because one can develop one's own code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course if you work at a large place, the IT will limit your options.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not that IT are bad, merely challenging.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 19:19:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-in-netCDF-function/m-p/1536182#M168781</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-10-22T19:19:34Z</dc:date>
    </item>
  </channel>
</rss>

