Commit Graph

183 Commits

Author SHA1 Message Date
gsell 2da69d1095 error in logging/debug output fixed, see issue #13 2018-09-04 10:32:04 +02:00
gsell 15317a9bb0 do not include 'h5_init.h' where not required 2018-09-04 10:30:13 +02:00
gsell c5f3b7fa02 src/h5core/{h5_file.c,h5_init.c,private/h5_init.h}
- refactor 'h5_initialize()' and 'h5_finalize()'
2018-09-04 10:28:08 +02:00
gsell a81c79e5c4 src/h5core/Makefile.am:
- adapt to moved h5_init
2018-09-04 10:21:38 +02:00
gsell 664cee709b src/h5core/h5_init.c:
- moved from 'private'
2018-09-04 10:17:47 +02:00
gsell ecc4618bd4 close data types in with H5Finalize() 2018-02-02 11:10:18 +01:00
gsell 8bdebd0c55 src/h5core/private/h5t_types.h
- in definition of 'struct h5_dta_types': define type for parallel H5Grid only if enabled
2018-02-01 17:51:09 +01:00
gsell 792e86e01e src/h5core/h5_log.c
- warning in initialization of 'h5_rfmts' fixed
2018-02-01 15:25:27 +01:00
gsell 11ab169164 src/h5core/private/h5t_ref_elements.c
- bug in initialization of h5t_tet_ref_elem fixed
2018-02-01 15:24:44 +01:00
gsell 7c899f99ce src/include/H5_log.h
- H5_DEBUG_NONE added to documentation of H5SetDebugMask()
2018-02-01 15:23:32 +01:00
gsell 12ef028ed2 src/include/h5core/h5_log.h
- macro H5_DEBUG_NONE added
2018-02-01 15:21:30 +01:00
gsell 094117a631 src/h5core/h5_file.c:
- memory leak fixed
2018-02-01 15:10:18 +01:00
gsell acc8b75ad9 - several "duplicate const" warnings fixed
- some useless tests whether an unsigned int is less than zero removed
2018-02-01 14:25:29 +01:00
gsell 269c5efbde src/include/h5core/h5file.h
- no need to include 'mpi.h' and 'hdf5.h' here
2017-07-27 18:34:00 +02:00
gsell e7a60fbe9f src/include/h5core/h5b_module.h
- the function to define a grid are now available as dummy function in the serial version
2017-07-27 18:33:14 +02:00
gsell 2ed8ad093c use the H5_HAVE_PARALLEL macro from hdf5 instead of the macro PARALLEL_IO 2017-07-27 18:31:34 +02:00
gsell 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'
2017-07-27 18:29:21 +02:00
gsell 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
2017-07-26 16:59:16 +02:00
gsell f79c808e8d src/h5core/h5_err.c
- include stdlib.h added, closing #9
2017-06-23 15:31:56 +02:00
gsell b6e482f56a src/h5core/h5t_store.c
- comments edited
2017-06-23 15:27:53 +02:00
gsell 74df1bc676 src/h5core/h5_attribs.c: bugfixes 2016-09-23 17:03:20 +02:00
gsell 9e4c8bd5a4 src/h5core/h5u_io.h
- conditional flushing step data removed, for the time being we flush anyway
2016-09-23 16:45:20 +02:00
gsell bb1cd9c860 src/h5core/h5_file.c
- prototype of a 'h5_set_prop_file_flush_step()' function added
2016-09-23 16:44:30 +02:00
gsell 3425a30068 src/include/h5core/Makefile.am
- we have to use 'otherinclude_HEADER' instead of 'include_HEADERS'
2016-09-23 13:05:37 +02:00
gsell 9f3a677ea6 src/h5core/Makefile.am
- private/h5_const.h added to EXTRA_HEADERS
2016-09-23 13:04:16 +02:00
gsell 93d4f60116 src/Python
- wrappers for reading/writing attributes
2016-07-28 17:34:22 +02:00
gsell 20cd5aae98 src/h5core/h5t_io.c
- adapted to changed 'h5priv_write_attrib()'
2016-07-28 17:32:13 +02:00
gsell cae3b00855 implement proper handling of append-only file mode for attributes 2016-07-28 17:31:06 +02:00
gsell 2a462733ca src/h5core/private/h5_file.h
- is_writable() is now static inline not a macro
- macro CHECK_READABLE_MODE() added
2016-07-28 17:29:13 +02:00
gsell 6fb8b77baa src/h5core/h5_attachements.c
- h5_add_attachment(): check file mode, return error if read-only
- adapted to new function 'h5priv_create_group()'
2016-07-28 17:27:05 +02:00
gsell 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
2016-07-28 17:24:34 +02:00
gsell 54ccc3b576 src/inlcude/H5_step_attribs()
- H5GetStepAttribName() added
- use const types where applicable
2016-07-28 17:17:18 +02:00
gsell 647af5847e src/include/H5_file_attrib.h
- H5ReadFileAttribString(): bugdix in format of H5_API_ENTER(), print pointer value not string
2016-07-28 16:01:11 +02:00
gsell aa4f40ee3d src/h5core/private/h5_model.h
- h5priv_normalize_type(): bugfix: wrong type in H5_PRIV_API_ENTER() set
2016-07-28 15:59:35 +02:00
gsell 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
2016-07-28 15:57:34 +02:00
gsell 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
2016-07-28 15:54:52 +02:00
gsell 075b2f39da src/Python/H5hut.i
- towards a more usable wrapper
2016-07-15 17:46:02 +02:00
gsell 7b05c32ad9 src/h5core/private/h5_attrib.h
- get_attrib_info(): wrong length was return for string attributes
2016-07-15 17:43:59 +02:00
gsell 9d70c07476 src/Python/H5hut.i
- some issues with inquiring file-attributes and datasets fixed
2016-07-08 17:13:18 +02:00
gsell 03986b00ac src/include/g5core/h5_{file.types}.h
- enum used for file modes instead of macros
2016-07-08 17:11:28 +02:00
gsell ad83c3841b C-API:
- declare more args as const
- H5GetFileAttribName() added
2016-07-08 17:09:16 +02:00
gsell 73fabd043b src/h5core/h5b_modules.c
- check file-handle and opened step
- h5b_3d_has_view(): debug output added
2016-07-08 17:07:18 +02:00
gsell 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
2016-07-08 17:06:07 +02:00
gsell babd19ddd4 core API:
- add checks for file-handle and opened step
2016-07-08 17:03:18 +02:00
gsell c80f6f5679 use new macro H5_RETURN_ERROR where possible 2016-07-01 17:59:12 +02:00
gsell c9044d8e1b src/h5core/private/h5_init.{c,h}
- initialize MPI if not yet done
2016-07-01 16:10:37 +02:00
gsell 21dd57c9c6 Fortran-API:
- use enumeration for data-types
2016-07-01 15:34:31 +02:00
gsell fc29f7b6f0 src/h5core/private/h5_hdf5.h
- cleanup and minor changes
- more wrapper functions added
2016-07-01 15:33:53 +02:00
gsell e56872ce92 src/include/H5_err.h:
- remove debug output from H5AbortOnError()
2016-07-01 15:32:54 +02:00
gsell 85ecf4c387 core API/C-API: use enumeration for data-types 2016-07-01 15:31:55 +02:00