grinsfem / grins

Multiphysics Finite Element package built on libMesh
http://grinsfem.github.io
Other
47 stars 39 forks source link

How to handle screen/terminal output #131

Open pbauman opened 10 years ago

pbauman commented 10 years ago

Right now, there are several different screen-options for controlling when stuff gets output/printed to the terminal. E.g. there are separate options for printing the enable physics, the enable QoI's, EquationSystem info, Mesh info, ... I think I've decided that this is stupid. Because, really, I either want 1. Complete silence (no output), 2. Informative output, and maybe 3. OMFG what's going on output. Also, the vast proliferation of options is a documentation nightmare.

What are thoughts on this? I feel like the majority of the print/verbose/quiet options could be replace with [screen-options] output_verbosity = {0,1,2} or something similar. @roystgnr, @nicholasmalaya, @coreymbryant, I know y'all are starting to/have been using grins, so feel to register your opinion. Anyone else watching this is also welcome to register an opinion.

nicholasmalaya commented 10 years ago

I like this, as long as the default is to keep the output to a minimum. I prefer, 'quiet, unless called upon'.

coreymbryant commented 10 years ago

I like the 3 levels of output, and I agree with @nicholasmalaya, default to quiet.

I would say keep some of the granularity in terms of solver output though; sometimes its nice to have that separate from the physics, QoI, es, mesh output. Maybe something thats set by default based on verbosity level but with an option to turn it on/off separately.

roystgnr commented 10 years ago

I like the three levels, I like the separately-overrideable granularity, but my preference would be to default to "level 1" rather than "level 0" verbosity.