build failure with hermes master using trilinos

20 views
Skip to first unread message

vogt...@gmail.com

unread,
Jan 12, 2013, 7:11:07 PM1/12/13
to herm...@googlegroups.com
Hi,

When I build with trilinos, there's the following failure:

/home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:72:46: error: call of overloaded ‘Epetra_Map(unsigned int&, int, Epetra_SerialComm&)’ is ambiguous
/home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:72:46: note: candidates are:
In file included from /home/aavogt/wip/hermes/src/hermes-build/hermes_common/include/solvers/epetra.h:28:0,
                 from /home/aavogt/wip/hermes/src/hermes-build/hermes_common/src/solvers/epetra.cpp:25:
/usr/include/Epetra_Map.h:146:3: note: Epetra_Map::Epetra_Map(long long int, int, const Epetra_Comm&)
/usr/include/Epetra_Map.h:143:3: note: Epetra_Map::Epetra_Map(int, int, const Epetra_Comm&)


Adding some casts (see attached diff) makes it compile at least.

I use:

g++ (GCC) 4.7.2
trilinos-11.0.3

Regards,
Adam
epetra.diff

Lukas Korous

unread,
Jan 13, 2013, 5:56:26 AM1/13/13
to herm...@googlegroups.com
Hi Adam,

I am working on this, will let you know once it is fixed.

Regards,
Lukas


--
You received this message because you are subscribed to the Google Groups "hermes2d" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hermes2d/-/jHbgE36Gi70J.
To post to this group, send email to herm...@googlegroups.com.
To unsubscribe from this group, send email to hermes2d+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hermes2d?hl=en.



--
Lukas Korous

Lukas Korous

unread,
Jan 13, 2013, 6:40:25 AM1/13/13
to herm...@googlegroups.com
Hi Adam,

I fixed that, could you please verify? I also sent a bug report to Trilinos, as this is a bug on their side.

Thanks for reporting,
Should you need anything else, drop me a line,
Lukas
--
Lukas Korous

vogt...@gmail.com

unread,
Jan 13, 2013, 12:08:44 PM1/13/13
to herm...@googlegroups.com
Hi Lukas,

commit 14b33e610a296911cafed3e122e2b2360c805d59 fixes it for me too.

--
Adam
Reply all
Reply to author
Forward
0 new messages