Commit Graph

3349 Commits

Author SHA1 Message Date
Ward Fisher
b2b8499f53 Got distcheck working, corrected some parallel test logic in cmakelists. 2016-06-09 13:21:28 -06:00
Ward Fisher
ea2e9959f5 Corrected a typo. 2016-06-09 13:08:18 -06:00
Ward Fisher
54b57d0e60 Gave the modified test a unique test file name. 2016-06-09 11:28:03 -06:00
Ward Fisher
2610b58a5d Corrected a typo. 2016-06-09 11:26:06 -06:00
Ward Fisher
10061af1b9 Wiring in parallel test. 2016-06-09 11:23:14 -06:00
Ward Fisher
d87292763f Added files contributed by Kent Yang at the HDF group regarding a bug in collective I/O. These files will be removed once properly integrated. 2016-06-09 11:14:56 -06:00
Ward Fisher
2e71768c47 Fenceposted includes to nc4internal.h in support of https://github.com/Unidata/netcdf-c/issues/275 2016-06-08 11:26:37 -06:00
Ward Fisher
3983b37ac5 Merge pull request #273 from Unidata/hdf4fix
The name hash for hdf4 variables was not being computed.
2016-06-02 22:22:12 +00:00
Ward Fisher
305f5b352d Corrected an issue with running the hdf4 test. 2016-06-02 14:34:13 -06:00
Ward Fisher
f19749425f Wired hdf4 per-variable test into autoconf. 2016-06-02 14:22:42 -06:00
Ward Fisher
2d0de087fa Fleshed out test script, wired into cmakelists.txt 2016-06-02 14:19:36 -06:00
Ward Fisher
ab43f75416 added blank file for testing that hdf4 file can be read a var at a time. 2016-06-02 14:09:35 -06:00
dmh
5bfdf54263 The name hash for hdf4 variables was
not being computed. Fix in nc4file.c.
Not sure how this ever worked for any variable.
What is also weird is that the dim hash is
apparently being computed.
2016-06-01 15:20:36 -06:00
Ward Fisher
252f129b3e Merge pull request #272 from Unidata/issue271
HDF5 generates unnecessary error messages when netcdf4 logging enabled
2016-05-31 23:53:59 +00:00
Dennis Heimbigner
835511eaeb HDF5 is generating unnecessary error messages when netcdf4 logging is enabled
re: github netcdf-c issue #271

This occurs for several reasons, including:
1. using H5Aopen_name instead of H5Aexists to test if attribute exists.
2. using H5Eset_auto instead of H5Eset_auto2.
There are probably others that will have to be extinguished as encountered.
p.s Hope I did not overdo this and kill too much.
2016-05-27 10:08:01 -06:00
Ward Fisher
7764a03f04 Merge pull request #270 from Unidata/issue269
re: https://github.com/Unidata/netcdf-c/issues/269
2016-05-25 21:05:46 +00:00
Dennis Heimbigner
22a343292a Fix cmake build: 2016-05-24 20:26:09 -06:00
Dennis Heimbigner
71687d581e Merge branch 'issue269' of https://github.com/Unidata/netcdf-c into issue269 2016-05-24 19:37:31 -06:00
Dennis Heimbigner
c8572f0bee set tst_misc.sh executable 2016-05-24 19:37:21 -06:00
Dennis Heimbigner
8c1f8f57ee re: https://github.com/Unidata/netcdf-c/issues/269
The hash field for phony dimensions was not being set
(in nc4hdf.c). Also added test case (nc_test4/?).
Note that I searched for other similar failures and
did not find any, but I may have missed them.
2016-05-24 19:37:21 -06:00
Dennis Heimbigner
f97470d23a set tst_misc.sh executable 2016-05-24 19:35:18 -06:00
Dennis Heimbigner
ada26878e5 re: https://github.com/Unidata/netcdf-c/issues/269
The hash field for phony dimensions was not being set
(in nc4hdf.c). Also added test case (nc_test4/?).
Note that I searched for other similar failures and
did not find any, but I may have missed them.
2016-05-24 18:52:24 -06:00
Greg Sjaardema
4d037a1f62 Check for valid MPI_Comm before freeing
If in parallel mode and the H5Fcreate fails, then the h5->comm field may/will point to MPI_COMM_NULL instead of to a valid communicator.  If that is passed to MPI_Comm_free, then the code will core dump down in the MPI_Comm_free function and not return a valid return status to the caller routine. If communicator is checked, then execution proceeds back up the call tree and caller can report a better error message about the failed file create.
2016-05-24 10:50:00 -06:00
Ward Fisher
d88ad0e0d9 Corrected an issue with autoconf config date using source_date_epoch even when SOURCE_DATE_EPOCH was not defined. 2016-05-23 15:31:40 -06:00
Ward Fisher
527dcb484f Corrected/correcting a stray '@' symbol, noticed by czender in https://github.com/Unidata/netcdf-c/issues/265 2016-05-23 15:24:32 -06:00
Ward Fisher
d23991d2b4 Merge branch 'source_date_epoch' of https://github.com/sebastic/netcdf-c into temp 2016-05-16 13:01:48 -06:00
Ward Fisher
fcca7ae57d Merge branch 'master' into provfix 2016-05-16 12:39:15 -06:00
Ward Fisher
f2305cf348 Merge branch 'pnetclean' 2016-05-16 12:37:30 -06:00
Dennis Heimbigner
4fa1470241 re: github issue https://github.com/Unidata/netcdf-c/issues/265
Charlie Zender noted that we forgot to define what happens for
various netcdf API attribute operations, notably nc_inq_att()
and nc_get_att().
So, I added a list of legal and illegal api calls for the provenance
attributes in docs/attribute_conventions.md.
I also added more test cases to ncdump/tst_fileinfo.c to verify
and fixed resultant errors.
2016-05-15 18:03:04 -06:00
Bas Couwenberg
aa8f23c5bb Use SOURCE_DATE_EPOCH instead of current date.
The environment variable is used to support Reproducible Builds.

