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

1.5-dev Revision r1629 does not build

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2010, 07:14
Default 1.5-dev Revision r1629 does not build
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
... 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

Last edited by bastil; February 8, 2010 at 09:01.
bastil is offline   Reply With Quote

Old   February 9, 2010, 05:23
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   February 9, 2010, 06:32
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
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 is offline   Reply With Quote

Old   February 9, 2010, 07:20
Default
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
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
bastil is offline   Reply With Quote

Old   February 9, 2010, 09:05
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,607
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
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
ngj is online now   Reply With Quote

Old   February 9, 2010, 11:56
Default
  #6
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
Quote:
Originally Posted by ngj View Post
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.
bastil 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
OpenFOAM 1.5 dev LVDH OpenFOAM 98 May 5, 2010 17:01
ParaView/ParaFoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 2 February 27, 2010 15:02
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Post-Processing 0 December 9, 2009 13:13
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 0 December 9, 2009 13:12
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 05:11.