aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* When searching for a list of checkpoint files in recovery modetradke2006-02-13
| | | | | | | | | | | | IO::recover = "{auto|autoprobe}": check for a '.file_<processor>' suffix for chunked output files (and not only for '.file_0' as processor 0's output). This allows for recovery from a chunked checkpoint in auto mode even if not all the chunked checkpoint files are visible to all processors (eg. if the checkpoint directory is local on a compute node on a cluster). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@236 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* The general routine to parse the value of IO*::out_vars parameters now alsotradke2005-10-05
| | | | | | | | | checks for the option "out_unchunked = 'true|false|yes|no'" which can be used to overwrite the general output mode (as defined by IO::out_unchunked) on a per-variable basis. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@230 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Check for valid variable index in IOUtil_DefaultIORequest().tradke2005-07-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@228 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Set the default slice centre for 1D/2D output to be the centre of the boxtradke2005-06-16
| | | | | | | if the user specified invalid values in the parfile. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@226 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Parse option "refinement_levels" in an I/O parameter option string.tradke2005-02-04
| | | | | | | | If specified, it must be an array of positive integers selecting individual refinement levels to output. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@223 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Do not recover accumulator parameters.tradke2005-01-13
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@222 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Add missing #include <stdio.h> statementschnetter2004-12-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@221 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Decreased warning level for "existing parameter file will not be overwritten"tradke2004-12-08
| | | | | | | messages from 1 to 2. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@220 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Provide an aliased function IO_TruncateOutputFiles() for other I/O thornstradke2004-11-17
| | | | | | | | | to check whether or not to truncate existing output files. The default is to not truncate after recovering. This can be overwritten by the new boolean parameter IO::truncate_files_after_recovering. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@219 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removed definition of deprecated routine IOUtil_PrepareFilename().tradke2004-11-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@218 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Changed non-standard snprintf to Cactus Util_snprintf for portability.goodale2004-10-29
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@216 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* assert fixyye002004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@215 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Erik preferred filereader_ID_dir to filereader_dirswhite2004-07-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@214 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added new parameter IO::filereader_dirswhite2004-07-28
| | | | | | | | | | | | See bug 1809 doc/documentation.tex: Ran through spellchecker Fixed a little grammar Changed square brackets to curly ones in doc for filereader_ID_vars git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@213 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added new routine IOUtil_AssembleFilename() to generate a checkpoint/filereadertradke2004-06-30
| | | | | | | | | | | filename and returns the pointer to that (allocated) string. This routine is meant to replace IOUtil_PrepareFilename() which is now marked as deprecated. This closes PR IO/1791: "IOUtil_PrepareFilename does not check buffer length". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@212 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Don't generate separate checkpoint filenames for different refinement levels.tradke2004-06-28
| | | | | | | PUGH doesn't care, and Carpet stores everything into a single checkpoint file. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@211 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Parse the 'IO::filereader_ID_vars' parameter for invalid variable/group names.tradke2004-06-23
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@210 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Extended API for IOUtil_ParseOutputFrequency() and IOUtil_ParseVarsForOutput()tradke2004-06-09
| | | | | | | | by a flag parameter indicating whether to stop on parsing errors. Requires cvs updates of all I/O thorns using this API. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@209 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed wrong defaults for 2D slice center setup.tradke2004-06-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@207 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed a bug in the 1D line / 2D slice center setup.tradke2004-05-14
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@206 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Call aliased function Coord_GetDefaultSystem() to get the default coordinatetradke2004-05-09
| | | | | | | | | system for setting up 1D line and 2D slice centers. This closes PR IO/1681: "IOUtil still uses the old CCTK_Coord functions rather than the CoordBase functions". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@204 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Add a check 'with_ghostzones' to the ioRequest structure and initialize ittradke2003-11-17
| | | | | | | to 0 by default. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@196 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Change the way in which pointers are passed to and from Fortran.schnetter2003-10-28
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@195 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Don't call CCTK_GroupgshVI() on grid scalar variables.tradke2003-10-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@194 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fix for the recovery of parameters: use CCTK_ActivatingThorn() to find thetradke2003-09-04
| | | | | | | thorn which actually provides an activated implementation. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@193 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Evaluate the 'IO::verbose' parameter as a keyword (not as boolean).tradke2003-06-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@191 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed IOUtil_1DLines() and IOUtil_2DPlanes() to setup slice centers even iftradke2003-06-12
| | | | | | | | | no coordinate system is available but slice index coordinates were specified by the user instead. This closes PR CactusBase/1536. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@190 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Changed the recovery function registry to use a table to store function pointerstradke2003-03-26
| | | | | | | | | rather than a cHandledData data structure (which can store only 'void *' pointers). This prevents potential problems on platforms where function pointers have a different memory representation than data pointers. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@187 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removed superfluous newline in checkpoint timing output.tradke2003-01-21
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@184 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Old I/O parameters are gone now. So we can get rid of internal routinestradke2003-01-20
| | | | | | | | which checked whether an old I/O parameter was set, and then automatically set the value of its (new) counterpart. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@183 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Use the new out_downsample_[xyz] parameters rather than the depepricated onestradke2003-01-20
| | | | | | | out3D_downsample_[xyz]. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@181 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Copy pointers to string parameters to a local variable before modifying it.tradke2003-01-06
| | | | | | | | | This prevents potential future problems in pointer assignments when we declare a pointer to a string parameters constant. This closes Cactus/1350. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@180 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Also set O_TRUNC in the flags argument for open(2) so that existing parametertradke2002-10-31
| | | | | | | | files are truncated on overwrite. This closes PR CactusBase-1285. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@179 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Overwrite an existing parfile unlesstradke2002-07-17
| | | | | | | | | - it is identical with the original parfile - this is a recovery run This closes PR CactusBase/884. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@177 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed a bug in parsing the list of filereader input files.tradke2002-07-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@176 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed a bug in parsing the 'direction' key in an option string for 'out_vars'tradke2002-07-05
| | | | | | | parameter values. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@175 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed allocation of string buffer in IOUtil_GetAllParameters(). With the oldtradke2002-07-04
| | | | | | | | scheme it might have allocated not enough bytes for very large parameter values. This closes PR CactusBase/1115. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@174 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Extended the generic filereader routines to select variables with a specifictradke2002-07-01
| | | | | | | iteration number (see IOUtil's thorn documentation for an example). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@173 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added a fortran wrapper for IOUtil_RecoverVarsFromDatafiles().tradke2002-06-25
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@172 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Changed the warnings about deprecated I/O parameters.tradke2002-06-07
| | | | | | | They are depreciated in BETA12 (not BETA13). git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@170 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Added routine IOUtil_ParseOutputFrequency() and slightly changed the APItradke2002-05-28
| | | | | | | | | | for the existing routine IOUtil_ParseVarsForOutput(). Both routines use the table API to parse option strings for the 'out_every' option and for hyperslab options. See the thornguide eg. for IOHDF5 for details. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@166 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved the DECLARE_CCTK_PARAMETERS macro after a call to ↵tradke2002-05-23
| | | | | | | | | IOUtil_FixRecoveryParameters() so that the new parameter settings are taken. This should fix PR CactusIO/1068. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@165 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Parameter names changes as announced in today's mail to users@cactuscode.org.tradke2002-05-06
| | | | | | | You must update all other I/O thorns now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@163 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed a printf statement (too many function arguments).tradke2002-05-05
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@162 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Fixed warning message for slice center setup.tradke2002-05-03
| | | | | | | This closes PR CactusBase/980. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@160 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Cannot downgrade precision for CCTK_SCALAR output.tradke2002-04-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@159 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Moved the I/O request description and parsing routines from IOHDF5Util to IOUtiltradke2002-04-26
| | | | | | | so that they can be shared by all I/O thorns now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@158 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Removed routine IOUtil_RestartFromRecovery(). Now the recovery info is heldtradke2002-04-15
| | | | | | | | | in IOUtil's GH extension. You also need to update thorns IOBasic, IOASCII, and IOFlexIO now if you didn't do so yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@157 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Create the output directory if it doesn't exist yet, before trying to copytradke2002-03-28
| | | | | | | | the parameter file into it. This closes PR CactusBase/948. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@155 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
* Don't stop if 'IO::recover = "autoprobe"' and recovery directory doesn't exist.tradke2002-03-18
| | | | | | | This closes PR CactusPUGHIO/903. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@153 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a