Perhaps a list that matches all required software versions is in lots of demand.I think that netcdf-c 4.9.1 will work with hdf5 1.12.2 - it's the hdf5 1.14.0 that was the source of the issue.
Don't worry, just a few thoughts.This is not a cesm issue - please contact the netcdf-c support team.