On 3rd June 2015 at 10:43, Joakim Hove wrote:
1.How to handle the situation when the deck asks for something we do not
support? Of course a warning is a natural solution; but if we just
succumbed to a warning immediately I fear people would generally not
even notice, and we would have lost the opportunity for a more principal
discussion.

I haven't been bothered much by this myself so I don't have any strong opinions, but I'll raise an idea for discussion: Throw exceptions, but let them be demoted to warnings by pragmas.

For example:

   RPTRST BASIC=6

could throw an exception, after which issue #487 gets the discussion starting on the tracker. Now, while waiting for the proper fix or direction to take, the immediate problem could be mitigated with:

   --@opm: warn=restart-timestep
   RPTRST BASIC=6

which would cause a warning to be issued and the setting then ignored (as before).

Make an infrastructure for handling this (throw-or-warn), but don't add pragmas until someone complains.

--
        Roland.

_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to