<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt">Hi Dmitry,<br><br>This is what I get:<br># 1 "/usr/local/netcdf-pgi/include/netcdf.inc" 1<br><br><br>But the lines<br><br>&nbsp; &nbsp; &nbsp; integer nf_64bit_offset<br><br>&nbsp; &nbsp; &nbsp; parameter (nf_64bit_offset = 512)<br><br>are not in the output...<br><br>Thanks for your help.<br><br>Dorita<br><br><div><br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Dmitry N. Mikushin &lt;maemarcus@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Dorita Rostkier-Edelstein &lt;drostkier@yahoo.com&gt; <br><b><span style="font-weight:
 bold;">Cc:</span></b> "wrf-users@ucar.edu" &lt;wrf-users@ucar.edu&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 23, 2012 9:26 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Wrf-users] compiling p_interp<br> </font> </div> <br>
Dear Dorita,<br><br>It should work, because file called netcdf.inc should contain the<br>appropriate definition.<br><br>In order to check that, you can replace INCLUDE 'netcdf.inc' with<br>#include "netcdf.inc" and run the source file through the C<br>preprocessor:<br><br>cpp p_interp.F90 -I/usr/local/netcdf-pgi/include<br><br>The output will list the source code almost like compiler sees it<br>before the compilation. The following lines should be there:<br><br>&nbsp; &nbsp; &nbsp; integer nf_64bit_offset<br><br>&nbsp; &nbsp; &nbsp; parameter (nf_64bit_offset = 512)<br><br>If they are not, then this is the source of the issue.<br><br>Could you by chance have another netcdf.inc available from you path?<br>In this case it will override the one you are trying to load from<br>-I/usr/local/netcdf-pgi/include<br><br>cpp output should give you an exact path for that file, like this:<br><br># 1
 "/home/marcusmae/rpmbuild/BUILD/netcdf-4.1.3/build/fortran/netcdf.inc" 1<br><br>- D.<br><br>2012/8/23 Dorita Rostkier-Edelstein &lt;<a ymailto="mailto:drostkier@yahoo.com" href="mailto:drostkier@yahoo.com">drostkier@yahoo.com</a>&gt;:<br>&gt; Hi<br>&gt;<br>&gt; I am trying to compile p_interp and this is the message I get:<br>&gt;<br>&gt; pgf90 p_interp.F90 -L/usr/local/netcdf-pgi/lib -lnetcdf -lm<br>&gt; -I/usr/local/netcdf-pgi/include -Mfree -o p_interp<br>&gt; PGF90-S-0038-Symbol, nf_64bit_offset, has not been explicitly declared<br>&gt; (p_interp.F90: 248)<br>&gt;&nbsp;  0 inform,&nbsp;  0 warnings,&nbsp;  1 severes, 0 fatal for p_interp<br>&gt;<br>&gt; Any clue?<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Dorita<br>&gt;<br>&gt; _______________________________________________<br>&gt; Wrf-users mailing list<br>&gt; <a ymailto="mailto:Wrf-users@ucar.edu" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>&gt;
 http://mailman.ucar.edu/mailman/listinfo/wrf-users<br>&gt;<br><br><br> </div> </div>  </div></body></html>