CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Building error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2008, 06:04
Default Hi every one i am install O
  #1
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
Hi every one

i am install OF 1.4.1 on the cluster.and i want to add some modification of turbulence model for incompressible turbulence.the new model could be build in my computer and i have doing some calculation with it,and it could running corrcetly.but when i built it in the cluster.it may complied well (when i built.it will creat a lot of .o file in the src/turbulenceModel/incompressible/Make/linuxGccDpOpt),and will give too much error messages finished with :
collect2: ld returned 1 exit status
make: *** [OpenFOAM.out] Error 1



and after build with error i check the foamInstalltest with the error of gcc and jave install location to the /usr/bin。

how can i resolve it?

thanks

wayne
waynezw0618 is offline   Reply With Quote

Old   July 14, 2008, 06:54
Default HI the error message is sta
  #2
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
HI

the error message is start from:

g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/disk6/yjs10023k/zw/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/disk6/yjs10023k/zw/OpenFOAM/OpenFOAM-1.4.1/src/meshTools/lnInclude -I/disk6/yjs10023k/zw/OpenFOAM/OpenFOAM-1.4.1/src/transportModels -IlnInclude -I. -I/disk6/yjs10023k/zw/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread Make/linuxGccDPOpt/turbulenceModel.o Make/linuxGccDPOpt/newTurbulenceModel.o Make/linuxGccDPOpt/laminar.o Make/linuxGccDPOpt/LRR.o Make/linuxGccDPOpt/LamBremhorstKE.o Make/linuxGccDPOpt/LaunderSharmaKE.o Make/linuxGccDPOpt/LienCubicKE.o Make/linuxGccDPOpt/LienCubicKELowRe.o Make/linuxGccDPOpt/LienLeschzinerLowRe.o Make/linuxGccDPOpt/NonlinearKEShih.o Make/linuxGccDPOpt/RNGkEpsilon.o Make/linuxGccDPOpt/kEpsilon.o Make/linuxGccDPOpt/QZeta.o Make/linuxGccDPOpt/LaunderGibsonRSTM.o Make/linuxGccDPOpt/SpalartAllmaras.o Make/linuxGccDPOpt/realizableKE.o Make/linuxGccDPOpt/kOmegaSST.o Make/linuxGccDPOpt/kOmegaSSTRC.o Make/linuxGccDPOpt/nutWallFunctionFvPatchScalarField.o Make/linuxGccDPOpt/nutStandardWallFunctionFvPatchScalarField.o Make/linuxGccDPOpt/nutStandardRoughWallFunctionFvPatchScalarField.o -L/disk6/yjs10023k/zw/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt \
-lOpenFOAM -ldl -lm -o OpenFOAM.out
and it has lots of message like


<double,> > Foam::acos<foam::fvpatchfield,>(Foam::tmp<foam::ge ometricfield<double,> > const&)]+0x307): In function `Foam::tmp<foam::geometricfield<double,> > Foam::acos<foam::fvpatchfield,>(Foam::tmp<foam::ge ometricfield<double,> > const&)':
: undefined reference to `Foam::calculatedFvPatchField<double>::typeName'
Make/linuxGccDPOpt/realizableKE.o(.text._ZN4Foam3cosINS_12fvPatchFiel dENS_7volMe shEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKS7_[Foam::tmp<foam::geometricfield< double,> > Foam::cos<foam::fvpatchfield,>(Foam::GeometricFiel d<double,> const&)]+0x28b): In function `Foam::tmp<foam::geometricfield<double,> > Foam::cos<foam::fvpatchfield,>(Foam::GeometricFiel d<double,> const&)':
: undefined reference to `Foam::calculatedFvPatchField<double>::typeName'
Make/linuxGccDPOpt/realizableKE.o(.text._ZN4Foam3maxIdNS_12fvPatchFie ldENS_7volM eshEEENS_3tmpINS_14GeometricFieldIT_T0_T1_EEEERKS9 _RKNS_11dimensionedIS5_EE[Foam ::tmp<foam::geometricfield<double,> > Foam::max<double,>(Foam::tmp<foam::geometricfield< double,> > const&, Foam::dimensioned<double> const&)]+0x391): In function `Foam::tmp<foam::geometricfield<double,> > Foam::max<double,>(Foam::tmp<foam::geometricfield< double,> > const&, Foam::dimensioned<double> const&)':
: undefined reference to `Foam::calculatedFvPatchField<double>::typeName'
Make/linuxGccDPOpt/kOmegaSST.o(.text+0x287a): In function `Foam::turbulenceModels::kOmegaSST::correct()':
: undefined reference to `Foam::fvMesh::boundary() const'
Make/linuxGccDPOpt/kOmegaSST.o(.text+0x4309): In function `Foam::turbulenceModels::kOmegaSST::correct()':
: undefined reference to `Foam::fvMesh::boundary() const'
Make/linuxGccDPOpt/kOmegaSST.o(.text+0x45e2): In function `Foam::turbulenceModels::kOmegaSST::correct()':
: undefined reference to `Foam::bound(Foam::GeometricField<double,>&, Foam::dimensioned<double> const&)'
Make/linuxGccDPOpt/kOmegaSST.o(.text+0x4f92): In function `Foam::turbulenceModels::kOmegaSST::correct()':
: undefined reference to `Foam::bound(Foam::GeometricField<double,>&, Foam::dimensioned<double> const&)'
Make/linuxGccDPOpt/kOmegaSST.o(.text+0x51af): In function `Foam::turbulenceModels::kOmegaSST::correct()':



can anybody tell me why?and how to resolve it ?

wayne
waynezw0618 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
Error during grid building (parallel version) Ale FLUENT 3 July 23, 2010 16:35
Building error of 15dev for OpenSUSE 111 on AMD64 machine waynezw0618 OpenFOAM Installation 1 February 18, 2009 11:12
Building error with simpleSRFFoam and MRFSimpleFOAM in 15 waynezw0618 OpenFOAM Running, Solving & CFD 4 August 27, 2008 11:31
Error building DICOMAppHelper during ParaView compilation geoffjay OpenFOAM Installation 1 May 7, 2008 14:07
Geometry Building Colin FLUENT 0 April 7, 2003 16:17


All times are GMT -4. The time now is 21:48.