[Trilinos-Users] Trilinos (Tpetra) creates ridiculously large executable and .o files

Alicia Klinvex aklinvex at gmail.com
Mon May 23 10:28:36 EDT 2016


Hello Michael,

I suggest enabling explicit template instantiation in your configuration
script (-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON) if you haven't
already.  If your compilation is taking too long, you can always try
parallel make (make -j[number]).

Best wishes,
Alicia

On Mon, May 23, 2016 at 7:36 AM, Michael Bieri <mibieri at iis.ee.ethz.ch>
wrote:

> Hi,
>
> I just tried the hands on tutorial from here:
> https://github.com/trilinos/Trilinos_tutorial/wiki/TrilinosHandsOnTutorial
> . The first examples work fine, but when I compile Lesson 4 ("Learn how to
> construct Tpetra matrices and vectors from existing Kokkos arrays.") I will
> get extremely large executable and .o files, in the range of 10 - 40 GB (on
> a Mac and a Linux computer). It seems to have something to do with Tpetra,
> as the examples before Tpetra generate normal-sized executables.
>
> I do not exactly know what information to provide, but at least the
> compile command:
>
> icpc-2013.sp1.1.106 -c -I/usr/local/mpich2-3.1.2/intel/include -std=c++11
> -g -I/trilinos-12.6.3-Install/include -I/usr/include -DMYAPP_EPETRA main.cpp
>
> Is it normal to have such big executables? What could be wrong?
>
> Furthermore, with some uncertainity, as I just "remember":
> I also observed that compilation took extremely long on the Linux machine
> and I think it also generated very large files, because once I ran out of
> disk memory (at least it said so). How large should Tpetra package be?
>
> Best regards
> Michael
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160523/72103a34/attachment.html>


More information about the Trilinos-Users mailing list