CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

OpenFOAM compilation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 30, 2010, 04:30
Default OpenFOAM compilation
New Member
Join Date: Sep 2010
Posts: 11
Rep Power: 9
MrAnderson is on a distinguished road
Dear All,

I am trying to perform a Fluid and Structure Interaction simulation between a fluid and a beam.
To do this I combine deal.ii and OpenFOAM. So far I have been able to compile deal.ii with success, however I got the following error when I try to compile OpenFOAM with my ICOFSI solver:

make: *** [Make/linux64GccDPOpt/icofsi.o] Error 1

Is there anyone who can guide me in this problem?
Thank You All!
MrAnderson is offline   Reply With Quote

Old   September 30, 2010, 17:44
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,125
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings MrAnderson,

Well, can you elaborate on the error you are getting? Like, what were the errors before that last one?

For example, run this in your solver's code folder:
wmake all > make.log 2>&1
tar -czf make_log.tar.gz make.log
Then attach the compressed "make_log.tar.gz" file to your post.

Additionally, what version of OpenFOAM are you using? And did you install it from source or did you install the Debian package for Ubuntu?

Best regards,
wyldckat is offline   Reply With Quote

Old   September 30, 2010, 20:29
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 9
andyj is on a distinguished road
I would guess that the compiler installed is missing a dependency or is the wrong version of the compiler. . Check to see if you need more than a basic gcc. And you may need to use a specific version of gcc along with ancillary scripts.
It appears you are using the solvers compiler rather than your Linux Operating System compiler. Do you have a compiler installed on your Linux OS you can use rather than the solvers compiler. And do you have all the additional dependencies for your compiler installed.

An example of Openfoam On opensuse install:

You should be using gcc-4.5.0 per the openfoam website to compile.

Install Instructions from openfoam:

good luck
andyj is offline   Reply With Quote

Old   October 16, 2017, 18:04
Default problem in Compilation
New Member
ahmed bel hadj taher
Join Date: Apr 2016
Location: mahdia
Posts: 2
Rep Power: 0
ahmed.enit is on a distinguished road

I tried to compile a new solvers on ubunto. this solver is based on a cavitation model with homogeneous mixing with the wmake and sudo bash commands but each time an error message is displayed.
ahmed.enit is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Installation of OpenFoam 15 Compilation paraview soeren_brot OpenFOAM Installation 45 January 12, 2009 07:39
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50

All times are GMT -4. The time now is 19:08.