Commit Graph

3754 Commits

Author SHA1 Message Date
Ward Fisher
614d00ef87 Added temporary notes file. 2017-02-07 10:56:00 -07:00
Ward Fisher
2b3042c744 Split gdb files to make it easier to compare behavior in branch, master. 2017-02-06 13:33:02 -07:00
Ward Fisher
c437c99649 Updated gdb.txt for debugging. 2017-02-06 13:05:47 -07:00
Ward Fisher
2f9bc02f98 Added a check for endianness in CMake, the lack of which and fix for was contributed by Wei-Keng Liao 2017-02-06 12:23:55 -07:00
Ward Fisher
2b83365185 Added debugging script file for gdb. 2017-02-03 16:49:26 -07:00
Ward Fisher
6689d7a63f Adjusted behavior when casting from a signed char pointer to an unsigned type. 2017-02-03 12:21:54 -07:00
Ward Fisher
fe17747261 Corrected missing endif stanza. 2017-02-03 11:29:59 -07:00
Ward Fisher
7edb08977a Added platform checks for ARM. 2017-02-03 11:19:39 -07:00
Ward Fisher
dd125a92ee Updated hdf5 variable in CmakeLists file. 2017-02-03 11:04:05 -07:00
Ward Fisher
f87ef5d929 Removed duplicate entries. 2017-02-01 13:49:25 -07:00
Ward Fisher
3e5124996e Merged https://github.com/Unidata/netcdf-c/pull/319 to resolve some recently arisen conflicts, in preparation for larger merge. 2017-02-01 13:27:29 -07:00
Ward Fisher
7c68a255c9 Merge branch 'master' into ghpull-335 2017-01-31 12:25:46 -07:00
Ward Fisher
27f81325a6 Added some missing pieces. 2017-01-31 10:59:03 -07:00
Ward Fisher
840fd113d5 Compatibility define for Windows. 2017-01-30 15:03:22 -07:00
Ward Fisher
870b6c534f Working out an error with unistd.h in windows. 2017-01-30 14:54:00 -07:00
Ward Fisher
812d3689f6 Updated release notes. 2017-01-30 12:47:06 -07:00
Ward Fisher
0d2727d9da Merging pull request from gsjaardema, see https://github.com/Unidata/netcdf-c/pull/335 for more information. 2017-01-30 12:45:50 -07:00
Ward Fisher
a95957c884 Merge branch 'master' into master 2017-01-30 12:41:03 -07:00
Ward Fisher
594f50a067 Merge pull request #356 from Unidata/cmake-parallel
Cmake parallel fix
2017-01-30 11:15:22 -07:00
Ward Fisher
209c31d3f3 Bringing config.h as generagted by cmake in line with config.h as generated by autotools. 2017-01-27 17:41:03 -07:00
Ward Fisher
9c12653963 Bringing cmake config.h template in line with autotools. 2017-01-27 11:18:55 -07:00
Ward Fisher
1c415819d6 Updated release notes. 2017-01-24 15:55:58 -07:00
Ward Fisher
45f2261fd9 Merge pull request #353 from Unidata/alias.dmh
Fix aliasing/type-pun problem in ncdump
2017-01-24 15:14:37 -07:00
Ward Fisher
fce06d5474 Merge branch 'master' into alias.dmh 2017-01-24 12:36:46 -07:00
Dennis Heimbigner
a53d0b092f re: e-support (XKJ-645277) and github issue #351.
A set of typecasts in the function
print_enum_type in ncdump/ncdump.c cause some
compilers to complain about type punning:
warning: dereferencing type-punned pointer will
break strict-aliasing rules

Fix is to cast to void* before casting to final
value.  There may be other occurrences in some
of the older netcdf-c code.
2017-01-23 21:23:30 -07:00
Ward Fisher
6d85d41dda Merge pull request #348 from Unidata/topsrc.dmh
Modified ncdap_test to allow a different method to get TOPSRCDIR
2017-01-23 17:06:49 -07:00
Dennis Heimbigner
a5ffa8abca We are now into the trial and error phase
trying to get travis to compile tst_fileinfo.
2017-01-19 09:59:17 -07:00
Dennis Heimbigner
7be9506aac Modified ncdap_test to allow a different method
to get TOPSRCDIR that avoids use of
TEST_ENVIRONMENT and makes automake and cmake
more consistent.

