|
[Sponsors] |
problem with -lgenericPatchFields in foam-extend-3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2014, 11:02 |
problem with -lgenericPatchFields in foam-extend-3.0
|
#1 |
Member
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 33
Rep Power: 15 |
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 |
|
May 8, 2014, 08:58 |
|
#2 |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
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
__________________
When asking a question, prepare a SSCCE. |
|
May 14, 2014, 04:16 |
|
#3 |
Member
Laurent Orgogozo
Join Date: Mar 2011
Location: Toulouse
Posts: 33
Rep Power: 15 |
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 |
|
|
|
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 |