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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2020, 16:45
Default OpenFoam installation failure with g++ internal compiler error
  #1
New Member
 
Wu Ying
Join Date: Mar 2020
Posts: 8
Rep Power: 2
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, 16:46
Default
  #2
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 624
Rep Power: 7
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 18:11
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 04:32.