[Trilinos-Users] RTOpPack Segmention Fault

Biswa Sengupta bs393 at cam.ac.uk
Fri Dec 16 21:22:17 MST 2011


Hey Ross,

Thanks for the message.  In fact I did know of this issue with old compilers, therefore I had already switched on explicit instantiation. I am on Snow Leopard (10.6.8) with XCode 3.2.6 and the compiler is:

localhost:~ biswasengupta$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

Best,
Biswa

On 17 Dec 2011, at 09:04, Bartlett, Roscoe A. wrote:

> Biswa,
> 
> Try turning on explicit template instantiation with:
> 
>    -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON
> 
> Also, what compiler and version are you using?
> 
> It is known that some older C++ compilers and specialty C++ compilers can choke on all the template code if using implicit template instantiation.   I can't remember off the top of my head which compilers are problematic.
> 
> -Ross
> 
> 
> 
>> -----Original Message-----
>> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-
>> bounces at software.sandia.gov] On Behalf Of Biswa Sengupta
>> Sent: Friday, December 16, 2011 10:22 PM
>> To: trilinos-users at software.sandia.gov
>> Subject: [Trilinos-Users] RTOpPack Segmention Fault
>> 
>> Hi guys,
>> 
>> I have been trying to install Trilinos 10.8.4 without python and fortran support
>> but unfortunately I receive segmentation fault detailed as under:
>> 
>> [ 29%] Building CXX object
>> packages/epetraext/src/CMakeFiles/epetraext.dir/block/EpetraExt_BlockVe
>> ctor.cpp.o
>> /Users/biswasengupta/Desktop/trilinos-
>> 10.8.4/packages/rtop/src/ops_lib/RTOpPack_TOpAssignScalar.hpp: In
>> function 'void Thyra::put_scalar(const Scalar&, const
>> Teuchos::Ptr<Thyra::VectorBase<Scalar> >&) [with Scalar =
>> std::complex<float>]':
>> /Users/biswasengupta/Desktop/trilinos-
>> 10.8.4/packages/rtop/src/ops_lib/RTOpPack_TOpAssignScalar.hpp:59:
>> internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>> make[2]: ***
>> [packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_vect
>> or/client_support/Thyra_DefaultBlockedLinearOp.cpp.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> [ 29%] Building CXX object
>> packages/tpetra/src/CMakeFiles/tpetra.dir/Tpetra_CrsMatrix.cpp.o
>> /Users/biswasengupta/Desktop/trilinos-
>> 10.8.4/packages/rtop/src/ops_lib/RTOpPack_TOpAssignScalar.hpp: In
>> function 'void Thyra::put_scalar(const Scalar&, const
>> Teuchos::Ptr<Thyra::VectorBase<Scalar> >&) [with Scalar =
>> std::complex<float>]':
>> /Users/biswasengupta/Desktop/trilinos-
>> 10.8.4/packages/rtop/src/ops_lib/RTOpPack_TOpAssignScalar.hpp:59:
>> internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>> make[2]: ***
>> [packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_vect
>> or/client_support/Thyra_DefaultColumnwiseMultiVector.cpp.o] Error 1
>> make[1]: *** [packages/thyra/core/src/CMakeFiles/thyracore.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> [ 29%] Building CXX object
>> packages/tpetra/src/CMakeFiles/tpetra.dir/Tpetra_CrsMatrixMultiplyOp.cpp
>> .o
>> 
>> 
>> I seek your advice in rectifying the same. I have herewith attached my
>> makefile for your perusal. You will notice in the Makefile that I had to switch
>> off SEACAS for another segmentation fault.
>> 
>> Best,
>> Biswa
>> 
>> University of Cambridge
> 





More information about the Trilinos-Users mailing list