Basic assumption is that abs_top_srcdir (and
cmake equivalent) is known at 'make check' time,
so we can use -D flag to compile a program that
has the value of abs_top_srcdir embedded into it
as a constant.

We define two new files in ncdap_test:
1. t_srcdir.h -- provide a gettopsrcdir() function
   to return the topsrcdir value to the test program.
2. topsrcdir.c -- a program that calls gettopsrcdir()
   and prints its output (minus any newline) on stdout.
   This is used in .sh files to get topsrcdir.
2017-01-18 21:46:47 -07:00
Greg Sjaardema
b334171548 Merge branch 'master' into patch-1 2017-01-11 21:18:03 -07:00
Ward Fisher
8a2e722373 Corrected a failure in tst_fill_attr_vanish.c seen under Visual Studio 11 2017-01-11 12:36:30 -07:00
Romero B. de S. Malaquias
dfda46a3a0 Merge branch 'master' into master 2017-01-11 09:29:40 -03:00
Ward Fisher
34161aab69 Added fixes for Visual Studio 10 2017-01-10 13:54:09 -07:00
Romero B. de S. Malaquias
452f6e2361 Avoiding conditional directives that break statements 2017-01-10 16:46:17 -03:00
Ward Fisher
9a1f1a92cd Brought definitions into sync 2017-01-09 15:29:19 -07:00
Ward Fisher
a099c974dc Deleted extraneous header file, removed extraneous . 2017-01-09 13:26:23 -07:00
Ward Fisher
5502767d98 Added code to accomodate Visual Studio 2012 in support of https://github.com/Unidata/netcdf-c/issues/304 2017-01-09 13:02:08 -07:00
Ward Fisher
029cbd7aeb Another tweak for a rushed fix. 2017-01-09 12:01:17 -07:00
Ward Fisher
f19f1cc6c1 Tweaked fix. 2017-01-09 11:57:23 -07:00
Ward Fisher
7d75fd3731 Updated code, location of variable declarations in support of https://github.com/Unidata/netcdf-c/issues/304 2017-01-09 11:37:35 -07:00
Ward Fisher
a31a2c0e7d Updated release notes in support of https://github.com/Unidata/netcdf-c/issues/344 2017-01-04 17:11:42 -07:00
Ward Fisher
2f3b894bec Reverted to different code in support of https://github.com/Unidata/netcdf-c/issues/344 2017-01-04 15:40:19 -07:00
Ward Fisher
59618c481b Removed stray comment. 2017-01-03 13:57:30 -07:00
Ward Fisher
c13c917835 Addressing an issue in https://github.com/Unidata/netcdf-c/issues/344 not sure if this is a fix, but why were the casts to float being used? 2017-01-03 12:21:54 -07:00
Ward Fisher
ad58e5232a Small tweak to cmakelists.txt 2017-01-03 12:10:05 -07:00
Greg Sjaardema
7eeb2e85e2 Merge branch 'master' into mpi_minor_opt 2016-12-09 09:56:03 -07:00
Greg Sjaardema
a2fdfa04ab Eliminate an MPI_Allreduce in many cases 2016-12-09 09:52:15 -07:00
Ward Fisher
77b6fbd90b Corrected a typo. 2016-12-05 13:07:09 -07:00
Greg Sjaardema
f8e818385e Modify previous no_fill setting
HDF5 does not permit a variable to have no_fill == TRUE if the variable type is variable length.  This includes types NC_STRING and NC_VLEN.  

The test above also excludes user-defined types which I'm not sure is needed or not.
2016-12-05 11:08:26 -07:00
Greg Sjaardema
8401e2087e Set variable no_fill to match database default (nc4)
In nc4 mode, the variables were ignoring the default "database" fill/no_fill mode set via a call to nc_set_fill().  This sets the no_fill mode on the variable to match the default database setting at the time the variable is defined.
2016-12-02 08:17:47 -07:00
Greg Sjaardema
9491ea2c5b Add hdf5 collective metadata api detection to configure-based build 2016-12-01 13:35:24 -07:00