CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Compilation Order and Single Precision Issues (https://www.cfd-online.com/Forums/openfoam-bugs/69141-compilation-order-single-precision-issues.html)

gocarts October 13, 2009 09:14

Compilation Order and Single Precision Issues
 
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) libfvMotionSolver.so now depends on libforces.so, so during compilation src/postProcessing needs to compile prior to src/fvMotionSolver and src/engine and be reflected in src/Allwmake. Something like:

Code:

.
.
postProcessing/Allwmake
conversion/Allwmake

# 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.

henry October 14, 2009 17:19

Thanks for the bug reports, the fixes are now in our OpenFOAM-1.6.x git repository.

H


All times are GMT -4. The time now is 22:33.