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.

galexand

New member
Hello!

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: https://www2.mmm.ucar.edu/wrf/users/building_netcdf4.html

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?
 

Attachments

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

NETCDF4_IO_OPTS = -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT

NETCDF4_DEP_LIB = $(DEP_LIB_PATH) $(HDF5) $(ZLIB) $(GPFS) $(CURL)

# NETCDF4INCLUDEGOESHERE

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