aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5
Commit message (Collapse)AuthorAge
* 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
* Beautified parfiles. Also, don't set any parameters at recovery other thantradke2004-06-28
| | | | | | recovery, out_dir, and cctk_itlast. darcs-hash:20040628095841-1d9bf-3d7dc92301bdd3addff7510df3e9686ea68c1c74.gz
* Recreated checkpoint file and output datafiles because it was broken aftertradke2004-06-28
| | | | | | a variable name change in CarpetIOASCII. darcs-hash:20040628094110-1d9bf-a7f270de47a14ebc4239eacc0908faff6af2ed20.gz
* Parfile to generate a checkpoint file.tradke2004-06-28
| | | | darcs-hash:20040628093937-1d9bf-71fc13748248a2329bdda3580d03b07eb2f0123f.gz
* Use an explicit temporary C++ string object to prevent segfaults.schnetter2004-06-26
| | | | darcs-hash:20040626103909-07bb3-6d3058dff16400e5f7e4aa7a83cc995ae97913b9.gz
* Indent the code a bit more consistently.schnetter2004-06-25
| | | | | | | | | | Indent the code a bit more consistently. Move some variable declarations closer to their use, and declare each variable only once. Use C++ string functions to calculate the file name. darcs-hash:20040625105430-07bb3-02fe212e57dd9723ab0705ea89b96336a08fcd08.gz
* Indent the code a bit more consistently.schnetter2004-06-25
| | | | | | | | | | Indent the code a bit more consistently. Move some variable declarations closer to their use, and declare each variable only once. Use C++ string functions to calculate the file name. darcs-hash:20040625104402-07bb3-7f0269b5429204142506e4a642da489492f6f419.gz
* Initialise "delta" before using it.schnetter2004-06-25
| | | | darcs-hash:20040625095704-07bb3-470ee4df6d5c8fb34380954e742f67c6cf3d80c0.gz
* Document IO::out_single_precision parameter.tradke2004-06-22
| | | | darcs-hash:20040622095620-1d9bf-e4bac972c90463b068742c005e1df75cf3d3cacf.gz
* Implement single-precision HDF5 output.tradke2004-06-22
| | | | darcs-hash:20040622094134-1d9bf-8450282242efffe36631334c15c11dc3715b8686.gz
* Use boolean parameter 'out_single_precision' from IO.tradke2004-06-22
| | | | darcs-hash:20040622093012-1d9bf-92fd7a789157281ac2b5c8bfd8d2acec4706915d.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
* USES BOOLEAN strict_io_parameter_checktradke2004-06-14
| | | | darcs-hash:20040614073305-1d9bf-c42059693a8d87aae8fe1e1df172716d3376a433.gz
* Use "requires thorns" to ensure that the thorns are activated in theschnetter2004-06-08
| | | | | | | Use "requires thorns" to ensure that the thorns are activated in the correct order. darcs-hash:20040608190925-07bb3-70b0ac8ee8e570c0b7fff50b02395a288482257d.gz
* Carpet/WaveToy recovery test case for 4 cpus.cott2004-06-07
| | | | darcs-hash:20040607093019-19929-1fcc19ce88d347d656f8f4908e552d6c50e58bbf.gz
* Recovery test case for 1 CPUcott2004-06-07
| | | | darcs-hash:20040607092228-19929-8555cf7a779133c3bd7786552a956b3d9a080428.gz
* This fixes my previous commit...cott2004-06-07
| | | | darcs-hash:20040607075306-19929-df22ca2f422e731bccac57549e2489df1f7e2e32.gz
* Slight change in Checkpoint file naming scheme: Checkpoint files from single ↵cott2004-06-07
| | | | | | | | and multiple cpu runs now have the same names. This makes recovery easier. darcs-hash:20040607072657-19929-bbcc6af08f6604dcc0c73cd4f74c694aa2246d90.gz
* Added option "divisor" to out3D_criterion.bzink2004-06-04
| | | | darcs-hash:20040604081756-5b8bb-9b67f6d827ffd5f5cf152c1ff815a0d4c73b3431.gz
* Removed a small bug.bzink2004-06-02
| | | | darcs-hash:20040602145245-5b8bb-d645fef538d0296593ceae11f575d884bc92bd0c.gz
* Added an option to read CarpetRegrid::refinement_levels from the checkpointbzink2004-06-02
| | | | | | file instead from the parameter file. This helps with queued runs. darcs-hash:20040602120608-5b8bb-ae803b785ffc6b06a5740f2f91562f65e792f993.gz
* Inserted test and adjustment for incorrect checkpoint_every.bzink2004-06-02
| | | | darcs-hash:20040602105630-5b8bb-1a601e5fbef4f01669be8f4b8a2209cacbbda2a5.gz
* Removed parameter steering of CarpetRegrid::regrid_every. This is nowbzink2004-06-02
| | | | | | done directly by Carpet. darcs-hash:20040602051256-5b8bb-7f03af1e106abde3feae304288f2cfd64e482bee.gz
* Fix two small memory leaks.schnetter2004-05-31
| | | | darcs-hash:20040531165920-07bb3-ae62007c27f4e2dfbf025d0ee3d922a90ba53c16.gz
* Prevent hangups after recovery.schnetter2004-05-31
| | | | darcs-hash:20040531165841-07bb3-ac59814cd9c8fbc39b1c6264662812a4554b62b2.gz
* Activate storage for helper variables.schnetter2004-05-31
| | | | darcs-hash:20040531164944-07bb3-163853e70c496cb73763dce83635a13cc9e264f4.gz
* Another dirty bad ugly hack to make recovery work again with the most recent ↵cott2004-05-29
| | | | | | CarpetRegrid update. darcs-hash:20040529202529-19929-522389795448d6402bd9036d4ecd5228fcd66f75.gz
* Fix recovery problem with newest Carpet version.cott2004-05-29
| | | | darcs-hash:20040529163647-19929-bf49438402281c3ad14a995856b75dbb5428cea7.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
* Included steering of regrid_every after recovery. This is for conveniencebzink2004-05-12
| | | | | | | | and can be taken out when Carpet does this automatically. -- bzink darcs-hash:20040512081321-5b8bb-acfd2001e95cf51f48b4c0c901a57ae6d15eb76f.gz
* Undo interface/capability update, because now Carpet conflicts withschnetter2004-05-04
| | | | | | | | Undo interface/capability update, because now Carpet conflicts with PUGH. Need to sort things out, maybe switch temporarily back to the "requires thorns" mechanism. darcs-hash:20040504205239-07bb3-771c6ec96a2b454d63c87a6dc7a1f44f62cd8fd7.gz
* Begin to clean up inheritance and requires relationshipsschnetter2004-05-04
| | | | darcs-hash:20040504200954-07bb3-cd9f17c981ce37247fa2122858b10b46425f678a.gz
* Fixed a bug when generating the tmp filename.bzink2004-04-20
| | | | darcs-hash:20040420124958-5b8bb-4e8ad7d1ef9b867abf4552400452fc3ade1156c3.gz
* change naming of temporary checkpoint filecott2004-04-19
| | | | darcs-hash:20040419111724-19929-78d00f0279280fb6baef5ede6867a596cdbfe63e.gz
* Use "requires" instead of "requires thorns".schnetter2004-04-18
| | | | darcs-hash:20040418120959-07bb3-05050a71e475171cac6b293de35118e4af8df5ba.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
* Use "." instead of "" for the default input directory, because theschnetter2004-04-09
| | | | | | | Use "." instead of "" for the default input directory, because the latter translates to the root directory. darcs-hash:20040409163214-07bb3-ff94a25308c9978c3546ed8f2643c7694f584dbd.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
* Changed dynamic array allocation into vector class construction.bzink2004-03-26
| | | | darcs-hash:20040326145112-5b8bb-47925093e213929aaeef0df5fd39460d94adffae.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
* Some par files for testingcott2004-03-23
| | | | darcs-hash:20040323093840-19929-2134f17d56e9600f4796e5ced012258a11e9989c.gz
* more optimizationcott2004-03-23
| | | | darcs-hash:20040323091330-19929-fdcdd5683b6728e216165345d590de48351a4030.gz
* another bugfixcott2004-03-23
| | | | darcs-hash:20040323084716-19929-b906d8ecc9cfc5170ae565e16847a4e67439a928.gz