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.
Craig, > Thank you for the info, Russ! > > I will rollback to a previous version that build successfully. The C library bug that caused build errors with netcdf-fortran-4.4-beta1 is now fixed in our svn tree. The fix is in the file http://svn.unidata.ucar.edu/repos/netcdf/trunk/libsrc/nc3internal.c in case you want to rebuild the C library with that change and then rebuild netcdf-fortran-4.4-beta1 against that installed library. --Russ > Best, > Craig > > On Dec 2, 2012, at 2:58 PM, Unidata netCDF Support <address@hidden> wrote: > > > Hi Craig, > > > >> Is there a workaround? > > > > Not yet with the current snapshot you are using. We just recently > > discovered a problem in a C library > > change made back in early September that broke Fortran builds since then. > > So the only workaround > > currently is to use a revision of the C library from svn r2541 or earlier. > > We're working on a fix before > > the next Fortran release. > > > > --Russ > > > >> config.log.gz attached. > >> > >> Thank you! > >> Craig > >> > >> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > >> make check | & tee check.log > >> > >> Making check in fortran > >> make[1]: Entering directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/fortran' > >> make check-am > >> make[2]: Entering directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/fortran' > >> make[2]: Nothing to be done for `check-am'. > >> make[2]: Leaving directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/fortran' > >> make[1]: Leaving directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/fortran' > >> Making check in nf_test > >> make[1]: Entering directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> make nf_test ftst_vars ftst_vars2 ftst_vars3 ftst_vars4 ftst_vars5 > >> ftst_vars6 ftst_types ftst_types2 ftst_types3 ftst_groups f90tst_vars > >> tst_types tst_types2 f90tst_vars_vlen tst_f90_nc4 f90tst_grps f90tst_fill > >> f90tst_fill2 f90tst_vars3 f90tst_vars4 f90tst_vars2 tst_f90 > >> make[2]: Entering directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> make[2]: `nf_test' is up to date. > >> make[2]: `ftst_vars' is up to date. > >> make[2]: `ftst_vars2' is up to date. > >> make[2]: `ftst_vars3' is up to date. > >> make[2]: `ftst_vars4' is up to date. > >> make[2]: `ftst_vars5' is up to date. > >> make[2]: `ftst_vars6' is up to date. > >> make[2]: `ftst_types' is up to date. > >> make[2]: `ftst_types2' is up to date. > >> make[2]: `ftst_types3' is up to date. > >> make[2]: `ftst_groups' is up to date. > >> make[2]: `f90tst_vars' is up to date. > >> make[2]: `tst_types' is up to date. > >> make[2]: `tst_types2' is up to date. > >> make[2]: `f90tst_vars_vlen' is up to date. > >> make[2]: `tst_f90_nc4' is up to date. > >> make[2]: `f90tst_grps' is up to date. > >> make[2]: `f90tst_fill' is up to date. > >> make[2]: `f90tst_fill2' is up to date. > >> make[2]: `f90tst_vars3' is up to date. > >> make[2]: `f90tst_vars4' is up to date. > >> make[2]: `f90tst_vars2' is up to date. > >> make[2]: `tst_f90' is up to date. > >> make[2]: Leaving directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> make check-TESTS > >> make[2]: Entering directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> > >> *** Testing netCDF-3 Fortran 77 API. > >> NetCDF version: > >> 4.2.1.1-snapshot2012112823 of Nov 29 2012 16:48:19 $ > >> > >> *** testing nf_strerror ... > >> *** testing nf_open ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_open! ### > >> *** testing nf_close ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> nf_close in define mode: NetCDF: Not a valid ID > >> > >> ### 4 FAILURES TESTING nf_close! ### > >> *** testing nf_inq ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_inq! ### > >> *** testing nf_inq_dimid ... > >> *** testing nf_inq_dim ... > >> *** testing nf_inq_dimlen ... > >> *** testing nf_inq_dimname ... > >> *** testing nf_inq_varid ... > >> *** testing nf_inq_var ... > >> *** testing nf_inq_natts ... > >> *** testing nf_inq_ndims ... > >> *** testing nf_inq_nvars ... > >> *** testing nf_inq_unlimdim ... > >> *** testing nf_inq_format ... > >> *** testing nf_inq_vardimid ... > >> *** testing nf_inq_varname ... > >> *** testing nf_inq_varnatts ... > >> *** testing nf_inq_varndims ... > >> *** testing nf_inq_vartype ... > >> *** testing nf_get_var1_text ... > >> *** testing nf_get_var1_int1 ... > >> *** testing nf_get_var1_int2 ... > >> *** testing nf_get_var1_int ... > >> *** testing nf_get_var1_real ... > >> *** testing nf_get_var1_double ... > >> *** testing nf_get_var_text ... > >> *** testing nf_get_var_int1 ... > >> *** testing nf_get_var_int2 ... > >> *** testing nf_get_var_int ... > >> *** testing nf_get_var_real ... > >> *** testing nf_get_var_double ... > >> *** testing nf_get_vara_text ... > >> *** testing nf_get_vara_int1 ... > >> *** testing nf_get_vara_int2 ... > >> *** testing nf_get_vara_int ... > >> *** testing nf_get_vara_real ... > >> *** testing nf_get_vara_double ... > >> *** testing nf_get_vars_text ... > >> *** testing nf_get_vars_int1 ... > >> *** testing nf_get_vars_int2 ... > >> *** testing nf_get_vars_int ... > >> *** testing nf_get_vars_real ... > >> *** testing nf_get_vars_double ... > >> *** testing nf_get_varm_text ... > >> *** testing nf_get_varm_int1 ... > >> *** testing nf_get_varm_int2 ... > >> *** testing nf_get_varm_int ... > >> *** testing nf_get_varm_real ... > >> *** testing nf_get_varm_double ... > >> *** testing nf_get_att_text ... > >> *** testing nf_get_att_int1 ... > >> *** testing nf_get_att_int2 ... > >> *** testing nf_get_att_int ... > >> *** testing nf_get_att_real ... > >> *** testing nf_get_att_double ... > >> *** testing nf_inq_att ... > >> *** testing nf_inq_attname ... > >> *** testing nf_inq_attid ... > >> *** testing nf_inq_attlen ... > >> *** testing nf_inq_atttype ... > >> *** testing nf_create ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> nf_close: NetCDF: Not a valid ID > >> nf_inq: wrong number of global atts returned, 1 > >> > >> ### 5 FAILURES TESTING nf_create! ### > >> *** testing nf_redef ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_redef! ### > >> *** testing nf_enddef ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_enddef! ### > >> *** testing nf_sync ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_sync! ### > >> *** testing nf_abort ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_abort! ### > >> *** testing nf_def_dim ... > >> *** testing nf_rename_dim ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_rename_dim! ### > >> *** testing nf_def_var ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_def_var! ### > >> *** testing nf_put_var1_text ... > >> *** testing nf_put_var1_int1 ... > >> *** testing nf_put_var1_int2 ... > >> *** testing nf_put_var1_int ... > >> *** testing nf_put_var1_real ... > >> *** testing nf_put_var1_double ... > >> *** testing nf_put_var_text ... > >> *** testing nf_put_var_int1 ... > >> *** testing nf_put_var_int2 ... > >> *** testing nf_put_var_int ... > >> *** testing nf_put_var_real ... > >> *** testing nf_put_var_double ... > >> *** testing nf_put_vara_text ... > >> *** testing nf_put_vara_int1 ... > >> *** testing nf_put_vara_int2 ... > >> *** testing nf_put_vara_int ... > >> *** testing nf_put_vara_real ... > >> *** testing nf_put_vara_double ... > >> *** testing nf_put_vars_text ... > >> *** testing nf_put_vars_int1 ... > >> *** testing nf_put_vars_int2 ... > >> *** testing nf_put_vars_int ... > >> *** testing nf_put_vars_real ... > >> *** testing nf_put_vars_double ... > >> *** testing nf_put_varm_text ... > >> *** testing nf_put_varm_int1 ... > >> *** testing nf_put_varm_int2 ... > >> *** testing nf_put_varm_int ... > >> *** testing nf_put_varm_real ... > >> *** testing nf_put_varm_double ... > >> *** testing nf_rename_var ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_rename_var! ### > >> *** testing nf_put_att_text ... > >> NF_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_text! ### > >> *** testing nf_put_att_int1 ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_int1! ### > >> *** testing nf_put_att_int2 ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_int2! ### > >> *** testing nf_put_att_int ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_int! ### > >> *** testing nf_put_att_real ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_real! ### > >> *** testing nf_put_att_double ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_put_att_double! ### > >> *** testing nf_copy_att ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_copy_att! ### > >> *** testing nf_rename_att ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_rename_att! ### > >> *** testing nf_del_att ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_del_att! ### > >> *** testing nf_set_fill ... > >> nf_create: NetCDF: File exists && NC_NOCLOBBER > >> > >> ### 2 FAILURES TESTING nf_set_fill! ### > >> *** testing nf_set_default_format ... > >> Total number of failures: 47 > >> 2 > >> FAIL: nf_test > >> > >> *** Testing creating file with fill values. > >> *** SUCCESS! > >> PASS: create_fills.sh > >> > >> *** Testing definition of netCDF-4 vars from Fortran 77. > >> *** SUCCESS! > >> PASS: ftst_vars > >> > >> *** Testing netCDF-4 vars from F77 with new types. > >> *** SUCCESS! > >> PASS: ftst_vars2 > >> > >> *** Testing enum and opaque types. > >> *** SUCCESS! > >> PASS: ftst_vars3 > >> > >> *** Testing VLEN types. > >> *** SUCCESS! > >> PASS: ftst_vars4 > >> > >> *** Testing compound types. > >> *** SUCCESS! > >> PASS: ftst_vars5 > >> > >> *** Testing fill values. > >> *** SUCCESS! > >> PASS: ftst_vars6 > >> > >> *** Testing netCDF-4 compound type from F77. > >> *** SUCCESS! > >> PASS: ftst_types > >> > >> *** Testing netCDF-4 compound types from F77 some more. > >> *** SUCCESS! > >> PASS: ftst_types2 > >> > >> *** Testing netCDF-4 user-defined types and groups. > >> *** SUCCESS! > >> PASS: ftst_types3 > >> > >> *** Testing netCDF-4 groups from F77. > >> *** SUCCESS! > >> PASS: ftst_groups > >> > >> *** Testing definition of netCDF-4 vars from Fortran 90. > >> *** SUCCESS! > >> PASS: f90tst_vars > >> > >> *** Testing new netCDF-4 types from Fortran 90. > >> *** SUCCESS! > >> PASS: tst_types > >> > >> *** Testing netCDF-4 64-bit integer types from Fortran 90. > >> *** SUCCESS! > >> PASS: tst_types2 > >> PASS: f90tst_vars_vlen > >> > >> *** testing simple netCDF-4 file. > >> *** OK! > >> *** Testing simple classic file. > >> *** OK! > >> *** SUCCESS! > >> PASS: tst_f90_nc4 > >> > >> *** Testing netCDF-4 groups from Fortran 90. > >> *** SUCCESS! > >> PASS: f90tst_grps > >> > >> *** Testing netCDF-4 fill values. > >> *** SUCCESS! > >> PASS: f90tst_fill > >> > >> *** Testing netCDF-4 fill values with unlimited dimension. > >> *** SUCCESS! > >> PASS: f90tst_fill2 > >> > >> *** Testing definition of netCDF-4 vars from Fortran 90. > >> *** SUCCESS! > >> PASS: f90tst_vars3 > >> > >> *** Testing definition of netCDF-4 vars from Fortran 90. > >> *** SUCCESS! > >> PASS: f90tst_vars4 > >> > >> *** Testing definition of netCDF-4 vars from Fortran 90. > >> *** SUCCESS! > >> PASS: f90tst_vars2 > >> > >> *** Testing netCDF-3 Fortran 90 API. > >> *** SUCCESS! > >> PASS: tst_f90 > >> ================================================ > >> 1 of 24 tests failed > >> Please report to address@hidden > >> ================================================ > >> make[2]: *** [check-TESTS] Error 1 > >> make[2]: Leaving directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> make[1]: *** [check-am] Error 2 > >> make[1]: Leaving directory > >> `/nethome/cmattock/usr/local/netcdf-fortran-4.4-beta1/nf_test' > >> make: *** [check-recursive] Error 1 > >> > >> > >> > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: YLO-819489 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: YLO-819489 Department: Support netCDF Priority: Normal Status: Closed