[Trilinos-Users] internal compiler error with GCC 4.9.1

Nico Schlömer nico.schloemer at gmail.com
Tue Feb 10 13:00:07 MST 2015


>    -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON

This fixed the issue, cf. [1,2]. Thanks!

–Nico


[1] https://launchpadlibrarian.net/197223266/buildlog_ubuntu-vivid-amd64.trilinos_11.15~20150210-vivid2_UPLOADING.txt.gz
[2] https://launchpadlibrarian.net/197231199/buildlog_ubuntu-utopic-amd64.trilinos_11.15~20150210-utopic3_UPLOADING.txt.gz


On Tue, Feb 10, 2015 at 1:41 PM, Bartlett, Roscoe A.
<bartlettra at ornl.gov> wrote:
>> > Are you using explicit template instantiation?
>>
>> I'm not setting the respective option explicitly; don't know what the
>> default is. Full config details are at [1] (search for
>> dh_auto_configure).
>
> The default for Trilinos is OFF.  To turn it on, pass in:
>
>    -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION=ON
>
> See:
>
>    https://tribits.org/doc/TribitsBuildQuickRef.html#enabling-explicit-template-instantiation-for-c
>
> I don't think we can make that the default because there are some Trilinos packages that don't work correctly when you enable ETI.  (I will let you discover yourself which packages these are.  I just hope you don't enable them :-))
>
> -Ross
>
>
>> [1] https://launchpadlibrarian.net/197104206/buildlog_ubuntu-utopic-
>> amd64.trilinos_11.15~20150209-utopic1_FAILEDTOBUILD.txt.gz
>>
>>
>> On Tue, Feb 10, 2015 at 12:42 PM, Bartlett, Roscoe A.
>> <bartlettra at ornl.gov> wrote:
>> > Are you using explicit template instantiation?
>> >
>> > -Ross
>> > ________________________________
>> > From: trilinos-users-bounces at software.sandia.gov <trilinos-users-
>> bounces at software.sandia.gov> on behalf of Nico Schlömer
>> <nico.schloemer at gmail.com>
>> > Sent: Tuesday, February 10, 2015 3:08:11 AM
>> > To: trilinos-users at software.sandia.gov; Jonathan Hu
>> > Subject: [Trilinos-Users] internal compiler error with GCC 4.9.1
>> >
>> > Hi all,
>> >
>> > For a few days, I'm getting a nasty `internal compiler error` when
>> > compiling Trilinos with MueLue/Stratimikos with GCC 4.9.1 [1]:
>> > ```
>> > [...]
>> > g++: internal compiler error: Killed (program cc1plus)
>> > Please submit a full bug report,
>> > with preprocessed source if appropriate.
>> > See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
>> > packages/muelu/adapters/CMakeFiles/trilinos_muelu-
>> adapters.dir/build.make:80:
>> > recipe for target
>> > 'packages/muelu/adapters/CMakeFiles/trilinos_muelu-
>> adapters.dir/stratimikos-tpetra/Stratimikos_MueluTpetraHelpers.cpp.o'
>> > failed
>> > make[4]: *** [packages/muelu/adapters/CMakeFiles/trilinos_muelu-
>> adapters.dir/stratimikos-tpetra/Stratimikos_MueluTpetraHelpers.cpp.o]
>> > Error 4
>> > make[4]: *** Waiting for unfinished jobs....
>> > [...]
>> > ```
>> >  With GCC 4.8.2, it all seems fine [2].
>> > Has anyone else seen this yet?
>> >
>> > Cheers,
>> > Nico
>> >
>> >
>> > [1] https://launchpadlibrarian.net/197104206/buildlog_ubuntu-utopic-
>> amd64.trilinos_11.15~20150209-utopic1_FAILEDTOBUILD.txt.gz
>> > [2] https://launchpadlibrarian.net/197062548/buildlog_ubuntu-trusty-
>> amd64.trilinos_11.15~20150209-trusty1_UPLOADING.txt.gz
>> > _______________________________________________
>> > Trilinos-Users mailing list
>> > Trilinos-Users at software.sandia.gov
>> > https://software.sandia.gov/mailman/listinfo/trilinos-users


More information about the Trilinos-Users mailing list