<div dir="ltr">Thanks I will check</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 7:40 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>The big thing about viewing WRF output directly from the history files is the format - netCDF (as opposed to binary, GRIB, or something else). To use that particular fortran program you need to link to an installed netcdf library on your system. Some compilers may not be supported. I do not regularly use gfortran, so I cannot comment further on whether this compiler is the problem. I will say that if you have access to an ifort or pgf90 compiler to try those as well. <br><br></div>The reason the compilation is failing is because it is not finding the netcdf library files during compilation. This typically means you have misspecified the location of the library files on your machine, or they're not installed. Look through the makefile and check the path names that are specified. Since this section is uncommented, I assume these are the settings you are using to compile:<br><br>LIBNETCDF = -L/usr/local/netcdf-xlf/lib -lnetcdf -lm<br>#INCLUDE = -I/usr/local/netcdf-xlf/<wbr>include -I./<br>INCLUDES=-I. -I/usr/local/include<br>FC = gfortran<br>FCFLAGS = -g -C <br>CPP = /usr/bin/cpp<br>CPPFLAGS = -I. -C -P -DRECL4 -xassembler-with-cpp<br><br></div>check that /usr/local/netcdf-xlf/lib exists on your system. Do the same for the INCLUDE listing (without the "-I"). Also I suspect this line<br>INCLUDES=-I. -I/usr/local/include<br></div>is errant, for three reasons: 1) grammatical error in the entry itself; 2) the INCLUDES keyword is not used in the compiler dependencies at the end of the Makefile (below the ##################); 3) I doubt a valid netCDF library exists in /usr/local/include, as that seems too broad a directory structure (and it's non-specific), but I could be wrong about that.<br><br></div>Jeff Duda<br><div><div><div><div> <br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Jul 10, 2017 at 9:18 AM, afwande juliet <span dir="ltr"><<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Dear users<br></div>I have wrfoutput that I want to read uisng GRADS. I want to create a .ctl file using wrf2grads . <br><br></div>I am unable since compilers in my machine is not recoginzable . I have both gcc and gfortran but I get this problem when i try make <br><br>module_wrf_to_grads_netcdf.f:3<wbr>9: Error: Can't open included file 'netcdf.inc'<br>Makefile:90: recipe for target 'module_wrf_to_grads_netcdf.o' failed<br><br></div>below is my make file script attached.<br></div>Also can someone show me another way how to read wrfouptut in GRADS<br></div>
<br></div></div>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-4657302072786811418gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>