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

1.5-dev Revision r1629 does not build

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2010, 06:14
Default 1.5-dev Revision r1629 does not build
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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 08:01.
bastil is offline   Reply With Quote

Old   February 9, 2010, 04:23
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
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, 05:32
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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, 06:20
Default
  #4
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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, 08:05
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 offline   Reply With Quote

Old   February 9, 2010, 10:56
Default
  #6
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
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


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 Off
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
[OpenFOAM] ParaView/ParaFoam in OpenFoam 1.5 dev titio ParaView 2 February 27, 2010 14:02
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 12:13
[OpenFOAM] Paraview/Parafoam in OpenFoam 1.5 dev titio ParaView 0 December 9, 2009 12:12
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 09:36.