[Trilinos-Users] Teuchos MpiComm
David Hysom
hysom1 at llnl.gov
Tue Dec 23 12:17:44 MST 2014
We need want to use raw MPI calls, instead of using the
Teuchos Comm methods.
On 12/23/2014 11:06 AM, Alicia Klinvex wrote:
> 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
> <mailto: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
> <mailto: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/fce97ba2/attachment.html>
More information about the Trilinos-Users
mailing list