[Trilinos-Users] [EXTERNAL] Re: error in compiling trilinos

Roger Pawlowski rppawlo at sandia.gov
Mon Nov 10 06:56:15 MST 2014


This bug was introduced in gcc 4.8 compilers and fixed for 4.9.

https://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=60729

Roger

On 11/08/2014 10:28 AM, Heroux, Mike wrote:
> Hitesh,
>
> This is very basic C++ code and has been stable for years.  We have seen
> this error before, but I don¹t believe it was an Epetra error.  This
> particular version of GCC was the issue then as well.
>
> The work around at the time was as follows:
>
> Turns out if you compile with the flags "-O3 and -ftrapv" then it fails to
> compile.  dropping to -O2 or removing -ftrapv will allow epetra to compile
> correctly.
>
>
> Please check to see if the same idea works for you.
>
> Mike
>
> On 11/7/14, 5:07 AM, "hitesh.raninga at stud.uni-due.de"
> <hitesh.raninga at stud.uni-due.de> wrote:
>
>> hello,
>>
>> during installing compiling trilinos i am getting the floowing error
>> "
>> /home/hitesh/Downloads/trilinos-11.12.1-Source/packages/epetra/src/Epetra_
>> MultiVector.cpp:
>> In member function Œint Epetra_MultiVector::Abs(const
>> Epetra_MultiVector&)¹:
>> /home/hitesh/Downloads/trilinos-11.12.1-Source/packages/epetra/src/Epetra_
>> MultiVector.cpp:1174:63:
>> internal compiler error: in prepare_cmp_insn, at optabs.c:4190
>>      for (int j=0; j < myLength; j++) to[j] = std::abs(from[j]);
>>                                                                ^
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions "
>>
>> does anyone have idea regarding this error?
>>
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> https://software.sandia.gov/mailman/listinfo/trilinos-users
> _______________________________________________
> 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