[Trilinos-Users] Error compiling Trilinos_UTil_CrsMatrixGallery on Intel 11.1 (Linux or OS X)
Lee Peterson
leedpeterson at mac.com
Wed Oct 7 17:48:23 MDT 2009
All,
I am wondering if anyone else has seen the following issue.
I am trying to build Trilinos 10.0 on either OS X or Linux, using the intel compilers version 11.1, in 64 bit mode.
The compile stops with an error trying to compile Trilinos_Util_CrsMatrixGallery in the triutils package. The verbose output from the make is pasted below:
-------------------------
cd /home/user/scratch/sw/OSX_10.5_x86_64_Intel/trunk/packages/Trilinos/packages/triutils/src && /home/user/sw/OSX_10.5_x86_64_Intel/trunk/bin/mpicxx -Dtriutils_EXPORTS -mmacosx-version-min=10.5 -O3 -DNDEBUG -I/home/user/scratch/sw/OSX_10.5_x86_64_Intel/trunk/packages/Trilinos/packages/triutils/src -I/home/user/Code/LIMS/trunk/packages/OpenSource/GPL/Trilinos/src/packages/triutils/src -I/home/user/scratch/sw/OSX_10.5_x86_64_Intel/trunk/packages/Trilinos/packages/epetra/src -I/home/user/Code/LIMS/trunk/packages/OpenSource/GPL/Trilinos/src/packages/epetra/src -o CMakeFiles/triutils.dir/Trilinos_Util_CrsMatrixGallery.cpp.o -c /home/user/Code/LIMS/trunk/packages/OpenSource/GPL/Trilinos/src/packages/triutils/src/Trilinos_Util_CrsMatrixGallery.cpp
/home/user/Code/LIMS/trunk/packages/OpenSource/GPL/Trilinos/src/packages/triutils/src/Trilinos_Util_CrsMatrixGallery.cpp(2693) (col. 7): internal error: 0_1451
compilation aborted for /home/user/Code/LIMS/trunk/packages/OpenSource/GPL/Trilinos/src/packages/triutils/src/Trilinos_Util_CrsMatrixGallery.cpp (code 4)
--------------------------
Note that the compiler flags were those set automatically by CMake for a release build. If I try compiling just this target from the command line, but without the -O3 flag, it compiles successfully. Also, I have verified that -O1 works but not -O2.
So it seems this is a compiler issue related to optimization of this particular target. Is there a way to use some sort of a "NO-OPT" flag in the CMakeLists.txt file for compiling this target only?
Thanks for your help!
Lee
More information about the Trilinos-Users
mailing list