[Trilinos-Users] Teuchos MpiComm
Alicia Klinvex
aklinvex at purdue.edu
Tue Dec 23 12:06:14 MST 2014
Hello David,
What are you trying to do with the MPI_Comm? There's a really good chance
that whatever it is, you can do it with the Teuchos::Comm itself.
- Alicia
On Tue, Dec 23, 2014 at 1:34 PM, David Hysom <hysom1 at llnl.gov> wrote:
> Hi,
>
> What is the correct way to get the underlying MPI_Comm object here:
>
> Teuchos::RCP<matrix_t> A...;
>
> //doesn't work:
> Teuchos::RCP< const Teuchos::MpiComm< int > > tr_comm = m_A->getComm();
>
> //works, but I don't have an MpiComm:
> Teuchos::RCP< const Teuchos::Comm< int > > tr_comm = m_A->getComm();
>
> //fails because I don't have an MpiComm
> Teuchos::RCP<const Teuchos::OpaqueWrapper<int> > cmm =
> tr_comm->getRawMpiComm();
>
> Thanks in advance for help with this!
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> https://software.sandia.gov/mailman/listinfo/trilinos-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141223/376e68bc/attachment.html>
More information about the Trilinos-Users
mailing list