Ward Fisher
04b8640efe
Updated configuration for automatically building netcdf fortran.
2014-11-18 10:50:19 -07:00
Ward Fisher
a4724f7aee
Initial attempt at getting netcdf-c to automatically build and install netcdf-fortran.
2014-11-18 10:50:19 -07:00
Ward Fisher
2ab47745cc
Fixed a different set of potential memory leaks paired with the previous ones.
2014-11-11 15:24:38 -07:00
Ward Fisher
436b53da9b
Merge branch 'master' of https://github.com/Unidata/netcdf-c
2014-11-11 15:18:12 -07:00
Ward Fisher
2f7ffacac4
Fixed a handful of potential memory leaks reported by clang static analysis.
2014-11-11 15:17:57 -07:00
Ward Fisher
c433272676
Fixed a handful of potential memory leaks reported by clang static analysis.
2014-11-11 15:17:08 -07:00
Ward Fisher
074603293f
Corrected several static analysis issues related to potential null pointer dereferences and memory leaks.
2014-11-11 15:05:55 -07:00
Ward Fisher
aa51e82aac
Merge pull request #91 from petejan/master
...
ncgen: Fix java generation for nan values, use Float.NaN and Double.NaN
2014-11-10 12:34:12 -07:00
Peter Jansen
7aa25f4e7b
Fix java generation for nan values, use Float.NaN and Double.NaN
2014-11-08 10:11:53 -03:00
Ward Fisher
8948d5d9ed
Merge branch 'petejan-master'
2014-11-07 13:18:00 -07:00
Peter Jansen
ba5d3ca50a
fix infinite loop seg fault, where codify called jcodify called codify, should have been jcodify calling ccodify
2014-11-07 14:46:04 -03:00
Quincey Koziol
5749c5178a
Remove useless assignment.
2014-11-07 08:26:46 -06:00
Quincey Koziol
c6716f3f82
Merge remote-tracking branch 'upstream/master'
2014-11-07 08:17:35 -06:00
Quincey Koziol
1b6b779b09
Revert changes to CTest config file.
...
This reverts commit f9d1d550f5
.
2014-11-07 08:10:10 -06:00
Ward Fisher
9f9de5a493
Added a fix for a 'garbage/undefined value' bug reported by clang. in var.c, when varp->shape was being allocated, it was not being initialized properly and as a result, in some circustances, could potentially be dereferenced and evaluated without having a proper value. It is now initialized to 0. Hopefully this does not cause a problem. All the tests continue to pass, but I'm leaving a verbose comment here in case there is a knock-on problem discovered somewhere down the line.
2014-11-06 14:43:09 -07:00
Quincey Koziol
64343f20cb
Revert "Correct handling for HDF5 releases w/o MPI-POSIX VFD."
...
This reverts commit f9d1d550f5
.
2014-11-06 08:59:39 -06:00
Quincey Koziol
f9d1d550f5
Correct handling for HDF5 releases w/o MPI-POSIX VFD.
2014-11-06 08:50:27 -06:00
Quincey Koziol
740a7bfc21
Merge branch 'master' of https://github.com/qkoziol/netcdf-c
...
Conflicts:
CTestConfig.cmake.in
2014-11-05 08:32:07 -06:00
Ward Fisher
a90c9829a2
Corrected issue where libraries were being linked against multiple times.
2014-11-03 10:43:43 -07:00
Ward Fisher
6c512cad1c
Merge pull request #89 from xantares/patch-1
...
Fix ENABLE_RPC cmake option syntax
2014-10-31 10:27:23 -06:00
xantares
c59911a8e5
Fix ENABLE_RPC cmake option syntax
2014-10-31 16:53:06 +01:00
Ward Fisher
3fadeb8ff1
Fixed several memory leaks reported by static analysis.
2014-10-29 16:09:54 -06:00
Ward Fisher
69d487e57a
Added DESTDIR compatibility for netcdf builds that generate a dll via autotools.
2014-10-29 16:09:37 -06:00
dmh
481b9ac8ee
The CDL example and the associated text
...
in docs/cdl.dox do not show and describe
how declare the type of an attribute.
So modified the example and text to
clarify. Also clarified how type inference
works for attributes whose value is a string.
2014-10-27 16:24:22 -06:00
Ward Fisher
13be04f699
Updated minimum version reference for hdf5.
2014-10-27 14:13:56 -06:00
Ward Fisher
bde6718f50
Added information re: setting the environment variables, adapted from old documentation at https://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Environment.html#Environment . I suspect this will need to be made available for C instructions as well.
2014-10-27 12:53:59 -06:00
Ward Fisher
5015ea6de8
Merge branch 'nschloe-cmake-hdf5-variable-names'
2014-10-15 15:25:53 -06:00
Ward Fisher
d9ae7dff7a
Merge branch 'cmake-hdf5-variable-names' of https://github.com/nschloe/netcdf-c into nschloe-cmake-hdf5-variable-names
2014-10-15 15:24:37 -06:00
Ward Fisher
1edb7059b7
Merge branch 'nschloe-link-what-you-use'
2014-10-15 14:51:22 -06:00
Ward Fisher
4b7349885a
Merge branch 'link-what-you-use' of https://github.com/nschloe/netcdf-c into nschloe-link-what-you-use
2014-10-15 14:51:08 -06:00
dmh
d67d00ca7e
re NCF-319
...
The pnetcdf support was not
properly being used to provide
mpi parallel io for netcdf-3 classic
files. The wrong dispatch table was being
used. The fix was to modify
dfile.c#NC_check_file_type to properly
specify the pnetcdf dispatch table when
use_parallel was true.
2014-10-13 14:33:06 -06:00
dmh
938e8d260e
test pnetcdf
2014-10-12 21:29:55 -06:00
dmh
8a71ed7569
Partially deprecated varm function
2014-10-12 12:38:41 -06:00
dmh
7c7db22bc7
Removed some useless code
2014-10-11 12:27:17 -06:00
dmh
e79befedfe
re: NCF-318
...
Fixed bug in ncgen. When classic format was in force (k=1 or
k=4), the "long" datatype should be treated as int32. Was
returning an error.
2014-10-10 15:02:02 -06:00
dmh
b76d1ee722
re: NCF-318
...
Fixed bug in ncgen. When classic format was in force (k=1 or
k=4), the "long" datatype should be treated as int32. Was
returning an error.
2014-10-10 15:00:40 -06:00
Ward Fisher
7a13f2afc9
The call to h5cc (used to determine the hdf5 version) was not working properly on OSX or Ubuntu 14.04. Replaced with a similar call. Also modified the call to use h5pcc in the event we are on a parallel system.
2014-10-09 16:00:01 -06:00
Nico Schlömer
9d6431a040
tests are using HDF5 explicitly, so link against HDF5
2014-10-08 12:50:55 +02:00
Nico Schlömer
89bec1cd8b
move macro defintions behind option settings
...
This allows us to access HDF5 variables in the macros.
2014-10-08 12:47:58 +02:00
Nico Schlömer
16ce3507f4
nc_test explicitly uses libm
2014-10-08 12:41:48 +02:00
Nico Schlömer
9cc1e8035a
rename HDF5_*_LIBRARY to HDF5_*_LIBRARIES
...
This makes sure that netCDF plays nicely with FindHDF5.cmake
from CMake.
Conflicts:
liblib/CMakeLists.txt
2014-10-08 12:38:20 +02:00
dmh
6d22cbb203
Name conflict when using mpi see NCF-317
2014-10-07 16:24:17 -06:00
dmh
31d15ec532
re: NCF-317
...
If the netCDF-C library is built with the
HDF5 library but without the HDF4 library and one attempts
to open an HDF4 file, an abort occurs rather than returning
a proper error code (NC_ENOTNC).
Fix is to modify dfile.c#NC_check_file_type to properly
#ifdef relevant tests.
2014-10-07 12:37:41 -06:00
Ward Fisher
7d8e7fc777
Merge branch 'master' of https://github.com/Unidata/netcdf-c
2014-10-06 11:03:54 -06:00
Ward Fisher
7ccb57dc0b
Merging https://github.com/Unidata/netcdf-c/pull/84 , "Fix segmentation fault when parsing malformed URLs".
2014-10-06 11:03:17 -06:00
Ward Fisher
0029d386f6
Merge branch 'martin-steghoefer-fix-crash-on-malformed-uris'
2014-10-06 10:50:06 -06:00
Ward Fisher
b0de596344
Merge branch 'fix-crash-on-malformed-uris' of https://github.com/martin-steghoefer/netcdf-c into martin-steghoefer-fix-crash-on-malformed-uris
2014-10-06 10:49:40 -06:00
Ward Fisher
d4c9482ab6
Coverity: 1243512, Resource Leak.
2014-10-06 10:48:11 -06:00
Ward Fisher
1dae994c75
Removed a stray assignment in the test.
2014-10-06 10:08:36 -06:00
Ward Fisher
92c4292578
Addressed an issue reported by Wei-keng Liao, XBL-579505.
2014-10-06 09:56:54 -06:00