<p dir="ltr">I read somewhere in the internet that starting from version 4, every time you want to use libnetcdf, you &#39;must&#39; also call libnetcdff. I experienced often if error messages such as <br>
... undefined reference nf_ ... (pay attention to nf_)<br>
that indicates that libnetcdff is needed for compilation..</p>
<div class="gmail_quote">On May 10, 2014 1:08 AM, &quot;Krishna Kishore&quot; &lt;<a href="mailto:osurikishore@gmail.com">osurikishore@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-size:12px;color:#777;font-family:&#39;Lucida Grande&#39;,Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" width="64px" style="margin-left:0px;border:none"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=17194790506&amp;tc_rand=2095520458&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="mailto:osurikishore@gmail.com" target="_blank">osurikishore@gmail.com</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DgyjO6I6QGxTVgX2vv4Q819N2vf7zfjy4pdG9uCeybmdefFi5WcByngF74bgkp9CM1QNXIVyxaSJkztRsT7PqjFzbKR0sdCYv6V4jyeVComgzwxIB23O3xwGmQmttZL1J80LrWANF4RThOZes61bW1A%253D%253D%26key%3DNl2xUW3MsxEKWq9e0OVSfWrXTFaTmQPF0sbXLP76HF8%253D&amp;tc_serial=17194790506&amp;tc_rand=2095520458&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=17194790506&amp;tc_rand=2095520458&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">it is a fortran-netcdf library.</div><div class="gmail_default"><font color="#0b5394" face="verdana, sans-serif"><a href="https://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp" target="_blank">https://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp</a></font><br>

</div><div class="gmail_default"><font color="#0b5394" face="verdana, sans-serif">See this link.</font></div><div class="gmail_default"><font color="#0b5394" face="verdana, sans-serif">Good luck</font></div><div class="gmail_extra">

<br clear="all"><div><div dir="ltr"><div><font face="verdana, sans-serif" color="#0b5394"><b style="background-color:rgb(255,255,255)">Krishna</b></font></div><div><br></div></div></div>
<br><br><div class="gmail_quote">On Fri, May 9, 2014 at 10:48 AM, luis del castillo <span dir="ltr">&lt;<a href="mailto:luis.delcastillo@cathalac.int" target="_blank">luis.delcastillo@cathalac.int</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="ES-PA" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks Dmitry but I get this
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">/usr/bin/ld: cannot find –lnetcdff<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I try to google it but I cant find nothing about a library lnetcdff instead I found a lot about lnetcdf as library.<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Any Ideas.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> Dmitry N. Mikushin [mailto:<a href="mailto:maemarcus@gmail.com" target="_blank">maemarcus@gmail.com</a>]
<br>
<b>Sent:</b> viernes, 09 de mayo de 2014 9:41 a. m.<br>
<b>To:</b> luis del castillo<br>
<b>Cc:</b> <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
<b>Subject:</b> Re: [Wrf-users] Compiling Error<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">mpif90 -f90=pgf90 -o wrf.exe  -O3  -w -Mfree -byteswapio     wrf.o ../main/module_wrf_top.o libwrflib.a /home/wrf/WRF/WRFV3/external/fftpack/fftpack5/libfftpack.a /home/wrf/WRF/WRFV3/external/io_grib1/libio_grib1.a
 /home/wrf/WRF/WRFV3/external/io_grib_share/libio_grib_share.a /home/wrf/WRF/WRFV3/external/io_int/libwrfio_int.a -L/home/wrf/WRF/WRFV3/external/esmf_time_f90 -lesmf_time /home/wrf/WRF/WRFV3/external/RSL_LITE/librsl_lite.a /home/wrf/WRF/WRFV3/frame/module_internal_header_util.o
 /home/wrf/WRF/WRFV3/frame/pack_utils.o  -L/home/wrf/WRF/WRFV3/external/io_netcdf -lwrfio_nf -L/usr/local/netcdf/4.3.0/pgi/13.5/lib  -lnetcdf     
<br>
libwrflib.a(track_driver.o): In function `write_track_&#39;:<br>
/home/wrf/WRF/WRFV3/share/./track_driver.f90:288: undefined reference to `nf_create_&#39;<br>
<br>
You&#39;re linking libnetcdf, which is a C version of NetCDF, while WRF needs Fortran version - libnetcdff. Instead of -lnetcdf, try to do -lnetcdff -lnetcdf.<u></u><u></u></p>
</div>
<p class="MsoNormal">- D.<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2014-05-08 23:31 GMT+02:00 luis del castillo &lt;<a href="mailto:luis.delcastillo@cathalac.int" target="_blank">luis.delcastillo@cathalac.int</a>&gt;:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Good afternoon people… I am trying to compile the WRF 3.5.1 using netcdf4.3.0 and fortran 2013. In this email you can find two files one with all the environmental
 variables and the second one has all the compiling log.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal">Thanks
<u></u><u></u></p>
<p class="MsoNormal">Luis Alejandro Del Castillo Riley<u></u><u></u></p>
<p class="MsoNormal">CATHALAC
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu" target="_blank">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu" target="_blank">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div>