CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

Compilation Order and Single Precision Issues

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

LinkBack Thread Tools Display Modes
Old   October 13, 2009, 09:14
Default Compilation Order and Single Precision Issues
Senior Member
gocarts's Avatar
Richard Smith
Join Date: Mar 2009
Location: Enfield, NH, USA
Posts: 138
Blog Entries: 4
Rep Power: 8
gocarts is on a distinguished road
I just tried compiling the latest git version of OpenFOAM 1.6.x

commit 99d4b831e6f25f3fba273a1fb517aea65e704acd
Author: henry <henry>
Date: Mon Oct 12 13:52:36 2009 +0100

from scratch on Linux and encountered a few minor problems:

1) now depends on, so during compilation src/postProcessing needs to compile prior to src/fvMotionSolver and src/engine and be reflected in src/Allwmake. Something like:


# Depends on postProcessing/functionsObjects/forces
wmake libso fvMotionSolver
wmake libso engine
2) Within the new solver applications/solvers/multiphase/interMixingFoam in alphaEqns.H and threePhaseInterfaceProperties/threePhaseInterfaceProperties.[H|C] there are numerous uses of max(...,0.0) whereas for successful compilation for single precision max(..., scalar(0.0)) is required

Hope this is helpful.
Symscape, Computational Fluid Dynamics for all
gocarts is offline   Reply With Quote

Old   October 14, 2009, 17:19
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Thanks for the bug reports, the fixes are now in our OpenFOAM-1.6.x git repository.

henry 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
Divergence Only with Second Order Discretization RyGuy FLUENT 0 August 6, 2009 11:03
Single or double precision Jonas Larsson Main CFD Forum 15 March 26, 2007 23:15
Performance issues with channelOodLes steja OpenFOAM Running, Solving & CFD 20 July 20, 2005 08:33
P4 1.5 or Dual P3 800EB on Gibabyte board Danial FLUENT 4 September 12, 2001 11:44

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