Commit Graph

106 Commits

Author SHA1 Message Date
Martin Diehl c4eef520fc initialize all variables 2019-02-09 17:21:11 +01:00
Martin Diehl 8167f09ec6 using functions as far as possible 2019-02-09 12:01:31 +01:00
Martin Diehl 5d9c3fcf27 finalize for write 2019-02-09 09:44:41 +01:00
Martin Diehl 73749dd788 merged also finalization 2019-02-09 09:38:49 +01:00
Martin Diehl d934f2b141 also modularize write 2019-02-09 09:03:31 +01:00
Martin Diehl c668260c37 avoiding code duplication 2019-02-09 08:05:29 +01:00
Martin Diehl 36662f8419 more generic formulation (works for all dimensions) 2019-02-09 07:50:33 +01:00
Martin Diehl 63c417fbe0 failed if dataset does not exists
empty datasets are not written out
2018-12-18 08:44:11 +01:00
Martin Diehl 3f3e23c2c8 polished addAttribute and use it to store meta data 2018-12-17 16:15:16 +01:00
Vitesh Shah 3e38c4ef8c The attribute interface works for single processor output and single valued attribute 2018-12-15 17:21:03 +01:00
Vitesh Shah d2c7b33cf6 New files made nonexecutable 2018-12-14 11:39:08 +01:00
Vitesh Shah 7e41ae264d Made changes with the calling signature 2018-12-14 11:35:41 +01:00
Martin Diehl fd2d4d856b cleaned + suggested structure to write data 2018-12-12 07:45:20 +01:00
Martin Diehl ecb00af147 cleaning and separating functions 2018-12-04 23:09:25 +01:00
Vitesh Shah 801e472497 Made it non-executable 2018-11-30 17:34:26 +01:00
Vitesh Shah e3d8022776 Read and write works for all types of data in parallel with test module passed 2018-11-30 17:33:30 +01:00
Vitesh Shah 508d6cf9ef After merge 2018-11-30 15:25:58 +01:00
Vitesh Shah ab59274c35 Able to read the independent datasets (outside the groups) in parallel 2018-11-30 10:16:04 +01:00
Vitesh Shah d33df38b42 made it non-executable 2018-11-27 18:52:54 +01:00
Vitesh Shah 0265732e08 Parallel writing and reading of integer datasets working 2018-11-27 18:50:51 +01:00
Vitesh Shah ef1e9cce0d Functionality to avoid creating datasets in HDF5 of zero dimensions 2018-11-26 15:38:31 +01:00
Vitesh Shah e7581f06d9 Fixed error with parallel write 2018-11-23 17:54:02 +01:00
Vitesh Shah 0e55bd6140 started read parallelization but getting errors 2018-11-23 15:49:43 +01:00
Vitesh Shah a6bc2a16f1 Parallel works for groups and included write function for integer data 2018-11-21 19:35:37 +01:00
Vitesh Shah 5cc6d86c61 Added the parallelized functionality for integer datatypes (works for groups?) 2018-11-21 16:57:36 +01:00
Vitesh Shah d00e3105ed Made hdferr < 0 and removed the unnecessary call to h5getspace in hyperslab 2018-11-21 16:10:17 +01:00
Martin Diehl 50a1ba6287 hdferr needs to be integer type during compile time of HDF5 library 2018-11-20 15:26:49 +01:00
Vitesh Shah c0481307ee Changed the intent of input argument of dataset to inout 2018-11-20 11:54:51 +01:00
Martin Diehl dd6f6bba9d planning the forwarding of the results 2018-11-18 12:41:05 +01:00
Martin Diehl 8b1785c05c parallel writing for pReal 2018-11-18 09:47:50 +01:00
Martin Diehl d5963b403a setting the property when opening the file 2018-11-16 07:05:43 +01:00
Martin Diehl 9b32fe6dbd MPI file access needed for output 2018-11-15 07:28:34 +01:00
Martin Diehl b48bd3a082 keep only general functionality in HDF5_results 2018-11-15 07:07:59 +01:00
Franz Roters 475ca29f3c close all objects of type integer(HID_T) created by native hdf5 routines 2018-11-09 16:11:19 +01:00
Vitesh Shah 38f9807c42 cleaning up the codes 2018-10-11 18:00:01 +02:00
Vitesh Shah fa13e71493 removed typo(&) 2018-10-10 18:09:10 +02:00
Vitesh Shah 78db0ecb3c reading and writing of subroutines of datasets of different ranks 2018-10-10 17:54:55 +02:00
Martin Diehl d81c9f744e avoid errors by consistently closing objects
general bugfixes, works now
2018-10-09 16:17:21 +02:00
Martin Diehl 2064ed80fd more flexible file open routine 2018-10-09 15:15:08 +02:00
Martin Diehl 8626ba1ce6 adjusted variable names and added comments 2018-10-09 14:46:57 +02:00
Martin Diehl 48403c37b7 initializing and closing the HDF5 library 2018-10-09 14:13:51 +02:00
Martin Diehl e7e0cf7118 preprocessor statements are case sensitive..
... and the PETSc variable is PETSc, not PETSC
2018-10-09 13:57:29 +02:00
Vitesh Shah 09ba95b029 non-executable 2018-10-09 10:58:45 +02:00
Vitesh Shah 70c746a8f1 Interfacing for subroutines to identify real and integer data 2018-10-09 10:57:06 +02:00
Martin Diehl a560fff2ac [skip ci] [skip sc] generic interfaces for HDF5 operations
most existing HDF5 functions are only designed for writing output files
and more general functionality is needed for storing the restart data
2018-10-05 09:03:20 +02:00
Vitesh Shah a6ebdfc1ff Reading and writing not very efficient method 2018-10-04 17:00:24 +02:00
Vitesh Shah 8619b49e20 made it nonexecutable 2018-09-28 08:47:00 +02:00
Vitesh Shah 6efde5f4ce Combined the dataset creation and writing dataset in single subroutine. Created group for looped writing. 2018-09-28 08:41:29 +02:00
Vitesh Shah 3408282755 windows and linux editor incompatibility 2018-09-25 16:49:25 +02:00
Vitesh Shah b71896d4b6 writing of multidimensional dataset into hdf5 does not appear as multiple pages in hdfviewer 2018-09-25 16:42:43 +02:00
Martin Diehl bd9a02bfe2 creating hdf5 file to contain restart information
first quick and dirty implementation to get started. needs polishing and
renaming
2018-09-20 19:42:58 +02:00
Martin Diehl 031c59954f working directory is changed automatically 2018-08-20 17:45:34 +02:00
Martin Diehl 85358bae1b copy and paste error 2018-08-18 21:30:57 +02:00
Martin Diehl 97659c359a MPI write only in case that PETSc is used 2018-08-18 21:01:25 +02:00
Martin Diehl 5b409fd6f7 type mismatch 2018-08-03 16:16:50 +02:00
Martin Diehl dc6855261a number of helper functions for HDF5 2018-08-03 08:53:37 +02:00