aboutsummaryrefslogtreecommitdiff
path: root/src/RestoreFile.c
Commit message (Collapse)AuthorAge
* Fixed small memory when using Util_snprintf().tradke2005-07-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@337 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use CCTK_BYTE instead of CCTK_CHAR.schnetter2005-01-29
| | | | | | | Store CCTK_BYTE as UINT8 instead of CHAR. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@334 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Be backwards compatible for group type codes when reading old checkpoint files.schnetter2003-10-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@295 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed a problem with recovering small distributed grid arraystradke2003-10-24
| | | | | | | which have zero size on some processors. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@292 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fix for recovery of grid scalars: compare their dimension against 0.tradke2003-10-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@291 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed compiler warnings for non-MPI configurations.tradke2003-01-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@268 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* For filereader: report the restored variables also with default setting fortradke2002-07-05
| | | | | | | IO::verbose. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@262 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Also print the iteration number of a recovered variable.tradke2002-07-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@261 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Extended the routine registered as IOFlexIO's filereader to select variablestradke2002-07-01
| | | | | | | | with a specific iteration number (see IOUtil's thorn documentation for an example). You must also update thorn IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@260 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Parameter names changes as announced in today's mail to users@cactuscode.org.tradke2002-05-06
| | | | | | | You must also update thorn IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@241 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Switched IOFlexIO to use the new Hyperslabbing API for outputting arbitrarytradke2002-04-26
| | | | | | | | hyperslabs. You must update thorn CactusBase/IOUtil now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@237 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying up the code to make it consistent with the structure in IOHDF5.tradke2002-04-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@230 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Support I/O for all the fixed-sized CCTK datatypes also.tradke2001-06-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@204 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@192 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Add the Cactus version as an attribute to the global attributes group.tradke2001-04-19
| | | | | | | | | | | This is also used during recovery to distinguish checkpoint and data files which were created before/after the recent changes to the timelevel naming scheme. This fixes PR IOFlexIO-620. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@184 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added string attributes 'parameter file' and 'creation date' to the outputtradke2001-03-21
| | | | | | | | | files. These should help identifying your datafiles later on. Also fixed couple of gcc compiler warnings. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@178 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* CCTK_CHAR -> CCTK_BYTEallen2001-02-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@177 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Macro name changesallen2000-09-22
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@157 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Bugfix for recovery if nprocs % ioproc_every != 0.tradke2000-05-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@129 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removed all the scandir(3) stuff which is now in IOUtil. Just calltradke2000-04-28
| | | | | | | IOUtil's generich parameter recovery routine instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@116 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changed names of PUGH functions to be uniform. Now all PUGH functionsgoodale2000-04-19
| | | | | | | | | should begin with PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@112 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Several things which I missed to commit individually but rather do it intradke2000-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | one go now: - checkpoint/recover parameters as a single string which could also be used for writing a parameter file - added routine to be scheduled at CCTK_RECOVER_PARAMETERS - automatically select the latest checkpoint file for recovery if IO::recover = "auto" was set - Use IOFlexIO::reuse_filehandles with a different meaning now: By default all IEEEIO output files are kept open all the time. This is the most efficient method for writing data. If you run out of system file handles you can enable this parameter then to use the pause/resume scheme of the IEEEIO lib. - automatically append data sets to already exisiting output files after restart from recovery; duplicate timesteps are **NOT** removed from the output files because IEEEIO lib cannot delete/overwrite individual data sets So the reader has to handle this, it should always choose the latest data set of a given timestep. - fixed rcsid warnings - use CCTK_Info() rather than printf() for giving verbose output git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@107 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixing bug when recovering from chunked files.tradke2000-04-10
| | | | | | | Also, do not register any IO methods if IOUtil and PUGH weren't activated. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@104 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changing MPI to CCTK_MPIallen2000-04-04
| | | | | | | This means you have to reconfigure before you next compile git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@100 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Output and cp/recovery for arrays of arbitrary size and dimstradke2000-03-27
| | | | | | | | | | | | (although tested only for maxdim <= 3 of course). The (identical) downsampling code in IOHDF5 and IOFlexIO is hard-coded for 3D arrays only. But this will be replaced by Gerd's fantastic hyperslabbing thorn in the very next days anyways :-) git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@99 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changes for new PUGH structuresallen2000-03-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@98 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* More stuff for cp/recovery.tradke2000-03-14
| | | | | | | | | | | | | | Changes to use the new interface for CCTK_ParameterWalk(). Preparations for calling parameter recovery routine by scheduler. Checkpoint only variables of active implementations. Fixed warnings when compiling with LAM-MPI or no MPI at all. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@96 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Made CactusPUGHIO thorns aware of future multi-patch or multi-block changestradke2000-02-18
| | | | | | | | | | | | | to PUGH. The current pGH extensions are now queried via Tom's pugh_pGH() routine. The 'identity_string' provided by PUGH for each GH goes into output filenames. Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@92 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removing USE_CCTK_ARGUMENTS and USE_CCTK_PARAMETERS since they areallen2000-02-05
| | | | | | | automatically included now git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@88 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* cctk_arguments -> cctk_Argumentsallen2000-01-27
| | | | | | | cctk_parameters -> cctk_Parameters git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@81 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added several stuff to IOFlexIO:tradke2000-01-21
| | | | | | | | | | - checkpointing/recovery of parameters - made 'out2D_every', 'out2D_vars', 'out3D_every' and 'out3D_vars' steerable - fixed compiler warnings - grdocs git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@78 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed a bug in recovering scalars.tradke2000-01-20
| | | | | | | Added grdoc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@77 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Replaced CCTK_OldGroupData() with CCTK_GroupData().tradke2000-01-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@76 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Adding USE_CCTK_PARAMETERSallen2000-01-12
| | | | | | | Changing CCTK_GroupData to CCTK_OldGroupData git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@71 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added checkpointing for parameters. Still needs some optimization.tradke1999-10-28
| | | | | | | | | | | | | | Recovery will follow soon. Also reactivated timers for checkpoint/recovery. Output this info needs to be improved somewhat. I like your timer stuff, Tom ! Thomas git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@65 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying up several things:tradke1999-10-27
| | | | | | | | | | | | | | | | | | - sp2xyz moved from PUGH's into IOFlexIO's GH extension call SetupSliceCenter() at startup to set up slice center for 2D output - fixed wrong indexing on ownership[] which caused buggy 2D output - use ParseVarsForOutput() instead of InitIONum() for parsing the out_vars parameter - decide which output dir shall be used by using CCTK_ParameterInfo() rather than comparing it with its old "outdir" default value - outdirs are always created now (not only if out_vars was non-empty) because IO methods might be invoked via CCTK_OutputVarAs() also - some variables renamed for better readability - fixed compiler warnings - hopefully get rid of empty IEEEIO subdir git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@62 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changed rnx etc to rnsizeallen1999-10-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@53 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Tidying header filesallen1999-10-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@50 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removed all the #ifdef CACTUSPUGH_PUGH stuff and check for existance of PUGHtradke1999-10-05
| | | | | | | in make.configuration.defn. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@47 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* A lot of parameter name changes, especially for IOallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@27 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Free the string returned by CCTK_GroupNameFromVarI after usagetradke1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@25 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include file name changesallen1999-07-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@24 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* New function names and changing commentsallen1999-07-26
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@21 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changing parameter names for IO. There should be one more change tomorrow,allen1999-07-18
| | | | | | | but then that should be it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@16 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* New names for Group function callsallen1999-07-08
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@14 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Changed CCTK_VARIABLE_INTEGER to CCTK_VARIABLE_INTallen1999-07-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@10 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Path name changes following rearrangement of packagesallen1999-06-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@7 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include file name changesallen1999-06-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@6 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Implementing new naming convention for variables on the cGH. See cGH.h forallen1999-06-25
| | | | | | | details. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@4 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* The hopefully final renaming of the FlexIO thorn.tradke1999-06-25
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@2 ebee0441-1374-4afa-a3b5-247f3ba15b9a