|
[Sponsors] |
March 21, 2012, 05:45 |
Compilation problems OF 2.1.x
|
#1 |
Senior Member
|
Hi foamers,
it's been a long time since my last posting! I'm encountering some problems related to the compilation of the git version of OF 2.1.x, git pull performed this morning, on a Suse Enterprise 11 (all the prerequisites packages are ok). The error is in the lagrangian library. When I do Allwmake I find these errors: + wmake libso distributionModels '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libdistributionModels.so' is up to date. + wmake libso basic '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/liblagrangian.so' is up to date. + wmake libso solidParticle '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libsolidParticle.so' is up to date. + wmake libso intermediate SOURCE=parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/distributionModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/reactionThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/SLGThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/radiationModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/surfaceFilmModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -IlnInclude -I. -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/makeBasicKinematicParcelSubmodels.o In file included from parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:28: lnInclude/makeParcelCloudFunctionObjects.H:34:26: error: ParticleTrap.H: No such file or directory parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected initializer before ‘<’ token parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected initializer before ‘<’ token parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: ‘ParticleTrap’ was not declared in this scope parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: template argument 1 is invalid parcels/derived/basicKinematicParcel/makeBasicKinematicParcelSubmodels.C:41: error: expected unqualified-id before ‘>’ token make: *** [Make/linux64GccDPOpt/makeBasicKinematicParcelSubmodels.o] Error 1 + wmake libso spray SOURCE=parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/intermediate/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/distributionModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/specie/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/basic/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/reactionThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/SLGThermo/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/thermophysicalModels/radiationModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/turbulenceModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/transportModels -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/regionModel/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/regionModels/surfaceFilmModels/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/dynamicFvMesh/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -IlnInclude -I. -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/makeBasicSprayParcelSubmodels.o In file included from parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:28: /home/cozza/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/intermediate/lnInclude/makeParcelCloudFunctionObjects.H:34:26: error: ParticleTrap.H: No such file or directory parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected initializer before ‘<’ token parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected initializer before ‘<’ token parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: ‘ParticleTrap’ was not declared in this scope parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: template argument 1 is invalid parcels/derived/basicSprayParcel/makeBasicSprayParcelSubmodels.C:53: error: expected unqualified-id before ‘>’ token make: *** [Make/linux64GccDPOpt/makeBasicSprayParcelSubmodels.o] Error 1 + wmake libso dsmc '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libdsmc.so' is up to date. + wmake libso coalCombustion /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -llagrangianIntermediate collect2: ld returned 1 exit status make: *** [/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libcoalCombustion.so] Error 1 + molecularDynamics/Allwmake + wmake libso potential '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libpotential.so' is up to date. + wmake libso molecularMeasurements '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libmolecularMeasurements.so' is up to date. + wmake libso molecule '/home/cozza/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libmolecule.so' is up to date. What's appening? Any suggestions? Thanks in advance, Ivan |
|
March 21, 2012, 10:55 |
|
#2 |
Senior Member
|
I add the log file of the wmake.
No one knows what happens? Thanks! |
|
March 21, 2012, 13:54 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Ivan,
It's not a matter of not knowing the issue, it's a problem with having the time to answer The library that has this problem indicates a missing file. Said file should present at least in the library's code folder "lnInclude". This tends to happen when updating from the git repo. The solution here should be simple enough:
Code:
foam wclean all Bruno
__________________
|
|
March 22, 2012, 03:38 |
|
#4 |
Senior Member
|
||
March 22, 2012, 15:38 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ivan,
It didn't feel like you were impolite. It only felt like you assumed the worst case scenario Quote:
Best regards, Bruno
__________________
|
||
March 23, 2012, 07:39 |
|
#6 |
Senior Member
|
I think I talked too soon.
Now, OF is working, but not Paraview... I attached the log file of makeParaview, hope that someone (!) could help me... Regards, Ivan |
|
March 23, 2012, 08:26 |
|
#7 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ivan,
Mmm... no attachment. But my guess is that you have an issue already addressed in the past : Quote:
Quote:
Bruno
__________________
Last edited by wyldckat; March 23, 2012 at 08:31. Reason: see "edit:" |
|||
March 23, 2012, 08:54 |
|
#8 |
Senior Member
|
Ups, sorry, here we are.
Unfortunately is not the recompilation of ParaFoam the problem, I already did what you suggested but it doesn't work... |
|
March 23, 2012, 09:31 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Ivan,
Here's the problem: Code:
Cannot open data base file /home/cozza/OpenFOAM/ThirdParty-2.1.x/build/linux64Gcc/paraview-3.12.0/Documentation/paraview.qch!
Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
"interpolationTable" problems with compilation: Difference from 1.7 and 2.0 | alessio.nz | OpenFOAM | 1 | August 5, 2011 14:45 |
[snappyHexMesh] snapEdge compilation problems | rassilon | OpenFOAM Meshing & Mesh Conversion | 4 | February 23, 2011 21:23 |
UDF compilation problems | MateuszZb | FLUENT | 4 | October 20, 2008 02:46 |
Compilation problems and file locations | Joel | Siemens | 3 | February 11, 2003 12:42 |