Ubuntu18.04安装openfoam3.0.0报错
-
各位前辈好!
我目前在Ubuntu18.04下面相安装openfoam3.0.0,参考了openfoamwiki有关在Ubuntu 18.04安装of 3.0.1的教程,教程连接:链接文本
自己一步步完全按照wiki上面的教程安装,安装到第14步 编译openfoam的时候,编译一会就报错如下:
g++-5 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/abc/OpenFOAM/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/home/abc/OpenFOAM/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c reaction/reactions/makeLangmuirHinshelwoodReactions.C -o /home/abc/OpenFOAM/OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/src/thermophysicalModels/specie/reaction/reactions/makeLangmuirHinshelwoodReactions.o reaction/reactions/makeReactions.C: In function ‘void __static_initialization_and_destruction_0(int, int)’: reaction/reactions/makeReactions.C:106:1: internal compiler error: 段错误 } ^ g++-5: internal compiler error: 段错误 (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. make: *** [/home/abc/OpenFOAM/OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/src/thermophysicalModels/specie/reaction/reactions/makeReactions.o] Error 4 /home/abc/OpenFOAM/OpenFOAM-3.0.0/wmake/rules/General/transform:8: recipe for target '/home/abc/OpenFOAM/OpenFOAM-3.0.0/platforms/linux64GccDPInt32Opt/src/thermophysicalModels/specie/reaction/reactions/makeReactions.o' failed make: *** 正在等待未完成的任务.... abc@abc-X11DAi-N:~/OpenFOAM/OpenFOAM-3.0.0$
麻烦哪位前辈能够指点以下怎么解决呢? 谢谢