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

OpenFOAM compilation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2010, 05:30
Default OpenFOAM compilation
  #1
New Member
 
Join Date: Sep 2010
Posts: 11
Rep Power: 16
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, 18:44
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
Code:
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,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 30, 2010, 21:29
Default
  #3
Member
 
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 16
andyj is on a distinguished road
Hello
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:
http://albertopassalacqua.com/?p=653

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

Install Instructions from openfoam:
http://openfoam.com/download/source.php

good luck
andyj is offline   Reply With Quote

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

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

Reply


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
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 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06: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 19:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50


All times are GMT -4. The time now is 18:07.