[ET Trac] [Einstein Toolkit] #1102: when using the file reader, mark variables not requested fro reading as fully read
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Sep 21 11:23:28 CDT 2012
#1102: when using the file reader, mark variables not requested fro reading as
fully read
--------------------+-------------------------------------------------------
Reporter: rhaas | Owner: eschnett
Type: defect | Status: new
Priority: minor | Milestone:
Component: Carpet | Version:
Keywords: |
--------------------+-------------------------------------------------------
right now this causes many level 2 warnings about looking in another file
for this variable. The run eventually succeeds since CarpetIOHDF5 silently
continues if it is unable to read anything at all for a given variable
(ie. it only aborts if a variable is read only partially but not if it is
not read a all since it is missing from the fileset).
The attached patch marks these variables as being fully read the same way
the ignored variables are handled and adds some further checks if the
reader is called from the FilerReader rather than from recovery.
The do_inVars logic (explained in the source) is to possibly read a
variable if either do_inVars == NULL (corresponds to "all" variables) or
do_inVars[vindex] != 0 (which can be positive or negative). As it is right
now I think the later checks that end in "continue" are now superfluous.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1102>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list