CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

problem with -lgenericPatchFields in foam-extend-3.0

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

LinkBack Thread Tools Display Modes
Old   May 7, 2014, 11:02
Default problem with -lgenericPatchFields in foam-extend-3.0
New Member
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 20
Rep Power: 8
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,

Orgogozo is offline   Reply With Quote

Old   May 8, 2014, 08:58
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 281
Blog Entries: 5
Rep Power: 13
tomislav_maric is on a distinguished road
Try using the locate command:
locate libgenericPatchFields
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.
"The OpenFOAM Technology Primer":
Twitter: @sourceflux_de

When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   May 14, 2014, 04:16
New Member
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 20
Rep Power: 8
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,

Attached Files
File Type: gz spatialMeanValue.tar.gz (1.5 KB, 3 views)
Orgogozo is offline   Reply With Quote


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
problem in running icoFoam Alucard OpenFOAM 2 March 17, 2012 10:01
area does not match neighbour by ... % -- possible face ordering problem St.Pacholak OpenFOAM 9 November 22, 2011 11:02
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23: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 11:59

All times are GMT -4. The time now is 04:25.