Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Netcdf-4 not Enabled in Configure

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.


New member

I thought I had successfully compiled netcdf-4 for use within WRF, but when I configure netcdf3 is being used. I have followed the instructions found here to build netcdf-4:

I am using hdf5-1.8.13, zlib 1.2.8 and netcdf-4.1.3.

I have set the enviornment variable NETCDF4=1 and also modified my LD_LIBRARY_PATH variables. I have attached my configure.wrf file for reference. Is there something that I am missing?


  • configure_log.txt
    20.5 KB · Views: 65
Your log file indicates that netCDF4 is implemented. Please see :
#### NETCDF4 pieces




Please also double check your lib files (/home/gaalexander3/Build_WRF/LIBRARIES/netcdf/lib) to confirm that netCDF4 is installed there.