[Trilinos-Users] Teuchos MpiComm
David Hysom
hysom1 at llnl.gov
Tue Dec 23 11:34:51 MST 2014
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!
More information about the Trilinos-Users
mailing list