diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2006-05-11 14:20:34 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2006-05-11 14:20:34 +0000 |
commit | d74fb47b045f8660182e045779e81244f83710f1 (patch) | |
tree | 551c83f84205624ded4b3ac5b394f4c6ccd39a33 /COPYRIGHT | |
parent | 783c8163b39f692cafd93fad715e9040937d7bfc (diff) |
Introduce new boolean parameter IO::require_empty_output_directory
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
Diffstat (limited to 'COPYRIGHT')
0 files changed, 0 insertions, 0 deletions