0

我正在尝试从 Kubuntu 14.04 上的源代码构建 Trilinos,作为安装 Peridigm 的先决条件。我正在按照此处的构建说明进行操作,并正在使用为 Peridigm 建议的配置脚本

配置工作正常,但是当我尝试使用实际构建 Trilinosmake时,出现以下错误:

Linking CXX static library libpamgen.a
[ 24%] Built target pamgen
make: *** [all] Error 2

我对 Linux 比较陌生,几乎没有手动构建库的经验。任何有助于理解这一点的帮助将不胜感激。

编辑:

这是make VERBOSE=1@EtanReisner 要求的错误之前的输出:

/usr/local/lib/trilinos/trilinos-11.4.3-Source/packages/epetra/src/Epetra_Import_Util.cpp: In instantiation of ‘int Epetra_Import_Util::TLowCommunicationMakeColMapAndReindex(int, const int*, int*, const int_type*, const Epetra_Map&, const int*, bool, std::vector<int, std::allocator<int> >&, MapType1&) [with int_type = long long int; MapType1 = Epetra_BlockMap; MapType2 = Epetra_Map]’:
/usr/local/lib/trilinos/trilinos-11.4.3-Source/packages/epetra/src/Epetra_Import_Util.cpp:700:198:   required from here
/usr/local/lib/trilinos/trilinos-11.4.3-Source/packages/epetra/src/Epetra_Import_Util.cpp:639:10: warning: variable ‘ElementSizeList’ set but not used [-Wunused-but-set-variable]
/usr/local/lib/trilinos/trilinos-11.4.3-Source/packages/epetra/src/Epetra_MultiVector.cpp: In member function ‘int Epetra_MultiVector::Abs(const Epetra_MultiVector&)’:
/usr/local/lib/trilinos/trilinos-11.4.3-Source/packages/epetra/src/Epetra_MultiVector.cpp:1172: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.
Preprocessed source stored into /tmp/ccxuxXUm.out file, please attach this to your bugreport.
make[2]: *** [packages/epetra/src/CMakeFiles/epetra.dir/Epetra_MultiVector.cpp.o] Error 1
make[1]: *** [packages/epetra/src/CMakeFiles/epetra.dir/all] Error 2
make: *** [all] Error 2
4

0 回答 0