be7cd1d471
Merge branch '17-in-configure-ac-exit-after-ac_msg_error-is-not-required' into 'master'
gsell2019-06-20 19:01:02 +02:00
f7b7a45a28
configure.ac: exit calls after ASC_MSG_ERROR removed
gsell2019-06-20 19:01:17 +02:00
e41db835eb
Merge branch '15-move-dissolving-ghost-zones-into-dedicated-function' into 'master'
gsell2019-06-20 18:57:49 +02:00
8140378213
H5Block3dSetView() does not dissolve ghost-zones any more
gsell2019-06-20 18:52:02 +02:00
6a4d711b99
test: use independent IO in h5u_test_{read,write}3() for hdf5 > 1.8.12
H5hut-2.0.0rc5
gsell2018-11-19 17:08:48 +01:00
2ae76250e6
src/h5core/h5u_model.c: bug fixed in h5_set_view()
gsell2018-11-19 17:01:08 +01:00
f1cb1c981e
Merge branch 'master' of gitlab.psi.ch:H5hut/src
gsell2018-11-19 14:51:52 +01:00
627d6673e1
src/include/h5core/h5_log.h: bugfix: declaration of 'h5_initialized()' declared insite 'extern C'
gsell2018-11-19 14:51:28 +01:00
ed85fb32b7
changes merged from upstrean
gsell2018-11-19 14:47:57 +01:00
df2be38428
examples/H5Part/write_setview.c - include of "mpi.h" removed. There is no need for it and this breaks the serial case
gsell2018-11-08 16:42:03 +01:00
d423367d4f
most warnings fixed if compiling with NDEBUG defined
gsell2018-11-08 15:34:32 +01:00
1985a0a2e0
src/h5core/h5u_model.c: - h5u_get_totalnum_particles_by_idx(): - comment added - definition of 'total' and 'dmax' moved
gsell2018-11-05 16:47:48 +01:00
24533c4c2e
examples/H5/openclose.c: - set DEBUGMASK to all
gsell2018-11-05 16:43:47 +01:00
72365540a3
src/include/h5core/h5_log.h: missing backslashes in definition of macro 'H5_API_ENTER()' if NDEBUG is set fixed
Achim Gsell
2018-11-02 23:56:27 +01:00
4daf9b786c
* C-API - H5PartSetNumPoints() renamed to H5PartSetNumItems() - H5PartGetNumPoints() renamed to H5PartGetNumItems() - Dataset names longer then 64 bytes are handled as error. - Same for step/iteration names. * core API - we use the term 'iteration' instead of 'step' - we use the term 'item' instead of 'point' - re-factor function and variable names - in printing messages/debug output fixed - do not flush (sync to disk) after writing a dataset by default, can be controlled by a property
Gsell Achim
2018-09-14 16:46:40 +02:00
072a2781fc
configure.ac - set version to 2.0.0rc5
gsell2018-09-04 10:34:04 +02:00
9c9bfda054
src/Python/Makefileam - print message if Python is disabled
gsell2018-09-04 10:33:44 +02:00
604dade2a1
src/h5core/h5b_model.c - warning in 'h5b_3d_set_grid()' if compiled serial fixed
gsell2018-09-04 10:33:09 +02:00
2da69d1095
error in logging/debug output fixed, see issue #13gsell2018-09-04 10:32:04 +02:00
15317a9bb0
do not include 'h5_init.h' where not required
gsell2018-09-04 10:30:13 +02:00
c5f3b7fa02
src/h5core/{h5_file.c,h5_init.c,private/h5_init.h} - refactor 'h5_initialize()' and 'h5_finalize()'
gsell2018-09-04 10:28:08 +02:00
a81c79e5c4
src/h5core/Makefile.am: - adapt to moved h5_init
gsell2018-09-04 10:21:38 +02:00
664cee709b
src/h5core/h5_init.c: - moved from 'private'
gsell2018-09-04 10:17:47 +02:00
8bdebd0c55
src/h5core/private/h5t_types.h - in definition of 'struct h5_dta_types': define type for parallel H5Grid only if enabled
gsell2018-02-01 17:51:09 +01:00
5baed631b7
examples/H5/openclose.c - call to H5Finalize() added
gsell2018-02-01 17:48:28 +01:00
65109b73a9
example/H5/openclose.c - call to H5SetDebugMask() added
gsell2018-02-01 15:26:14 +01:00
792e86e01e
src/h5core/h5_log.c - warning in initialization of 'h5_rfmts' fixed
gsell2018-02-01 15:25:27 +01:00
11ab169164
src/h5core/private/h5t_ref_elements.c - bug in initialization of h5t_tet_ref_elem fixed
gsell2018-02-01 15:24:44 +01:00
7c899f99ce
src/include/H5_log.h - H5_DEBUG_NONE added to documentation of H5SetDebugMask()
gsell2018-02-01 15:23:32 +01:00
acc8b75ad9
- several "duplicate const" warnings fixed - some useless tests whether an unsigned int is less than zero removed
gsell2018-02-01 14:25:29 +01:00
078a51d60d
examples/H5/openclose.c: explizit set verbosity of output
gsell2018-01-05 12:16:15 +01:00
06a941eb2c
configure.ac - test whether we are using the right hdf5 flavor added: parallel if we request parallel otherwise non-parallel
gsell2017-07-27 18:36:30 +02:00
269c5efbde
src/include/h5core/h5file.h - no need to include 'mpi.h' and 'hdf5.h' here
gsell2017-07-27 18:34:00 +02:00
e7a60fbe9f
src/include/h5core/h5b_module.h - the function to define a grid are now available as dummy function in the serial version
gsell2017-07-27 18:33:14 +02:00
2ed8ad093c
use the H5_HAVE_PARALLEL macro from hdf5 instead of the macro PARALLEL_IO
gsell2017-07-27 18:31:34 +02:00
3a9e0e4153
src/include/h5core/h5_types.h - define dummy MPI data-types only if MPI_VERSION is not set. According to the MPI specification, this macro must be set after including the header MPI header file 'mpi.h'
gsell2017-07-27 18:29:21 +02:00
aa1f4eacc8
examples/H5Part/read_stridedf.f90 - bugfix in parallel version
gsell2017-07-26 17:00:03 +02:00
c33ef6d390
serial H5hut can now be used with MPI, resolving #12 src/h5core/private/h5_init.h: - remove definition of MPI dummies for serial version src/h5core/private/h5_types.h: - define the MPI communicator in 'struct h5_prop_file' only in parallel version src/h5core/h5_file.c - adapt to above changes
gsell2017-07-26 16:59:16 +02:00
9a32a0b7f1
examples/H5/Makefile.am - do not use GNU extension for pattern rules
gsell2017-06-30 18:25:39 +02:00
22d6893770
autotool configuration: - changes to support VTK 8.0 - better check for Fortran compiler
gsell2017-06-30 18:24:56 +02:00
6e0f0eeedd
we have to call cmake in configure to determine VTK headers and libs. This call creates the directory 'CMakeFiles' which we want to ignore.
gsell2017-06-30 18:23:05 +02:00
542daf7fc2
C examples: - define dummy MPI macros to be used in serial compilation, closing #10 - cleanup some "unused variable" warnings - fix some format warnings, using C99 format macros
gsell2017-06-23 15:37:46 +02:00
f79c808e8d
src/h5core/h5_err.c - include stdlib.h added, closing #9gsell2017-06-23 15:31:56 +02:00
93d4f60116
src/Python - wrappers for reading/writing attributes
gsell2016-07-28 17:34:22 +02:00
20cd5aae98
src/h5core/h5t_io.c - adapted to changed 'h5priv_write_attrib()'
gsell2016-07-28 17:32:13 +02:00
cae3b00855
implement proper handling of append-only file mode for attributes
gsell2016-07-28 17:31:06 +02:00
2a462733ca
src/h5core/private/h5_file.h - is_writable() is now static inline not a macro - macro CHECK_READABLE_MODE() added
gsell2016-07-28 17:29:13 +02:00
6fb8b77baa
src/h5core/h5_attachements.c - h5_add_attachment(): check file mode, return error if read-only - adapted to new function 'h5priv_create_group()'
gsell2016-07-28 17:27:05 +02:00
c26d6a84e3
adapted to new/changed function: h5priv_open_group(): open existing group h5priv_create_group(): create or open existing group h5priv_open_group_with_intermediates(): open existing group h5priv_create_group_with_intermediates(): create or open existing group
gsell2016-07-28 17:24:34 +02:00
54ccc3b576
src/inlcude/H5_step_attribs() - H5GetStepAttribName() added - use const types where applicable
gsell2016-07-28 17:17:18 +02:00
8ffe944519
test/Makefile.am - link static if debug is enabled
gsell2016-07-28 17:15:39 +02:00
2bb3d688ae
test/h5{b,u}_{read,write}.c - fixes for serial version - h5u_test_write4(): bugfix: we have to write new attributes since we are in append-only mode
gsell2016-07-28 16:05:36 +02:00
647af5847e
src/include/H5_file_attrib.h - H5ReadFileAttribString(): bugdix in format of H5_API_ENTER(), print pointer value not string
gsell2016-07-28 16:01:11 +02:00
aa4f40ee3d
src/h5core/private/h5_model.h - h5priv_normalize_type(): bugfix: wrong type in H5_PRIV_API_ENTER() set
gsell2016-07-28 15:59:35 +02:00
f1daa56cb8
src/h5core/private/h5_model.c - h5u_set_num_points(): set step to '0' if not already set - h5u_set_chunk(): CHECK_TIMEGROUP(f) removed. The step must not be set before setting a chunk size
gsell2016-07-28 15:57:34 +02:00
2ea8245bba
src/h5core/h5b_io.c - write_data(): - bugfix: convert passed type is from H5hut to HDF5 type - parameter 'field_name' removed - read_data(): - bugfix: convert passed type is from H5hut to HDF5 type - compare type passed as parameter and type of dataset - remove prefixing underscore from static functions - adaptions to coding style
gsell2016-07-28 15:54:52 +02:00
04fe7fdd9e
configure.ac: - do not ignore CC an CXX
gsell2016-07-28 12:18:25 +02:00
075b2f39da
src/Python/H5hut.i - towards a more usable wrapper
gsell2016-07-15 17:46:02 +02:00
7b05c32ad9
src/h5core/private/h5_attrib.h - get_attrib_info(): wrong length was return for string attributes
gsell2016-07-15 17:43:59 +02:00
825ee8ac5f
examples/H5/Makefile.am - build static executables if debug is enabled
gsell2016-07-15 17:40:37 +02:00
9d70c07476
src/Python/H5hut.i - some issues with inquiring file-attributes and datasets fixed
gsell2016-07-08 17:13:18 +02:00
03986b00ac
src/include/g5core/h5_{file.types}.h - enum used for file modes instead of macros
gsell2016-07-08 17:11:28 +02:00
ad83c3841b
C-API: - declare more args as const - H5GetFileAttribName() added
gsell2016-07-08 17:09:16 +02:00
73fabd043b
src/h5core/h5b_modules.c - check file-handle and opened step - h5b_3d_has_view(): debug output added
gsell2016-07-08 17:07:18 +02:00
0aa44727c6
src/h5core/h5_file.c - check file-handle and opened step - h5_open_file2(): bugfix: move setting of step name format to the end of the function - h5_flush_step(): bugfix: flush step data only, if a step is open
gsell2016-07-08 17:06:07 +02:00
babd19ddd4
core API: - add checks for file-handle and opened step
gsell2016-07-08 17:03:18 +02:00
c80f6f5679
use new macro H5_RETURN_ERROR where possible
gsell2016-07-01 17:59:12 +02:00
7b1079ae5f
example/H5Fed/Makefile.am - compile static if ENABLE_DEBUG is set. This makes life simpler if we build shared libs
gsell2016-07-01 16:29:10 +02:00