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.
Hi, Can you revert to the standard values in netcdf.h and try building/testing again to see if the error persists? Thank you, -Ward > building netcdf in ubuntu 17.04# Modify the following #define statements in > the netcdf.h file. Change the values to match what is given below. #define > NC_MAX_DIMS 65536 > #define NC_MAX_ATTRS 8192 > > #define NC_MAX_VARS 524288 > #define NC_MAX_NAME 256 > > #define NC_MAX_VAR_DIMS 8 # Configure NetCDF./configure > --prefix=/usr/local/netcdf --disable-netcdf-4 --disable-dap # Make, test, and > install NetCDF make make installmake check#the configure and make is ok, but > make check fail,the log is as > follows=========================================== netCDF 4.4.1.1: > nctest/test-suite.log ================= ========================== # TOTAL: 3 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: nctest ============ Testing V2 API with 2 different netCDF formats. Switching to netCDF classic format. *** Testing nccreate ... ok *** *** Testing ncopen ... ok *** *** Testing ncredef ... ok *** *** Testing ncendef ... ok *** *** Testing ncclose ... ok *** *** Testing ncinquire ... ok *** *** Testing ncsync ... ok *** *** Testing ncabort ... ok *** *** Testing ncdimdef ... ok *** *** Testing ncdimid ... ok *** *** Testing ncdiminq ... ok *** *** Testing ncdimrename ... ok *** *** Testing ncvardef ... ok *** *** Testing ncvarid ... ok *** *** Testing ncvarinq ... ok *** *** Testing ncvarputg ... FAIL nctest (exit status: 139) FAIL: compare_test_files.sh =========================== nctest_classic.nc ./ref_nctest_classic.nc differ: byte 8, line 1 FAIL compare_test_files.sh (exit status: 1)thanks for all hard word ,good day to you. Ticket Details =================== Ticket ID: SVO-768609 Department: Support netCDF Priority: Normal Status: Closed =================== NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.