Commit Graph

131 Commits

Author SHA1 Message Date
Martin Diehl ae49e6710d documenting for doxygen 2020-03-15 12:54:35 +01:00
Martin Diehl 18ccc49d6f avoid duplicated public/private statements
variables should be private
2020-02-29 15:15:41 +01:00
Martin Diehl 62865e779d polishing 2020-01-26 18:31:56 +01:00
Martin Diehl 41650cdd11 use standard string length 2019-12-21 07:38:17 +01:00
Martin Diehl 4b6388fbb2 always use HDF5 output 2019-12-18 20:05:51 +01:00
Martin Diehl e3b16639bf native integer needs to match
otherwise, results are wrong. Therefore, we need to use our own HDF5
library since MSC provides one for 4 byte integers
2019-10-13 18:20:54 +02:00
Martin Diehl 4dfb1f6450 next try for MARC 2019 2019-09-21 01:07:04 +02:00
Martin Diehl f54a6cdc3b white space adjustments 2019-06-15 16:42:16 +02:00
Martin Diehl 0a5dc6d503 HDF5 is not always available 2019-06-12 19:59:17 +02:00
Martin Diehl b2409d6998 cleaning 2019-06-11 13:34:55 +02:00
Martin Diehl eb8c41b3b5 cleaning 2019-06-06 10:43:08 +02:00
Martin Diehl a5c6e4b17c do not clutter the code with use statements 2019-05-28 12:06:21 +02:00
Martin Diehl 3c8d96c54c enable more complex attributes 2019-04-11 15:44:08 +02:00
Martin Diehl 8e295cbadf no need to create type for native data types 2019-04-11 12:48:39 +02:00
Martin Diehl 0b70f01e04 polishing 2019-04-07 14:28:08 +02:00
Martin Diehl 7d0ebc4ded implicit none only needed once per module 2019-04-07 14:24:46 +02:00
Martin Diehl d6d3f7aad7 write rotation as quaternion to HDF5 in named type 2019-04-07 13:26:23 +02:00
Martin Diehl 280a11c4bc avoid checking of unitialized variables 2019-04-04 11:49:23 +02:00
Martin Diehl 811883df28 avoid error for empty datasets 2019-04-04 10:03:52 +02:00
Martin Diehl 658befa1a1 no pInt and some renames 2019-04-04 09:12:57 +02:00
Martin Diehl 121bafd989 required for HDF5 output 2019-03-09 15:55:25 +00:00
Martin Diehl 48cfc35996 polishing 2019-03-08 23:16:35 +01:00
Martin Diehl de330517eb rank not supported by older compiler/older dialects 2019-03-08 07:42:13 +01:00
Martin Diehl 8224797e75 simplified 2019-03-07 22:31:54 +01:00
Martin Diehl ccb62da24a kind-ID does not need to coincide with the number of bytes 2019-03-06 16:33:39 +01:00
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