This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Anamika, I'm glad your netCDF-3.6.2 install worked OK. The remaining problems you have with compiling WRF are not netCDF problems, so we can't provide much help. For help with WRF installation, the following site may provide useful support: http://forum.wrfforum.com/viewforum.php?f=5 Just taking a quick look at your attempt to compile WRF, I see this error: pgf95 -r4 -i4 -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed -w -Mfree -byteswapio -o wrf_io.o -I/home/asf15076/WRF/netcdf/netcdf-3.6.2/include -I../ioapi_share -c wrf_io.f PGF90-S-0017-Unable to open include file: netcdf.inc (wrf_io.f: 372) So it looks like this error may be due to either - not running "make install" after building and checking netCDF, so that the "netcdf.inc" file needed by Fortran programs doesn't get installed in the directory where you configured WRF to look for it, /home/asf15076/WRF/netcdf/netcdf-3.6.2/include/, or - configuring WRF with the wrong place to look for the "netcdf.inc" file, for example it looks like you ran the netcdf configure with --prefix=/home/asf15076/netcdf/netcdf-3.6.2, so if you ran "make install", then it would have installed the netcdf.inc file in /home/asf15076/netcdf/netcdf-3.6.2/include instead of in /home/asf15076/WRF/netcdf/netcdf-3.6.2/include, but WRF would have looked in the latter directory and not find it. This may be because your configure.wrf has the setting NETCDFPATH = /home/asf15076/WRF/netcdf/netcdf-3.6.2 which is not the same as the path you used to configure netCDF --prefix=/home/asf15076/netcdf/netcdf-3.6.2 But again, please note we can't debug problems with building WRF, that's not our software. --Russ --Russ because "-Msmartalloc" is being used as a command line switch Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: ZUY-416194 Department: Support netCDF Priority: Normal Status: Closed