[Trilinos-Users] trilinos build error

Hitesh Kirtibhai Raninga hitesh.raninga at stud.uni-due.de
Mon Mar 21 07:32:50 EDT 2016


Hello

I am using the below commad for configuring trilinos.

"cmake -D CMAKE_INSTALL_PREFIX:PATH=/home/hraninga/trilinos -D 
MPI_BASE_DIR:PATH="/usr/lib64/mpi/gcc/openmpi/" -D 
CMAKE_CXX_FLAGS:STRING="-O2 -std=c++11 -pedantic -ftrapv -Wall 
-Wno-long-long" -D CMAKE_BUILD_TYPE:STRING=RELEASE -D 
Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" -D 
Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF -D Trilinos_ENABLE_Teuchos:BOOL=ON 
-D Trilinos_ENABLE_Shards:BOOL=ON -D Trilinos_ENABLE_Sacado:BOOL=ON -D 
Trilinos_ENABLE_Epetra:BOOL=ON -D Trilinos_ENABLE_EpetraExt:BOOL=ON -D 
Trilinos_ENABLE_Ifpack:BOOL=ON -D Trilinos_ENABLE_AztecOO:BOOL=ON -D 
Trilinos_ENABLE_Amesos:BOOL=ON -D Trilinos_ENABLE_Anasazi:BOOL=ON -D 
Trilinos_ENABLE_Belos:BOOL=ON -D Trilinos_ENABLE_ML:BOOL=ON -D 
Trilinos_ENABLE_Phalanx:BOOL=ON -D Trilinos_ENABLE_Intrepid:BOOL=ON -D 
Trilinos_ENABLE_NOX:BOOL=ON -D Trilinos_ENABLE_Stratimikos:BOOL=ON -D 
Trilinos_ENABLE_Thyra:BOOL=ON -D Trilinos_ENABLE_Rythmos:BOOL=ON -D 
Trilinos_ENABLE_MOOCHO:BOOL=ON -D Trilinos_ENABLE_TriKota:BOOL=OFF -D 
Trilinos_ENABLE_Stokhos:BOOL=ON -D Trilinos_ENABLE_Zoltan:BOOL=ON -D 
Trilinos_ENABLE_Piro:BOOL=ON -D Trilinos_ENABLE_Teko:BOOL=ON -D 
Trilinos_ENABLE_SEACASIoss:BOOL=ON -D Trilinos_ENABLE_SEACAS:BOOL=ON -D 
Trilinos_ENABLE_SEACASBlot:BOOL=ON -D Trilinos_ENABLE_Pamgen:BOOL=ON -D 
Trilinos_ENABLE_EXAMPLES:BOOL=OFF -D Trilinos_ENABLE_TESTS:BOOL=ON 
-Wno-dev -D TPL_ENABLE_Matio=OFF -D TPL_ENABLE_HDF5:BOOL=ON -D 
HDF5_INCLUDE_DIRS:PATH="/home/hraninga/hdf5/include" -D 
HDF5_LIBRARY_DIRS:PATH="/home/hraninga/hdf5/lib" -D 
TPL_ENABLE_Netcdf:BOOL=ON -D 
Netcdf_INCLUDE_DIRS:PATH=/home/hraninga/netcdf/include -D 
Netcdf_LIBRARY_DIRS:PATH=home/hraninga/netcdf -D TPL_ENABLE_MPI:BOOL=ON 
-D TPL_ENABLE_Boost:BOOL=ON -D Boost_INCLUDE_DIRS:PATH='/usr/include/' 
-D Boost_LIBRARY_DIRS:PATH=/usr/lib64/ -D TPL_ENABLE_BLAS:BOOL=ON -D 
TPL_BLAS_LIBRARY_DIRS:PATH=/usr/lib64/ -D TPL_ENABLE_LAPACK:BOOL=ON -D 
TPL_LAPACK_LIBRARY_DIRS:PATH=/usr/lib64/ -D 
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF -D Trilinos_VERBOSE_CONFIGURE:BOOL=OFF - 
/home/hraninga/Downloads/trilinos-12.4.2-Source"


and I get the following error when i compile it using make -j 4, I get 
following warning and error messages:

"In file included from 
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/seacas/libraries/ioss/src/main/info_interface.C:35:0:
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/seacas/libraries/ioss/src/main/info_interface.h: 
In constructor ‘Info::Interface::Interface()’:
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/seacas/libraries/ioss/src/main/info_interface.h:87:12: 
warning: ‘Info::Interface::useGenericNames_’ will be initialized after 
[-Wreorder]
        bool useGenericNames_;
             ^
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/seacas/libraries/ioss/src/main/info_interface.h:86:12: 
warning:   ‘bool Info::Interface::listGroups_’ [-Wreorder]
        bool listGroups_;
             ^
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/seacas/libraries/ioss/src/main/info_interface.C:45:1: 
warning:   when initialized here [-Wreorder]
  Info::Interface::Interface() "
  ^


"Linking CXX executable Sacado_ConversionTests.exe
/home/hraninga/Downloads/trilinos-12.4.2-Source/packages/epetra/src/Epetra_MultiVector.cpp: 
In member function ‘int Epetra_MultiVector::Abs(const 
Epetra_MultiVector&)’:
/home/hraninga/Downloads/trilinos-12.4.2-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 <http://bugs.opensuse.org/> for instructions.
make[2]: *** 
[packages/epetra/src/CMakeFiles/epetra.dir/Epetra_MultiVector.cpp.o] 
Fehler 1
make[1]: *** [packages/epetra/src/CMakeFiles/epetra.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse..."

Does anyone have idea regarding this warning and error message.

Regards
Hitesh Raninga




More information about the Trilinos-Users mailing list