https://reproducible-builds.org/specs/source-date-epoch/
2016-05-15 17:20:18 +02:00
Dennis Heimbigner
fa6f3f185c Merge branch 'pnetclean' of https://github.com/Unidata/netcdf-c into pnetclean 2016-05-14 22:31:57 -06:00
Dennis Heimbigner
7e0db68dce Finally get around to removing all that
obsolete pnetcdf related code in libsrc4.
2016-05-14 22:31:41 -06:00
Ward Fisher
f8117f150f Updated .gitignore. 2016-05-13 12:44:52 -06:00
Ward Fisher
3f10f26315 Updated hdf5 information for pre-built Windows binaries. 2016-05-13 12:39:21 -06:00
Ward Fisher
98b0f1c9a3 Removed stray file. 2016-05-13 12:30:11 -06:00
Ward Fisher
287e73ca26 Bumping SO Version correctly. 2016-05-13 11:51:57 -06:00
Ward Fisher
595474d71b Preparations for 4.4.1-rc2 2016-05-13 11:48:49 -06:00
Ward Fisher
6c95d36778 Corrected some dead links in README. 2016-05-13 09:29:36 -06:00
Ward Fisher
6c0312293b Corrected dead links referencing the fortran 77, fortran 90 and C++ interfaces. 2016-05-12 16:40:50 -06:00
Ward Fisher
10f85caf26 Rolled back SO version to 11 after incorrectly bumping it in the 4.4.1 rc1 release. 2016-05-12 16:04:04 -06:00
Dennis Heimbigner
59ccfe4dda Finally get around to removing all that
obsolete pnetcdf related code in libsrc4.
2016-05-12 14:32:55 -06:00
Ward Fisher
f0a3ad70fe Merge branch 'master' into provenance 2016-05-11 15:43:30 -06:00
Ward Fisher
a7b7d216b2 Corrected an issue on Linux, jumping back over to Windows to see if the issue persists. 2016-05-11 15:38:45 -06:00
Ward Fisher
ef2c6f9bc4 Things are working? 2016-05-11 15:31:17 -06:00
Ward Fisher
8373de2f12 Corrected an issue with compiling under Visual Studio. 2016-05-11 12:44:25 -06:00
Ward Fisher
fc0d7d0d80 Added a tweak to prevent problems with ncdump and hdf5 trying to correct for a lack of ssize_t. 2016-05-10 15:52:46 -06:00
Ward Fisher
e4d79dbb6c Removed an unused, unneeded struct, NCdata, that was causing problems on Visual Studio because it was empty. 2016-05-10 11:11:50 -06:00
Ward Fisher
8221d8113a Cleaned up best practices document. 2016-05-09 20:42:35 -06:00
Ward Fisher
14580681cc Added best practices document to generated documentation. 2016-05-09 20:32:42 -06:00
Dennis Heimbigner
cfba3433df Merge branch 'provenance' of https://github.com/Unidata/netcdf-c into provenance 2016-05-07 14:32:17 -06:00