[Trilinos-Users] [EXTERNAL] Error compiling with PyTrilinos support

Bill Spotz wfspotz at sandia.gov
Tue Oct 25 11:36:29 EDT 2016


This has already been reported, so no pull request is necessary.

Thanks, Mark!

> On Oct 25, 2016, at 9:24 AM, Hoemmen, Mark <mhoemme at sandia.gov> wrote:
> 
> On 10/25/16, 9:04 AM, "Trilinos-Users on behalf of trilinos-users-request at trilinos.org" <trilinos-users-bounces at trilinos.org on behalf of trilinos-users-request at trilinos.org> wrote:
>> Date: Wed, 05 Oct 2016 19:54:03 +0000
>> From: Mike Atambo <mikeat4999 at gmail.com>
>> To: "trilinos-users at trilinos.org" <trilinos-users at trilinos.org>
>> Subject: Re: [Trilinos-Users] [EXTERNAL] Error compiling with PyTrilinos support
>> 
>> Here is what happens with GCC 6.2.0:
>> 
>> …/Trilinos/packages/PyTrilinos/src/PyTrilinos_Tpetra_Util.cpp:
>> In function ?PyObject* PyTrilinos::convertToDimData:
>> …/Trilinos/packages/PyTrilinos/src/PyTrilinos_Tpetra_Util.cpp:66:31:
>> error: ISO C++ forbids declaration of ?type name? with no type
>> [-fpermissive]
>> Teuchos::RCP< const Tpetra::Comm< int > > comm = tm->getComm();
>>                             ^~~~
>> …/Trilinos/packages/PyTrilinos/src/PyTrilinos_Tpetra_Util.cpp:66:43:
>> error: template argument 1 is invalid
> 
> Try replacing Tpetra::Comm with Teuchos::Comm.  If that works, please submit as a pull request.  Thanks!
> 
> mfh
> 
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list