info with mpi?

Asked by Paul Constantine

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:
Last query:
Last reply:
Revision history for this message
Paul Constantine (paul-g-constantine) said :
#1

Found it!

parameters["std_out_all_processes"] = False

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

Revision history for this message
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