Commit Graph

5838 Commits

Author SHA1 Message Date
Ed Hartnett
958826d0af merged ejh_mem_check 2018-10-22 13:29:46 -06:00
Ed Hartnett
d2a5a0dde7 merged master 2018-10-22 13:29:19 -06:00
Ed Hartnett
9e171c3f27 getting tests working 2018-10-22 13:28:24 -06:00
Ed Hartnett
234e2ada6c messing with run_diskless2.sh to produce error 2018-10-22 08:57:23 -06:00
Ed Hartnett
975eb8a763 changed run_diskless2.sh 2018-10-21 11:17:57 -06:00
Ed Hartnett
01158b0a12 moved dependencies 2018-10-21 09:44:44 -06:00
Ed Hartnett
d261c4afe7 moved dependencies 2018-10-21 09:31:13 -06:00
Ed Hartnett
18a145fdfe moved dependencies 2018-10-21 09:16:56 -06:00
Ed Hartnett
188c5822a2 moved dependencies 2018-10-21 09:10:37 -06:00
Ed Hartnett
76745e5022 moved dependencies 2018-10-21 05:18:31 -06:00
Ed Hartnett
05b39db9eb restoring valgrind dependencies 2018-10-21 04:55:37 -06:00
Ed Hartnett
2862c01b95 working on getting build working 2018-10-20 03:53:38 -06:00
Dennis Heimbigner
0e9f1bb46a ckp 2018-10-19 12:51:58 -06:00
Dennis Heimbigner
1851b390eb Merge branch 'master' into infoleak.dmh 2018-10-19 11:13:45 -06:00
Dennis Heimbigner
e40eb2e950 switch 2018-10-19 11:11:36 -06:00
Ward Fisher
8d5e66ec5f
Merge pull request #1165 from Unidata/pr-aggregation.wif
Multiple PR's in aggregate
2018-10-18 16:24:17 -06:00
Ward Fisher
a1ab46ada6
Merge branch 'master' into pr-aggregation.wif 2018-10-18 13:59:18 -06:00
Ward Fisher
ef47ebf830
Merge pull request #1159 from Unidata/newchunkdoc.dmh
Restore lost chunking documentation
2018-10-18 13:58:56 -06:00
Ward Fisher
3511094419 Merge branch 'ejh_latefill_tests' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation.wif 2018-10-18 12:57:37 -06:00
Ward Fisher
a70270a33f Merge branch 'cmake-fixups' of https://github.com/mathstuf/netcdf-c into pr-aggregation.wif 2018-10-18 12:57:21 -06:00
Ward Fisher
b4c24b1a23 Merge remote-tracking branch 'origin/newchunkdoc.dmh' into pr-aggregation.wif 2018-10-18 12:56:52 -06:00
Ed Hartnett
5cbde66781 now closing att HDF5 typeid in HDF5 close code 2018-10-18 03:43:53 -06:00
Ed Hartnett
695e295734 now calling recursive function to close HDF5 objects in file 2018-10-18 03:29:21 -06:00
Ed Hartnett
fa86d3c488 continuing to separate hdf5/libsrc4 file close code 2018-10-18 03:20:39 -06:00
Ed Hartnett
c90ab24b48 moving towards separating HDF5 file close from netcdf4 file close 2018-10-18 03:17:38 -06:00
Dennis Heimbigner
979873f81d Fix provenance memory leak 2018-10-17 11:43:14 -06:00
Ed Hartnett
37a36395d7 more tests for late fill 2018-10-17 11:14:53 -06:00
Ed Hartnett
91ec0109f3 more testing for late fill setting 2018-10-17 09:44:18 -06:00
Ed Hartnett
d959512a2e adding tests for ELATEFILL in all available formats 2018-10-17 07:29:30 -06:00
Ed Hartnett
4f75d0873b cleanup of Makefile.am 2018-10-17 07:16:00 -06:00
Ben Boeckel
005a1bf0b4 cmake: fix detection of the mmap function 2018-10-16 09:44:20 -04:00
Ben Boeckel
918cdf5155 cmake: remove duplicate check for fsync 2018-10-16 09:44:12 -04:00
Ward Fisher
ddd3722b41
Merge branch 'master' into newchunkdoc.dmh 2018-10-15 10:53:51 -06:00
Ward Fisher
76ff749bf2
Merge pull request #1153 from NetCDF-World-Domination-Council/ejh_hdf4_config_issues
Fix HDF4 config issues
2018-10-15 10:53:37 -06:00
Dennis Heimbigner
7e2a9a9bdf Restore the lost documentation in nccopy.1 of
the new per-variable chunking specifications.
2018-10-13 16:24:37 -06:00
Ward Fisher
16ee523a45
Merge branch 'master' into ejh_hdf4_config_issues 2018-10-12 17:20:43 -06:00
Ward Fisher
1554ecdaa9
Merge pull request #1158 from Unidata/disklesswrite.dmh
Revert/Improve nc_create + NC_DISKLESS behavior
2018-10-12 17:18:33 -06:00
Dennis Heimbigner
553de966d6 Add some visual studio bug fixes 2018-10-11 12:09:42 -06:00
Dennis Heimbigner
4636584d5b Revert/Improve nc_create + NC_DISKLESS behavior
re: https://github.com/Unidata/netcdf-c/issues/1154

