Hi,<br><br>Perhaps this would work (or not):<br><br>Create your own NetCDF directory and simply have links, with the proper names that point to the include and library directories that have the wrong names. Then have $NETCDF point to your directory.<br>

<br>mkdir myNetcdf<br>cd myNetcdf<br>ln -s /usr/include/netcdf-3/ include<br>ln -s /usr/lib64 lib<br>export NETCDF=`pwd`<br><br>If it works, perhaps you could reply to the group. It seems like a problems others might encounter. Otherwise, folks have to compile their own NetCDF libraries just to get the correct directory structure. If it doesn&#39;t work - sorry &#39;bout that.<br>

<br>Kevin<br><br><div class="gmail_quote">On Sat, Feb 12, 2011 at 4:15 AM, Dmitry Vinokurov <span dir="ltr">&lt;<a href="mailto:df6.626@gmail.com">df6.626@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi!<br><br>I&#39;m trying to compile WRF 3.2.1 on CentOS 5.5 (netcdf packages from rep) and get following error after ./configure:<br>----<br>grep: /usr/include/netcdf.inc: No such file or directory<br>----<br>NETCDF environment variable is set to &quot;/usr&quot;, so as I understand WRF expect includes to be in &quot;${NETCDF}/include&quot; etc.<br>


<br>Actually grep is right, there is no such file &quot;/usr/include/netcdf.inc&quot;, NetCDF includes are located in &quot;/usr/include/netcdf-3/&quot; and libraries are in &quot;/usr/lib64&quot;.<br><br>The question is: is it possible to set separate paths for NetCDF includes and libraries? For example, Jasper uses $JASPERINC and $JASPERLIB variables and I think it&#39;ll be nice to work with NetCDF in the same way.<br>


<br>Thanks.<br><br>--<br>Best regards,<br><font color="#888888">Dmitry Vinokurov<br>
</font><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><br>