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

problem with -lgenericPatchFields in foam-extend-3.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2014, 11:02
Default problem with -lgenericPatchFields in foam-extend-3.0
  #1
Member
 
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 33
Rep Power: 15
Orgogozo is on a distinguished road
Dear foamers,

I am currently trying my home made solvers and utilities in foam-extend-3.0, and I encountered the following problem.

While compiling with foam-extend-3.0 a utility that compiles without problems with OF-2.2, I get the following error :

/usr/bin/ld: can't find -lgenericPatchFields
collect2: error: ld has returned 1 execution state code
make: *** [/homel/lorgo/foam/lorgo-3.0/applications/bin/linux64GccDPOpt/spatialMeanValue] Error 1

(a bit translate from the original french error message)

Does someone know a way to overcome this problem ?

Best regards,

Laurent
Orgogozo is offline   Reply With Quote

Old   May 8, 2014, 08:58
Default
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Try using the locate command:
Code:
locate libgenericPatchFields
/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64Gcc++0xDPCustomProf/lib/libgenericPatchFields.so
/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64Gcc++0xDPDebug/lib/libgenericPatchFields.so
/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64Gcc++0xDPOpt/lib/libgenericPatchFields.so
/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPDebug/lib/libgenericPatchFields.so
/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libgenericPatchFields.so
/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64Gcc++0xDPOpt/lib/libgenericPatchFields.so
I've stripped the home folder parts, but there seems to be no such library in foam-extend-3.0. It might have a different name.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   May 14, 2014, 04:16
Default
  #3
Member
 
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 33
Rep Power: 15
Orgogozo is on a distinguished road
Dear Tomislav, dear foamers,

I tried to locate the libgenericPatchFields file in foam-extend-3.0 and I get the same result than you Tomislav: this file is present only in OpenFOAM, not in foam-extend. Then I got stuck, because I can't identify another lib with Patch in its name in the libraries of the /foam/foam-extend-3.0/lib/linux64GccDPOpt directory.

I attached the utility that I tried to compile with foam-extend-3.0 (by the way it is designed to spatially average a volScalarField at each time of writing of data -as a postprocessing- and return the results as two columns : time, average). If someone manage to compile it, please let me know !

Best regards,

Laurent
Attached Files
File Type: gz spatialMeanValue.tar.gz (1.5 KB, 4 views)
Orgogozo 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
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 10 February 7, 2024 21:50
problem in running icoFoam Alucard OpenFOAM 2 March 17, 2012 09:01
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 22:50
problem in running FoamX in Open FOAM Gaurav Main CFD Forum 3 May 10, 2006 05:06
problem about installing FOAM linux freshman Main CFD Forum 6 November 4, 2004 10:59


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