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

Compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2007, 08:09
Default Hi All, I am new to OpenFOA
  #1
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 17
skabilan is on a distinguished road
Hi All,

I am new to OpenFOAM. I get the following error when issuing ./Allwmake in /OpenFOAM/OpenFOAM-1.4.1 folder. It is a 64bit linux OpenFOAM. Can anyone help me fix this problem.

/files0/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libdynamicMesh.so: undefined reference to `Foam::fvsPatchField<foam::symmtensor<double> >::patchConstructorTablePtr_'
/files0/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libdynamicMesh.so: undefined reference to `Foam::fvsPatchField<foam::vector<double> >::typeName'
collect2: ld returned 1 exit status
make[3]: *** [/files0/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/moveDynamicMes h] Error 1
make[3]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/moveDy namicMesh'
make[2]: *** [moveDynamicMesh] Error 2
make[2]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation'
make[1]: *** [manipulation] Error 2
make[1]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh'
make: *** [mesh] Error 2
+ '[' 0 = 1 -a '' = doc ']'
skabilan is offline   Reply With Quote

Old   September 17, 2007, 14:33
Default Hi Senthil, Check if you ha
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hi Senthil,

Check if you have a library called "libfiniteVolume.so" in the folder "OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/"

If not, then there should be an error earlier on during the compilation process, due to which the finiteVolume library did not compile and link. If I am not mistaken.... fvsPatchField is present in this library.....

There are some cases where the compilation continues even if it fails to create a library... and in such cases... unless you have saved the entire output of your compile process to file, or unless you sit staring at the monitor the whole time, you may miss it.

Have a nice day!

Philippose
philippose 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
udf compilation error sdp FLUENT 0 February 5, 2009 03:58
UDF compilation error Hari FLUENT 0 February 22, 2008 14:40
Compilation error CFX 11 Beth CFX 0 July 26, 2007 20:36
error during UDF compilation mvee FLUENT 3 May 3, 2007 06:03
Compilation error Karthick FLUENT 5 April 16, 2004 14:36


All times are GMT -4. The time now is 02:50.