Environment Variable - NETCDF

Set the NETCDF environment variable.

Typically, the netcdf libraries are located in /usr/local/netcdf

setenv NETCDF /usr/local/netcdf

tip

Add this environment variable to your .cshrc file. This will ensure that it is always set correctly, and that you do not have to reset it every time you login.
 

LINUX Users
Ensure that your netcdf libraries were compiled with the same compiler that you are going to use to compile WRF ARW.

i.e., If you are compiling WRF ARW with a PGI compiler, your netcdf
      libraries must also be compiled with PGI.
And if you are compiling WRF ARW with an INTEL compiler, your netcdf
      libraries must also be compiled with INTEL.

 

NCAR - IBM Users
On NCAR's IBM computers, netCDF is installed in:
    /usr/local/netcdf