aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5
Commit message (Collapse)AuthorAge
* CarpetIOHDF5: Make variable unsigned to avoid compiler warningErik Schnetter2013-01-18
|
* CarpetIOHDF5: Remove unused variables, initialise other variable to avoid ↵Erik Schnetter2013-01-18
| | | | compiler warnings
* CarpetIOHDF5: Sliced HDF5 output index file not stored correctlyDavid Radice2012-12-19
| | | | | | | | Index HDF5 datafiles weree not handled correctly in the case of sliced data. The files are created and initialized correctly at the first iteration, but every subsequent access fails with an HDF5 error. Patch by David Radice.
* CarpetIOHDF5: comment unused variable (commented because code using it is ↵Frank Löffler2012-11-29
| | | | also commented
* CarpetIOHDF5: cast string constant to char array to get rid of compiler warningFrank Löffler2012-11-29
|
* Allow padding in transport operatorsErik Schnetter2012-11-22
| | | | | Rewrite padding infrastructure. Add padded array extents to transport operator APIs.
* CarpetIOHDF5: fix check for missing datasets when called in FileReader modeRoland Haas2012-10-29
| | | | only check datasets whose variables were actually requested to be read
* CarpetIOHDF5: close all HDF5 objects when output file is closedRoland Haas2012-10-24
| | | | also garbage collect HDF5 at each H5close
* CarpetIOHDF5: output index files for sliced output if requestedRoland Haas2012-10-20
|
* CarpetIOHDF5: make index files sparse files with full datasetsRoland Haas2012-09-11
| | | | | | | | | rather than datasets of extent [1,1,1]. It so happens that this patch removes the separate shape arrays and separate dataspaces for the datasets in index files and creates the index file datasets with the same dataspace as the "heavy" file datasets. It retains the h5shape attribute that was originally introduced for index files even though it is now redundant (since one could call H5Sget_simple_extent_dims on the datasets in the index files).
* CarpetIOHDF5: Use string instead of char[] in HDF5 for large attributesErik Schnetter2012-09-11
|
* CarpetIO*: Do not overwrite last_output_iteration after recoveryErik Schnetter2012-09-11
|
* CarpetIOHDF5: Increase array size for last_output_iteration_sliceErik Schnetter2012-09-11
|
* CarpetIOHDF5: close all HDF5 objects when closing a fileRoland Haas2012-09-11
| | | | garbage collect HDF5 objects when closing files
* CarpetIOHDF5: add support for index files to file readerRoland Haas2012-09-11
| | | | | | we try for index files when opening the first file and if this does not succeed do not try opening index files again. This reduces the number of file system accesses when no index files are present.
* CarpetIOHDF5: teach the checkpointer to write index filesRoland Haas2012-09-11
|
* CarpetIOHDF5: defer opening data files until we have to to read aRoland Haas2012-09-11
| | | | dataset
* CarpetIOHDF5: support indices in sequential chunked outputRoland Haas2012-09-11
| | | | which happens to be the output method used for single process runs.
* CarpetIOHDF5: do not re-parse files for patches when usingRoland Haas2012-09-11
| | | | open_one_input_file_at_a_time
* CarpetIOHDF5: close memory and HDF5 properties leaks mostly associatedRoland Haas2012-09-11
| | | | with open_one_input_file_at_a_time
* CarpetIOHDF5: add option checkpoint_every_divisorRoland Haas2012-09-11
| | | | | | to checkpoint when cctk_iteration % checkpoint_every_divisor == 0 rather than at whenever checkpoint_every iterations have passed since the last checkpoint
* CarpetIOHDF5: only warn once about reading extra filesRoland Haas2012-09-11
| | | | | once per variable, refinement level and time level that is. So still about ~3000 warnings in a typical simulation.
* Move MPI support from flesh to a thornErik Schnetter2012-09-11
| | | | | | | Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list.
* CarpetIOHDF5: add test for buffer zone outputRoland Haas2012-09-11
| | | | Right now there is no facility to actually use this test unfortunately.
* CarpetIOHDF5: re-add ghost and symmetry points when removing buffersRoland Haas2012-09-11
| | | | | | | NOTE: this assumes (like other parts of CarpetIOHDF5) that the number of symmetry points is the number of ghost points. NOTE: it likely outputs too many points when RotatingSymmetry is used and only buffer points touch the symmetry boundary.
* CarpetIOHDF5: zero cctk_nghostzones attribute unless ghost zones are writtenRoland Haas2012-09-11
| | | | to disk
* Remove all #warning statementsErik Schnetter2012-09-11
|
* CarpetIOHDF5: use version 1.6 of the HDF5 API within hdf5_recombinerknarf2012-09-11
| | | | | | | There are still systems with only version 1.6 installed, or broken installs of version 1.8 (Debian system packages at least up to squeeze). These systems benefit from a compiling hdf5_recombiner, while version 1.8 is not really required to be used here.
* CarpetIOHDF5: Simplify makefileErik Schnetter2012-09-11
|
* CarpetIOHDF5: More internal error checkingErik Schnetter2012-09-11
|
* CarpetLib: Change API to obtain pointer to grid function dataErik Schnetter2012-09-11
| | | | | | | | Change the API to obtain a pointer to grid function data: - Use a function "typed_data_pointer" instead of overloading the () operator (because this looks nicer) - Don't use a virtual function (because this isn't needed) - Update all uses
* CarpetIOHDF5: hdf5toascii_slicer take patch.iorigin into account when ↵Roland Haas2012-09-11
| | | | | | | | | | | computing coordinates of points this is the same issue (just seems from the other side of the output) as in "CarpetIOHDF5: Correct iorigin attribute for 2D output", namely that iorigin is stored in multiples of the stride for the given refinement level --- Carpet/CarpetIOHDF5/src/util/hdf5toascii_slicer.cc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
* hdf5_slicer: close input files as soon as possible to conserve memory and ↵Roland Haas2012-09-11
| | | | | | | | file descriptors --- Carpet/CarpetIOHDF5/src/util/hdf5_slicer.cc | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-)
* CarpetIOHDF5: let the hdf5_slicer write out a cctk_nghostzones attribute whichroland haas2012-09-11
| | | | is used by VisIt
* mergeknarf2012-09-11
|\
| * CarpetIOHDF5: Update to new gdata::copy_from APIErik Schnetter2012-09-11
| |
| * CarpetIOHDF5: Introduce API to checkpoint only a subset of groupsErik Schnetter2011-12-14
| | | | | | | | | | | | | | Introduce a new API to checkpoint only a subset of group, via an aliased function IO_SetCheckpointGroups. This can be used for simulation spawning, i.e. off-loading certain calculations (e.g. analysis) outside of the main simulation.
| * CarpetIOHDF5: plug memory leak introduced in one_file_per_group_optionRoland Haas2011-12-14
| | | | | | | | | | IOUtil_DefaultIORequest returns a fresh copy of the default IO request, rather than just a pointer to it. It has to be freeed afterwards.
| * CarpetIOHDF5: Add missing -D option to make utilities buildErik Schnetter2011-12-14
| |
| * CarpetIOHDF5: additional check ensuring that a default request is used if theRoland Haas2011-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | current request does not exist for one_file_per_group output this is re #410: --8<-- by Erik Schnetter --8<-- The corresponding code in CarpetIOHDF5.cc, which outputs data that are not slices, uses the same algorithm. However, it contains an additional check ensuring that a default request is used if the corresponding request does not exist. Look for calls to IOUtil_DefaultIORequest to find this code. I believe that an equivalent logic would correct this problem in OutputSlice.cc. --8<-- by Erik Schnetter --8<--
| * Correct style file location in documentation.texIan Hinder2011-12-14
| | | | | | | | | | | | | | | | | | --- Carpet/CarpetIOASCII/doc/documentation.tex | 2 +- Carpet/CarpetIOHDF5/doc/documentation.tex | 2 +- Carpet/CarpetInterp/doc/documentation.tex | 2 +- Carpet/CarpetReduce/doc/documentation.tex | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
| * CarpetIOHDF5: update test suite checkpoints to new formatRoland Haas2011-12-14
| |
* | CarpetIOHDF5: Use CXX flags for CXX compilerknarf2012-09-11
|/ | | | | | | | Currently CarpetIOHDF5 uses the c compiler options with the c++ compiler to build the utilities. This can lead to warnings about flags not supported by c++ (only by c). This patch let's it use the c++ compiler options instead.
* CarpetIOHDF5: print more information for ID and termination checkpointknarf2011-12-14
| | | | | | CarpetIOHDF5 already prints the iteration and time for periodic checkpoints. This patch adds this to both of initial data checkpoints (also after restart) and termination checkpoints.
* CarpetIOHDF5: fix parameters to GetAllActive to pass metalevel instead ofRoland Haas2011-12-14
| | | | | | map number this hopefully fixes ticket #446
* * updated cp/recovery par files -- now using CarpetRegrid2cott2011-12-14
| | | | * added new cp/recovery par files for cell-centered case
* CarpetIOHDF5: Remove unnecessary function declarationErik Schnetter2011-12-14
|
* CarpetIOHDF5: New parameter skip_recover_variablesErik Schnetter2011-12-14
| | | | | Introduce a new parameter skip_recover_variables that skips recovery on a set of variables.
* Adapt Carpet to hierarchical timersIan Hinder2011-12-14
| | | | | | | | Specifically, remove any hierarchy information that has been added to the name of timers, as well as any code for creating timers dynamically, as these are now unnecessary. Additionally, time some previously-untimed parts of the code and make timer names in some places more consistent.
* CarpetIOHDF5: Typo in commentErik Schnetter2011-12-14
|