aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/src/iohdf5.cc
Commit message (Collapse)AuthorAge
* Remove CVS header tagsErik Schnetter2004-09-18
| | | | | | Replace all CVS header tags with the standard "$Header:$". darcs-hash:20040918132147-891bb-dea889bdd94a479ec412d14d08e9efca63e5c24d.gz
* Merge filereader and recovery code. Now CarpetIOHDF5 also works with thetradke2004-07-09
| | | | | | generic IOUtil filereader interface (see testsuite input_initial_data.par). darcs-hash:20040709133818-1d9bf-ca0a933d109f68fa2965bbce1d9b60e02eed1e3e.gz
* OutputVarAs() uses CCTK_TraverseString() to parse the 'varname' parametertradke2004-07-08
| | | | | | (with may have an options string appended). darcs-hash:20040708063806-1d9bf-39c9375797c2a81a5c9e45d341e36c102907d405.gz
* Filereader routine uses CCTK_TraverseString() to parse the in3D_vars parameter.tradke2004-07-07
| | | | darcs-hash:20040707151013-1d9bf-0cdde1cd7be4e7ebafc1eca6c3b9a58acdd2e5a4.gz
* Major changes to CarpetIOHDF5 recovery routines:tradke2004-07-07
| | | | | | | | | | | | | | | | | | | | | | | | * better general error checking and reporting - check return code of HDF5 API calls - replace asserts with CCTK_VWarns of level 0 or 1 where appropriate - don't just assert (0) if no valid checkpoint file was found * allow relaxed recovery mode (don't stop, only warn about variables which don't exist at recovery time) * MPI optimizations: gather lots of individual MPI_Bcasts into a single one for each datatype Tested with CarpetIOHDF5's checkpointing/recovery testsuite. In case of problems, it should be easy to roll back to the previous state: the old code is still there in iohdf5chckpt_recover.cc. Things left to do: * merge recovery and filereader code * review of checkpointing code * rename I/O parameters * reduce the set of attributes to a minimum darcs-hash:20040707090105-1d9bf-7143ebaf80957ef45be9d9a045b5b78c27eaf8d3.gz
* Write the correct value for the FlexIO "origin" attribute.schnetter2004-07-06
| | | | darcs-hash:20040706133301-07bb3-48fbb93251e6b988babbe5e4c0e84c8926d1b3da.gz
* Initialise "delta" before using it.schnetter2004-06-25
| | | | darcs-hash:20040625095704-07bb3-470ee4df6d5c8fb34380954e742f67c6cf3d80c0.gz
* Implement single-precision HDF5 output.tradke2004-06-22
| | | | darcs-hash:20040622094134-1d9bf-8450282242efffe36631334c15c11dc3715b8686.gz
* Register CarpetIOHDF5 I/O method under name "IOHDF5" rather than "CarpetIOHDF5".tradke2004-06-21
| | | | darcs-hash:20040621140408-1d9bf-6f9c3a9ed88ed86f86ea2b04f16588f8015a0f36.gz
* Implement strict parameter parsing at startup.tradke2004-06-14
| | | | | | Fixed a few g++ compiler warnings. darcs-hash:20040614073410-1d9bf-2a5ead221c67ffd8fb12151471415fd06b41d3c2.gz
* Added option "divisor" to out3D_criterion.bzink2004-06-04
| | | | darcs-hash:20040604081756-5b8bb-9b67f6d827ffd5f5cf152c1ff815a0d4c73b3431.gz
* Fix two small memory leaks.schnetter2004-05-31
| | | | darcs-hash:20040531165920-07bb3-ae62007c27f4e2dfbf025d0ee3d922a90ba53c16.gz
* Add out_dt output criterion.schnetter2004-05-21
| | | | | | | Add out_dt output criterion. Correct return types. darcs-hash:20040521161134-07bb3-605eedc5f4e23ea1d7022f6c26c6af7303e11055.gz
* Replaced the assert in line 400 with an if block. After recovery, it isbzink2004-05-17
| | | | | | | perfectly legal that a specific dataset already exists and thus cannot be created. darcs-hash:20040517124012-5b8bb-f4f674309e8c4cf67d25d021acb0da482f24cdce.gz
* Simplify the codeschnetter2004-04-18
| | | | darcs-hash:20040418110249-07bb3-9384744a507ad05ef10eff9b0c3d9c8343cb678c.gz
* Writing and Reading variables of type 'complex' should now work. Please test.cott2004-04-12
| | | | darcs-hash:20040412205904-19929-21858f81ba0fbfc5618ec47c5083fc3b146ddaa8.gz
* Fall back to IO::out_dir when out3D_dir is unset.schnetter2004-04-07
| | | | darcs-hash:20040407121023-07bb3-77970caf3a22f9c3bd622d54238ce1e1aabb80ed.gz
* Rename the parameter h5verbose to verbose.schnetter2004-04-03
| | | | darcs-hash:20040403134237-07bb3-8bb947389abf79bfad644fdf6ed22b8861a9e7f2.gz
* Do not use CCTK_QueryParameterTimesSet to find out whether to use aschnetter2004-04-03
| | | | | | | | | | Do not use CCTK_QueryParameterTimesSet to find out whether to use a parameter value from this thorn, or from IO. Use special parameter values for that instead, and make these the default. Remove now-unnecessary Get*Parameter functions. darcs-hash:20040403104021-07bb3-88addd2629255577d851436003f854791670ac7a.gz
* Beautified the code a bit (needs more work). Fixed a dynamic allocation problem.cott2004-03-26
| | | | darcs-hash:20040326134355-19929-719b972880c0cc80d42576486219c8d555c65f72.gz
* Use vector::at() instead of vector::operator[] to access vector elements.schnetter2004-03-23
| | | | darcs-hash:20040323183014-07bb3-4562b1a7b1dda25fbcccc7689c19bbd432b8a1ff.gz
* Rudimentary timers implemented; added linked list for dataset names. Gives ↵cott2004-03-22
| | | | | | | | | about a factor of 2 in Rudimentary timers implemented; added linked list for dataset names. Gives about a factor of 2 in performance. darcs-hash:20040322105402-19929-82b752c1cfa48f665282a34955062c8b977d28b4.gz
* Minor polishing.cott2004-03-16
| | | | darcs-hash:20040316134004-19929-58dd01e248958bcfb9f9df396d6c4122cc1c2b0e.gz
* Minor polishing. Changed parameter "verbose" to "h5verbose" to get around ↵cott2004-03-15
| | | | | | name clash. darcs-hash:20040315224524-19929-724f3e63dac71ecc7ee8e12e520636229a180f30.gz
* Fix another stupid bug in DISTRIB=const logic. Checkpoint/Recovery tested on ↵cott2004-03-15
| | | | | | 1, 2 and 4 cpus. Please give it a try. darcs-hash:20040315191944-19929-2b6e404ca238c4b85afdad75fd93e8d3ff9dfbee.gz
* Fixed problem in the logic for handling DISTRIB=constant arrays. ↵cott2004-03-15
| | | | | | | | | Checkpoint/Recovery should now work with MULTIPLE Fixed problem in the logic for handling DISTRIB=constant arrays. Checkpoint/Recovery should now work with MULTIPLE CPUs. darcs-hash:20040315184915-19929-3df64b1a04304a51b86dd8a0582c55291a36811a.gz
* Small fixes.cott2004-03-14
| | | | darcs-hash:20040314141400-19929-aa1ab601329b6e11b78f554a7aba66bae838723b.gz
* Okay. Here we go. Checkpoint/Recovery is working on 1 cpu with WaveToy. Data ↵cott2004-03-12
| | | | | | | | | from recovered and normal run are pointwise Okay. Here we go. Checkpoint/Recovery is working on 1 cpu with WaveToy. Data from recovered and normal run are pointwise identical. darcs-hash:20040312135017-19929-ca1b322176174f2b9f3c755fdaf6ca8c65817e30.gz
* Recovery sort of working - does not crash, but does the strangest things... ↵cott2004-03-11
| | | | | | | | | I have to fix this tomorrow with Erik's help. Recovery sort of working - does not crash, but does the strangest things... I have to fix this tomorrow with Erik's help. Good night. darcs-hash:20040311231325-19929-996452fe821c4ec4feaa66088c9bd994b02f0f3b.gz
* Writing checkpoint files works now.cott2004-03-11
| | | | darcs-hash:20040311105051-19929-70bd8a1289d9a4c4f3927d732a9977864f6f9471.gz
* Correct and general setting of HDF5 datatypescott2004-03-11
| | | | darcs-hash:20040311090016-19929-e3fcc2683c886df7977a554ada2b82080d6b4d6e.gz
* Added skeleton for recovery.cott2004-03-11
| | | | darcs-hash:20040311083323-19929-9c872f62d60d191b69b9f0da59ce1dcfbf250fa7.gz
* Minor Additions to checkpointing routines, correct registration of IOHDF5GH, ↵cott2004-03-10
| | | | | | | | | added iohdf5chckpt_recover.cc that holds the Minor Additions to checkpointing routines, correct registration of IOHDF5GH, added iohdf5chckpt_recover.cc that holds the checkpoint/recovery routines (sorry, Erik). darcs-hash:20040310212958-19929-fea059a553724489737f8a0d214c958ae3c43914.gz
* Split InputVarAs into InputVarAs and ReadVar for checkpoint-recoverycott2004-03-10
| | | | darcs-hash:20040310202024-19929-a16fac90b55294b2661b20a4af6c3d433fd4fc87.gz
* Split OutputVarAs into 2 routines: OutputVarAs and WriteVar - needed for ↵cott2004-03-09
| | | | | | checkpointing. darcs-hash:20040309150248-19929-c08fb7d61bc532f29a21e1c2829854fce9314801.gz
* Fix various bugs in ReadAttribute-like functions and in InputVarAscott2004-03-09
| | | | darcs-hash:20040309115224-19929-6963d480898e75a412572aa41eadee1aa305bdb5.gz
* Register the file reader.schnetter2004-03-09
| | | | | | | Register the file reader. Add debug output statements. darcs-hash:20040309092620-07bb3-8acb32ada78a873706ae644124ac29dce5561bad.gz
* Make the file reader work.cott2004-03-08
| | | | | | | | Make the file reader work. There is one strange bug: Eventhough I correctly close the file with H5Fclose(reader), one gets an H5 error when trying to open the same file for writing at a later point. Hence input and output files have to be different for the moment. darcs-hash:20040308215041-19929-89c8378965a1ee7ec4d0d466a071069f7235f41c.gz
* Some cleaning up: Moved auxiliary functions (Read/WriteAttribute and others) ↵cott2004-03-08
| | | | | | to their own file to keep iohdf5.cc short. darcs-hash:20040308084341-19929-cd1956912296b38a265e12a59fb26cd02e5c48aa.gz
* Correct errors in the FlexIO attributesschnetter2004-03-08
| | | | darcs-hash:20040308080932-07bb3-bea33fc1705a7fb9fe7887d3cbccf46e60edc3e7.gz
* Close data types, data spaces, and attributes when they are not neededschnetter2004-03-03
| | | | | | | Close data types, data spaces, and attributes when they are not needed any more. darcs-hash:20040303120701-07bb3-bc92d93953009d8e0c22abbde6c188f7ae21e620.gz
* A thorn for HDF5 output without using the FlexIO library.schnetter2004-03-03
| | | | darcs-hash:20040303084459-07bb3-4aed4fedaa19c030886252e05b792452f0c92671.gz
* Initial revisioneschnett2001-03-01
darcs-hash:20010301114010-f6438-12fb8a9ffcc80e86c0a97e37b5b0dae0dbc59b79.gz