CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] OpenFoam installation failure with g++ internal compiler error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2020, 17:45
Default OpenFoam installation failure with g++ internal compiler error
  #1
Member
 
WY
Join Date: Mar 2020
Posts: 36
Rep Power: 6
WUYing is on a distinguished road
I installed OpenFOAM7 on Ubuntu 18.04.4 virtual machine on MacOS 10.14.6, following the instructions from
https://openfoamwiki.net/index.php/I...7/Ubuntu/18.04.

However, when I finished compiling OpenFOAM and inputed "icoFoam -help", there appears an error saying "Command 'icoFoam' not found, but can be installed with: sudo apt install openfoam".

So I checked the log.make file, which had two errors:
g++: internal compiler error: killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
/home/ying/OpenFOAM/OpenFOAM-7/wmake/rules/General/transform:25: recipe for target '/home/ying/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistrySolver/chemistrySolver/makeChemistrySolvers.o' failed
make: *** [/home/ying/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistrySolver/chemistrySolver/makeChemistrySolvers.o] Error 4

How can I solve this problem? Thanks!
WUYing is offline   Reply With Quote

Old   April 2, 2020, 17:46
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
OF7 is not openfoam.com version.
HPE is offline   Reply With Quote

Reply

Tags
g++, installation, internal compiler error, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 19:11
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 05:53
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 09:26.