CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   1.5-dev Revision r1629 does not build (http://www.cfd-online.com/Forums/openfoam-bugs/72497-1-5-dev-revision-r1629-does-not-build.html)

bastil February 8, 2010 07:14

1.5-dev Revision r1629 does not build
 
... Problem is a change in the file:
src/meshTools/Make/options. This requires decompositionMethods which is compiled later. The change has been done with r1618.

Regards BastiL

hjasak February 9, 2010 05:23

Apologies - I rarely bulid from clean.

Could you please try the following and tell me if it's OK.

Thank you.

Hrv

#!/bin/sh
set -x

( cd OpenFOAM && wmakeLnInclude . )
( cd Pstream && ./Allwmake )
wmake libo OSspecific/$WM_OS
wmake libso OpenFOAM

( cd decompositionAgglomeration && ./Allwmake )

wmake libso lagrangian/basic

wmake libso triSurface
wmake libso edgeMesh
wmake libso meshTools
wmake libso finiteVolume
wmake libso finiteArea

wmake libso lduSolvers
wmake libso dynamicMesh

( cd tetDecompositionFiniteElement ; ./Allwmake )

wmake libso fvMotionSolver
( cd tetDecompositionMotionSolver; ./Allwmake )

wmake libso coupledMatrix
wmake libso sampling

wmake libso dynamicFvMesh
wmake libso topoChangerFvMesh
wmake libso engine

wmake libso ODE
wmake libso randomProcesses

( cd thermophysicalModels && ./Allwmake )
( cd transportModels && ./Allwmake )
( cd turbulenceModels && ./Allwmake )
( cd lagrangian && ./Allwmake )
( cd postProcessing && ./Allwmake )
( cd conversion && ./Allwmake )

wmake libso autoMesh
wmake libso errorEstimation

# ----------------------------------------------------------------- end-of-file

bastil February 9, 2010 06:32

I will do and I will get back to you.
I thought it was essential to build from clean so thats what I usually do. Is it save to run Allwmake without cleaning? Thanks.

bastil February 9, 2010 07:20

Code:

SOURCE=directMapped/directMappedPointPatch/directMappedPointPatch.C ;  g++ -m64 -Dlinux64 -DDP -DFOAM_DEV_REVISION_NUMBER=1629 -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3  -DNoRepository -ftemplate-depth-40 -I/home/OpenFOAM/test/OpenFOAM-1.5-dev/src/triSurface/lnInclude -I/home/OpenFOAM/test/OpenFOAM-1.5-dev/src/decompositionAgglomeration/decompositionMethods/decompositionMethod/ -I/home/OpenFOAM/test/OpenFOAM-1.5-dev/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/home/OpenFOAM/test/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/OpenFOAM/test/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/directMappedPointPatch.o
/usr/bin/ld: cannot find -ldecompositionMethods
collect2: ld returned 1 exit status

Problem still remains

ngj February 9, 2010 09:05

Hi Bastil

This error reminds my of something. I believe the problem was, that the ThirdParty directories was build as part of the openCFD-release. Recompiling the ThirdParties with -dev settings solved my problem.

Good luck,

Niels

bastil February 9, 2010 11:56

Quote:

Originally Posted by ngj (Post 245481)
This error reminds my of something. I believe the problem was, that the ThirdParty directories was build as part of the openCFD-release. Recompiling the ThirdParties with -dev settings solved my problem.

I can compile any pre-r1618 (currently have r1617) w.o. any problems.


All times are GMT -4. The time now is 20:40.