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

OpenFOAM compilation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 30, 2010, 04:30
Default OpenFOAM compilation
  #1
New Member
 
Join Date: Sep 2010
Posts: 11
Rep Power: 6
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
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 20:29
Default
  #3
Member
 
Andy Jones
Join Date: Sep 2010
Location: Columbus, Ohio
Posts: 78
Rep Power: 6
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

Reply

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 04:09.