[Trilinos-Users] Tpetra HybridPlatform Error:: No matching node type
SungHwan Choi
sunghwanchoi91 at gmail.com
Wed Oct 15 06:16:30 MDT 2014
Dear all,
Hi, I am beginer of Tpetra::Hybird Platform.
When I run my code, I met a error. Error message is
terminate called after throwing an instance of 'std::runtime_error'
what(): Tpetra::HybridPlatform: No matching node type on rank 0
If you have anything related to this error message, please let me know.
My code is following
Teuchos::oblackholestream blackhole;
Teuchos::GlobalMPISession mpiSession(&argc,&argv,&blackhole);
Teuchos::RCP<const Teuchos::Comm<int> > comm =
Teuchos::createMpiComm<int>(Teuchos::opaqueWrapper<MPI_Comm>(MPI_COMM_WORLD));
std::string machine_list(
"<ParameterList>
"
" <ParameterList
name='%1=0'> "
" <Parameter name='NodeType' type='string'
value='Kokkos::OpenMPNode'/> "
" <Parameter name='Verbose' type='int'
value='1'/> "
" <Parameter name='Num Threads' type='int'
value='1'/> "
"
</ParameterList>
"
"</ParameterList>
"
);
Teuchos::ParameterList machPL;
Teuchos::updateParametersFromXmlString(machine_list, inOutArg(machPL));
cout << machPL <<endl;
Tpetra::HybridPlatform platform(comm, machPL); // Error occur!!
Sincerely
Sunghwan Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141015/6d1827a0/attachment.html>
More information about the Trilinos-Users
mailing list