| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
"<parameter> = <value>" pairs by a newline delimiter, and its complement
IOUtil_SetAllParameters() do the reverse.
This fixes problems with checkpointing/recovery when parameter values themself
contained newlines.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@244 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
to "onefile".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@243 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
paramters in IO_TruncateOutputFiles().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@242 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently Cactus always truncates existing output files unless the
simulation has been recovered from a checkpoint (in which case existing
output files will get appended unless the parameter
IO::truncate_files_after_recovering is set to true).
Christian Ott requested that it should also be possible to always append
new datasets to existing output files. The new boolean I/O parameter
IO::truncate_files implements that. Its default value is true,
preserving the existing Cactus behaviour.
This applies patch http://www.cactuscode.org/old/pipermail/patches/2006-May/000169.html.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@240 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which can be used to test if IO::out_dir points to either a non-existing
or empty directory at simulation startup. If this parameter is set to "yes"
and an already existing IO::out_dir is found to have any contents
(eg. output files from a previous simulation which was using the same output
directory) Cactus will print an appropriate error message and abort,
as opposed to continuing and (potentially by accident) overwriting existing
files.
The default for IO::require_empty_output_directory is "no".
This applies patch http://www.cactuscode.org/old/pipermail/patches/2006-May/000168.html.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@239 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@238 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@237 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@228 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@222 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@221 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
messages from 1 to 2.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@220 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@218 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@216 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@215 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@214 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@210 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@207 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@206 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
to 0 by default.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@196 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@195 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@194 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
thorn which actually provides an activated implementation.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@193 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@191 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@184 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
out3D_downsample_[xyz].
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@181 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@176 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
parameter values.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@175 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@172 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
They are depreciated in BETA12 (not BETA13).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@170 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|