| Commit message (Collapse) | Author | Age |
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@294 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@293 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@292 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
currently when called before the grid extension for IOUtil has been registered
(which is when IOUtils learns if the is a checkpoint recovery run or not), the
routine returns -1. However the documentation in the thorn guide states that
Thorn IOUtil provides an aliased function for other I/O thorns to call:
CCTK_INT FUNCTION IO_TruncateOutputFiles (CCTK_POINTER_TO_CONST IN cctkGH)
This function simply returns 1 or 0 if output files should or should not be
truncated.
Since there are thorns out there that take this to heart and test for
IO_TruncateOutputFiles() being true (ie non-zero) these thorns always overwrite
data during a recovery when calling IOUtils too early. This happened to Carpet
in ticket #908.
The attached patch makes IOUtil abort instead which seems better than silently
returning the wrong (since undocumented) answer. No actual user thorn should be
affected.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@289 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@257 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@256 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
|
|
|
|
|
|
|
| |
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@210 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
They are depreciated in BETA12 (not BETA13).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@170 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
a new one with a sorted list of all parameters set in the original parfile.
See description of parameters 'IO::parfile_write' and 'IO::parfile_name'
for details.
Closes Cactus-237 and Cactus-315.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@141 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
the Files page with HTTPDExtra.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@124 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@122 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@121 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@87 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@62 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@56 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed spxyd from ioGH structure
This went into IOASCII's GH extension where it is really needed.
- renamed InitIONum() into ParseVarsForOutput() which does the parsing
of varstring parameters
Fixes IO/130
- removed rfrTraverseGH() which is not needed in IOUtil
- create checkpoint dir via CCTK_mkdir()
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@36 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@34 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@33 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@20 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
|
|
|
|
|
| |
details.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@5 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|
|
parameters and register an IO extension.
Actual IO is done now by ASCIIIO, FlexIO, and HDF5IO.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@2 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
|