<?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: Installing netcdf-fortran in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301545#M156943</link>
    <description>&lt;P&gt;That "Installing NetCDF library in your computer" page pertains to an old version of NetCDF, i.e., 3.6.3. Contrary to what it says in its first paragraph, I think that you would be better off if you were able to find an Ifort-compatible prebuilt NetCDF (and dependencies such as HDF, SZIP) for your Mac and OS.&lt;/P&gt;
&lt;P&gt;You did not state which version of NetCDF you attempted to build from sources. The error message is actually from the preliminary "configure" phase, and not from the compilation phase.&lt;/P&gt;
&lt;P&gt;OneAPI was released less than a year ago; unless someone built NetCDF from source using a Mac and OneAPI already, you are probably at the "bleeding edge" of progress.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 12:16:24 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2021-07-27T12:16:24Z</dc:date>
    <item>
      <title>Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301354#M156934</link>
      <description>&lt;P&gt;I wanted to install netcdf-fortran on my Mac Big Sur and was wondering is there's any documentation which we need to follow for oneapi? I don't know in what path we need to install the library. Any help is appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was following this&amp;nbsp;&lt;A href="https://simplex.giss.nasa.gov/gcm/doc/UserGuide/Installing_NetCDF_library.html" target="_blank" rel="noopener"&gt;https://simplex.giss.nasa.gov/gcm/doc/UserGuide/Installing_NetCDF_library.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I compile it was giving me this error.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;configure: error: HDF5 was not built with API compatibility version v18. Please recompile your libhdf5 install using '--with-default-api-version=v18'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 18:51:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301354#M156934</guid>
      <dc:creator>ManishM</dc:creator>
      <dc:date>2021-07-26T18:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301545#M156943</link>
      <description>&lt;P&gt;That "Installing NetCDF library in your computer" page pertains to an old version of NetCDF, i.e., 3.6.3. Contrary to what it says in its first paragraph, I think that you would be better off if you were able to find an Ifort-compatible prebuilt NetCDF (and dependencies such as HDF, SZIP) for your Mac and OS.&lt;/P&gt;
&lt;P&gt;You did not state which version of NetCDF you attempted to build from sources. The error message is actually from the preliminary "configure" phase, and not from the compilation phase.&lt;/P&gt;
&lt;P&gt;OneAPI was released less than a year ago; unless someone built NetCDF from source using a Mac and OneAPI already, you are probably at the "bleeding edge" of progress.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 12:16:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301545#M156943</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2021-07-27T12:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301581#M156944</link>
      <description>&lt;P&gt;I tried other ways. Here's what I'm currently following.&amp;nbsp;&lt;A href="https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html" target="_blank"&gt;https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I configured and it was installed successfully but then I realized that it was installed for gfortran since I already had gfortran. When I uninstalled gfortran it throws an error that it can't find fortran compiler even though I specified the location of oneapi as FC=&lt;SPAN&gt;/opt/intel/oneapi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;configure: error: in `/Users/manish/Downloads/netcdf-fortran-4.5.3':&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;configure: error: Can't find F90 compiler.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 15:26:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301581#M156944</guid>
      <dc:creator>ManishM</dc:creator>
      <dc:date>2021-07-27T15:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301622#M156947</link>
      <description>&lt;P&gt;You did not have to uninstall Gfortran. The variable FC should evaluate to the name of the Fortran compiler driver, not the path. See&amp;nbsp;&lt;A href="https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html" target="_blank"&gt;https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html&lt;/A&gt;&amp;nbsp;for details. For Intel Fortran, FC should be set to &lt;EM&gt;ifort&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 17:36:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301622#M156947</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2021-07-27T17:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301705#M156948</link>
      <description>&lt;P&gt;For some reason it's only compiling with gfortran even though I have specified the FC=ifort&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# Compiling Options&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Fortran Compiler: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/usr/local/bin/gfortran&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FFLAGS: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-g -O2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LDFLAGS: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;AM_LDFLAGS:&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shared Library: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;yes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Static Library: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;yes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Extra libraries: &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;-lnetcdf -lm&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;These are the outputs I'm getting for the compiler. When I&amp;nbsp;uninstall and install netcdf-fortran, it throws an error saying there is no fortran compiler&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 00:42:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1301705#M156948</guid>
      <dc:creator>ManishM</dc:creator>
      <dc:date>2021-07-28T00:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Installing netcdf-fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1413219#M162736</link>
      <description>&lt;P&gt;Try to pass&amp;nbsp;&lt;EM&gt;FC, F77&lt;/EM&gt; and CC directly to the configure script via:&lt;/P&gt;
&lt;P&gt;CPPFLAGS=-I${NCDIR}/include LDFLAGS=-L${NCDIR}/lib FC=ifx F77=ifx CC=icx ./configure --prefix=${NFDIR} --disable-fortran-type-check&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should fix your issues.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 08:27:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Installing-netcdf-fortran/m-p/1413219#M162736</guid>
      <dc:creator>StephanRohr</dc:creator>
      <dc:date>2022-09-07T08:27:19Z</dc:date>
    </item>
  </channel>
</rss>

