[ET Trac] [Einstein Toolkit] #221: Simfactory should complain about unused arguments
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Sun Mar 4 03:54:49 CST 2012
#221: Simfactory should complain about unused arguments
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Resolution: | Keywords:
-------------------------+--------------------------------------------------
Comment (by rhaas):
PETSc has the same problem: a central options database of all command line
options but no central place where options are defined so the main code
does not know which options are valid. Their solution is to warn if at the
end of the run, there are any never used options left in the database. The
attached patch implements this feature for command line options (but does
nothing for eg options taken from machine databases, since those are
always present). This is a band-aid until we can come up with something
better. It also does nothing about unused arguments, since there does not
seem to be a central location where access to arguments could be tracked.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/221#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list