Hello!

With the exposure of the MPI_COMM we no longer have MPI aware logging
system. It would be nice to get that back again. We probably have had this
discussion previously but it would be nice to reiterate it here.

I suggest that we make it possible to set an MPI_COMM to the main Logger,
so that we keep the interface to all log functions as is.

void set_log_mpi_comm(MPI_COMM comm);

Then we use the MPI_COMM of the Logger to determine what process the log
message should be visible on. By default it is set by MPI_COMM_WORLD.

I am also not happy with the parameter name:

  "std_out_all_processes"

I think it is more useful to explicitly use:

  "std_out_rank_0" : False/True

or

  "std_out_rank" : -1/0/...

Where the latter means that one can define what rank std out should be
active on, and the former means that if True, we only display std out on
rank 0.

What ya think?

Johan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to