aboutsummaryrefslogtreecommitdiff
path: root/src/DumpGH.c
Commit message (Collapse)AuthorAge
* IOFlexIO: Adapt to the new parsing API in IOUtilHEADsvnmasterschnetter2009-12-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@353 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Don't remove an initial data checkpoint file if IO::checkpoint_keep is set totradke2005-11-16
| | | | | | | a value larger 0. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@343 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added necessary logic to implement IO::checkpoint_keep as steerable parameter.tradke2005-06-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@336 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
* Add missing #include <stddef.h> and #include <stdio.h> statements.schnetter2004-12-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@333 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use the new routine IOUtil_AssembleFilename() to generate filenames fortradke2004-06-30
| | | | | | | | | checkpoint/filereader files. This closes PR CactusPUGHIO 1061: "IOHDF5/DumpGH.c/Checkpoint writes to strings without checking the string lengths". git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@327 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* When looping over all groups for checkpointing: skip groups with no variablestradke2003-11-24
| | | | | | | | attached to them (eg. vector groups with vector length 0) and zero-sized groups (grid arrays with SIZE=<parameter> and parameter = 0). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@300 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* For checkpointing: set the with_ghostzones flag in the ioRequest structure ↵tradke2003-11-17
| | | | | | | | | to true. Note: you will need to update IOUtil also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@296 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Use CCTK_GroupStorageIncrease() to get the number of active timelevels fortradke2003-07-14
| | | | | | | checkpointing. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@282 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Checkpoint active timelevels only. This closes PR BetaThorns/1564.tradke2003-07-14
| | | | | | | | Currently the number of active timelevels is determined by calling PUGH_NumTimeLevels() because there is no such flesh counterpart. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@280 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fix for checkpointing grid arrays which don't have any points on a processor.tradke2003-06-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@279 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed wrong GH extension name ("IOHDF5" instead of "IOFlexIO").tradke2003-02-11
| | | | | | | | This caused termination checkpoints not being created. Closes PR CactusPUGHIO/1383. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@273 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Including "Hyperslab.h" isn't neccessary anymore since we are using functiontradke2002-11-06
| | | | | | | aliases now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@265 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* During checkpointing, also check individual timelevels if they have storagetradke2002-09-04
| | | | | | | assigned. This closes PR BetaThorns/1224. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@263 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Allow the 'out_every' option in option strings to set the output frequencytradke2002-05-28
| | | | | | | | | | | | for individual variables. Allow hyperslab options 'origin', 'direction', 'extent', and 'downsample' in option strings to specify hyperslab selections for individual variables. You also need to update CactusBase/IOUtil now. See the thornguide for a description and an example. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@249 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Save the iteration number of the last checkpoint and don't dump a terminationtradke2002-05-21
| | | | | | | | checkpoint if it was already written as an evolution checkpoint before. This closes PR IO/1058. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@243 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
* For checkpoint files, save all parameters (not just the ones which have beentradke2002-03-05
| | | | | | | set before). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@227 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Added const qualifier to the 'cGH *' argument of some more IO functions.tradke2001-11-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@221 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Unlink an existing file before renaming a temporary cp file to it.tradke2001-06-22
| | | | | | | This is needed for Windows where rename(2) isn't POSIX compatible. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@206 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed a bug in my latest commit.tradke2001-05-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@202 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Before checkpointing, synchronize only those groups which have storage assigned.tradke2001-05-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@201 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* For multiple timelevels, do not checkpoint the oldest.tradke2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@197 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Checkpoint all timelevels from 0 up to NumTimeLevels() - 1.tradke2001-05-10
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@196 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
* Explicitly cast a 'const char *' pointer to 'void *' otherwise T3E's C ↵tradke2001-05-04
| | | | | | compile won't eat it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@187 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Checkpoint the current timelevel and all others except the eldesttradke2001-04-22
| | | | | | | (in case there's more than just one). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@185 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
* Changing timelevel used for IO.allen2001-04-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@183 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
* Reactivated the termination checkpoint routine.tradke2000-10-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@160 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Removing prototypes for CCTK_MainLoopIndex since that is now overloadablegoodale2000-10-05
| | | | | | | | | and the definitions here conflict with the ones coming in from cctk.h. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@158 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Now the steerable checkpointing parameters are checked within the checkpointtradke2000-09-21
| | | | | | | routines. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@156 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Include ioutil_AdvertisedFiles.h and ioutil_CheckpointRecovery.htradke2000-09-21
| | | | | | | instead of ioGH.h. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@153 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed the timer stuff for checkpointing/recovery which now is organizedtradke2000-06-29
| | | | | | | | | as an array of timers. Also routine IOUtil_PrintTimings() is called to output timer info for all available timers. And I shortened the trailing line in this output (BR CactusPUGHIO-IOFlexIO/382). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@133 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Using the SetMainLoopIndex() and MainLoopIndex() from CCTK because PUGH'stradke2000-06-27
| | | | | | | are gone. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@132 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Switching order of ".chkpt" and ".it_<iteration>" suffixes in outputtradke2000-04-28
| | | | | | | filenames. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@115 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
* Sync only variables of active implementations.tradke2000-04-19
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@109 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
* 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
* 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
* Changed return type of CCTK_ParameterWalk().tradke2000-02-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@93 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
* Final fixes for wrong function namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@87 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed prototype problem identified by the washu indies, and fixed a coupleallen2000-02-03
| | | | | | | | | of function name changes I'd missed earlier Cactus/215 git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@86 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* New function and structure namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@85 ebee0441-1374-4afa-a3b5-247f3ba15b9a
* Fixed compiler warnings for assigning const char * to char *tradke2000-02-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@84 ebee0441-1374-4afa-a3b5-247f3ba15b9a