<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> integer nf_64bit_offset<br><br> 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 <maemarcus@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Dorita Rostkier-Edelstein <drostkier@yahoo.com> <br><b><span style="font-weight:
bold;">Cc:</span></b> "wrf-users@ucar.edu" <wrf-users@ucar.edu> <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> integer nf_64bit_offset<br><br> 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 <<a ymailto="mailto:drostkier@yahoo.com" href="mailto:drostkier@yahoo.com">drostkier@yahoo.com</a>>:<br>> Hi<br>><br>> I am trying to compile p_interp and this is the message I get:<br>><br>> pgf90 p_interp.F90 -L/usr/local/netcdf-pgi/lib -lnetcdf -lm<br>> -I/usr/local/netcdf-pgi/include -Mfree -o p_interp<br>> PGF90-S-0038-Symbol, nf_64bit_offset, has not been explicitly declared<br>> (p_interp.F90: 248)<br>> 0 inform, 0 warnings, 1 severes, 0 fatal for p_interp<br>><br>> Any clue?<br>><br>> Thanks,<br>><br>> Dorita<br>><br>> _______________________________________________<br>> Wrf-users mailing list<br>> <a ymailto="mailto:Wrf-users@ucar.edu" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>>
http://mailman.ucar.edu/mailman/listinfo/wrf-users<br>><br><br><br> </div> </div> </div></body></html>