Inadvertently, the behavior of NC_DISKLESS with nc_create() was
changed in release 4.6.1. Previously, the NC_WRITE flag needed
to be explicitly used with NC_DISKLESS in order to cause the
created file to be persisted to disk.

Additional analyis indicated that the current NC_DISKLESS
implementation was seriously flawed.

This PR attempts to clean up and regularize the situation with
respect to NC_DISKLESS control. One important aspect of diskless
operation is that there are two different notions of write.

1. The file is read-write vs read-only when using the netcdf API.
2. The file is persisted or not to disk at nc_close().

Previously, these two were conflated. The rules now are
as follows.

1. NC_DISKLESS + NC_WRITE means that the file is read/write using the netcdf API
2. NC_DISKLESS + NC_PERSIST means that the file is persisted to a disk file at nc_close.
3. NC_DISKLESS + NC_PERSIST + NC_WRITE means both 1 and 2.

The NC_PERSIST flag is new and takes over the obsolete NC_MPIPOSIX flag.
NC_MPIPOSIX is still defined, but is now an alias for the NC_MPIIO flag.

It is also now the case that for netcdf-4, NC_DISKLESS is independent
of NC_INMEMORY and in fact it is an error to specify both flags
simultaneously.

Finally, the MMAP code was fixed to use NC_PERSIST as well.
Also marked MMAP as deprecated.

Also added a test case to test various combinations of NC_DISKLESS,
NC_PERSIST, and NC_WRITE.

This PR affects a number of files and especially test cases
that used NC_DISKLESS.

Misc. Unrelated fixes
1. fixed some warnings in ncdump/dumplib.c
2018-10-10 13:32:17 -06:00
Ed Hartnett
8259455582
Merge branch 'master' into ejh_hdf4_config_issues 2018-10-10 06:17:27 +03:00
Ward Fisher
4a5b15bcbb
Merge pull request #1147 from wkliao/nc_mpiio_nc_mpiposix
Ignore NC_MPIIO and NC_MPIPOSIX
2018-10-09 16:21:00 -06:00
Ward Fisher
ea66842bea
Merge branch 'master' into nc_mpiio_nc_mpiposix 2018-10-09 15:21:50 -06:00
Ward Fisher
6b0217f38c
Merge pull request #1149 from Unidata/netcdf_mem_fix.dmh
Remove unneeded include of netcdf.h from netcdf_mem.h
2018-10-09 13:50:57 -06:00
Dennis Heimbigner
534364b069 This Pre removed #include <netcdf.h> from netcdf_mem.h.
In turn that caused some problems elsewhere because some files
did not include netcdf.h preceding netcdf_mem.h. Specifically,
building under visual studio fails.
So fix those cases that I can find. May need to
add more later.
2018-10-07 12:05:26 -06:00
Dennis Heimbigner
a5a34f6aba
Merge branch 'master' into nc_mpiio_nc_mpiposix 2018-10-06 13:33:55 -06:00
Dennis Heimbigner
77886deff2
Merge branch 'master' into netcdf_mem_fix.dmh 2018-10-06 13:32:57 -06:00
Ward Fisher
266d3c5997
Merge pull request #1157 from Unidata/filtermem.dmh
Fix memory problems when using HDF5 version 1.10.x and later.
2018-10-04 16:26:29 -06:00
Ward Fisher
cbcd6c616d Added new generated files to .gitignore file. 2018-10-04 15:02:02 -06:00
Ward Fisher
35ea9da7f6
Merge branch 'master' into filtermem.dmh 2018-10-04 15:01:29 -06:00
Ward Fisher
debb149a4f
Merge pull request #1141 from NetCDF-World-Domination-Council/ejh_cache_sep
Separate the HDF5 cache code
2018-10-04 12:05:39 -06:00