Joakim and Atgeirr,

I don't think we should restrict the use of the DEBUGF keyword to particular sections, for example it may be useful to use it in the GRID section to debug the PINCH keyword. I would also recommend that there is some way for the developers to list out the available debug options, so other developers are aware of them, just a simple list as they can always dig into the code if necessary. Perhaps you can combine this with Atgeirr's command line idea, may be:

enable-debug = {on, off (default), help}

I know Atgeirr cannot get enough of command line parameters, :-) -  but in this case I think it is a good idea. But we could also take the opportunity to reduce some of the command line options such as, -flow-linear-solver-verbosity and use the DEBUGF keyword instead, like

DEBUGF
"flow-linear-solver-verbosity=2"  "solver-verbosity=1"
/
There are probably more we could convert over time as well.

Also we should send the INFOSTEP report to the debug file instead of having a separate file, by:

DEBUGF
   "infostep"
/

Note, if I'm not mistaken, most of these vectors, if not all, are available as SUMMARY vectors, so could just hook them up to SUMMARY output.

I still think that default behavior of having nothing in the DEBUG file is the correct default., as per the commercial simulators behavior.

OPM User
[email protected]

On 03-Jun-21 18:36, [email protected] wrote:
Send Opm mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://opm-project.org/cgi-bin/mailman/listinfo/opm
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Opm digest..."

Today's Topics:

    1. Suggestion: new debug configuration (Joakim Hove)
    2. Re: Suggestion: new debug configuration (Atgeirr Rasmussen)
    3. Re: Suggestion: new debug configuration (Joakim Hove)
    4. Re: Suggestion: new debug configuration (Alf Birger Rustad)

_______________________________________________
Opm mailing list
[email protected]
https://opm-project.org/cgi-bin/mailman/listinfo/opm

_______________________________________________
Opm mailing list
[email protected]
https://opm-project.org/cgi-bin/mailman/listinfo/opm

Reply via email to