info with mpi?

Asked by Paul Constantine on 2013-03-07

Is there a way to tell 'info' to only print if Process 0?

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Paul Constantine
Solved:
2013-03-07
Last query:
2013-03-07
Last reply:

Found it!

parameters["std_out_all_processes"] = False

It might be nice to have a list of all parameters on the website somewhere.

Anders Logg (logg) said : #2

On Thu, Mar 07, 2013 at 12:50:55AM -0000, Paul Constantine wrote:
> Question #223621 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/223621
> Status: Open => Solved
> Paul Constantine confirmed that the question is solved:
> Found it!
> parameters["std_out_all_processes"] = False
> It might be nice to have a list of all parameters on the website
> somewhere.

The problem with this is that it's a moving target. Parameters may
come and go. The best way to list the parameters is

info(parameters, verbose=True)

--
Anders