[Trilinos-Users] Teuchos::TimeMonitor::summarize problem with local communicators

Bartlett, Roscoe A. bartlettra at ornl.gov
Thu Dec 8 13:30:26 MST 2011


Question below ...

> > Is there a special reason why the summarize method takes more or less
> > automatically the MPI_COMM_WORLD communicator.
> 
> 1. Because it was a legacy interface which I got stuck supporting ;-)
> 
> 2. So that summarize() works in packages that have no communicator
> concept (e.g., Anasazi and Belos).
> 
> > I'm working with a split communicator and not all of my processes
> > call the summarize. Hence, some of my processes wait in front of several
> > "barrier (*pComm)" calls within the summarize but the remaining
> > processes will never reach these barriers and my whole simulation stops.
> >
> > An alternative would be to add a further argument to the summarize
> > method that includes a potential local communicator. The default can of
> > course be the MPI_COMM_WORLD.
> 
> This is not very hard for us to do.  We may have to give the new method a
> different name or otherwise change the interface so as to retain backwards
> compatibility.
> 
> I'm the person who would likely have to implement this.  You are welcome to
> communicate with me directly regarding the urgency of this request, so that I
> can prioritize tasks.

[Bartlett, Roscoe A.] 

Can you use Teuchos::Comm instead of raw MPI for this?

-Ross





More information about the Trilinos-Users mailing list