|
[Sponsors] |
[foam-extend.org] Error on foam-extend build/comilation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2019, 04:03 |
Error on foam-extend build/comilation
|
#1 |
New Member
Goind Sharma
Join Date: Sep 2018
Posts: 25
Rep Power: 8 |
Hello,
I am facing compilation/build problem with foam-extend.4.0. I check that issue with ThirdParty so I try to compile it separate with ./AllMake. I am struggling to understand error output of ./AllMake. Can Any one help me to figure out this? I am attaching error logs. Regards, Govind Sharma |
|
April 20, 2019, 05:58 |
|
#2 |
New Member
Goind Sharma
Join Date: Sep 2018
Posts: 25
Rep Power: 8 |
Please reply anyone has idea of this. I have searched on forum and read about installation of foam-extended. But still I am not figuring out.
|
|
April 21, 2019, 07:27 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
April 22, 2019, 00:27 |
|
#4 |
New Member
govind
Join Date: Apr 2018
Posts: 8
Rep Power: 8 |
Thanks wyldckat,
I am using Ubuntu 16.04LTS. And following the https://openfoamwiki.net/index.php/I...oam-extend-4.0 installation instructions. Regards, Govind Last edited by wyldckat; April 22, 2019 at 21:13. Reason: removed quotes so that the link would activate |
|
April 22, 2019, 21:14 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick question: And did you follow the instructions given on section Ubuntu 16.04 in this page: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 ??
|
|
April 23, 2019, 11:53 |
|
#6 |
New Member
Goind Sharma
Join Date: Sep 2018
Posts: 25
Rep Power: 8 |
Thanks,
Yeah It compiled whole but still I there is error. It is asking Bison version above 3. Code:
removing .dep files referring to filesThatAreOnlyInSomeDistributions ... wclean funkySetFields wclean funkySetBoundaryField wclean replayTransientBC wclean funkySetAreaFields wclean funkyDoCalc wclean calcNonUniformOffsetsForMapped wclean fieldReport wclean funkyPythonPostproc wclean funkySetLagrangianField wclean funkyWarpMesh Current OpenFOAM version is 4.0. This is a clean install No file 'swakConfiguration'. Python etc won't work. See README for details Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems Checking swak4Foam-version and generating file Swak version is 0.4.2 hg info: a31fc64df7c6+ Bison: /home/govind/foam/foam-extend-4.0/ThirdParty/packages/bison-2.7/platforms/linux64GccDPOpt/bin/bison Flex: /usr/bin/flex Bison is version 2.7 swak4Foam only confirmed to work with Bison >= 3 Consider running ./maintainanceScripts/compileRequirements.sh for a local bison-installation Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occurred to 5 other people before and has been solved on the MessageBoard Last edited by wyldckat; April 23, 2019 at 19:29. Reason: Added [CODE][/CODE] markers |
|
April 23, 2019, 20:21 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Oooohhh... OK, this explains a few posts I've been seeing about people complaining that they aren't able to fully build foam-extend 4.0 due to Bison...
My guess is that the version of swak4Foam that was pulled-in within foam-extend 4.0 script, got the latest instead of the latest known to be working for this version of foam-extend... Ah, OK, so signs initially pointed to Mercurial not being installed in your system, hence the problem... I say this because the version you've gotten is 0.4.2, when 0.4.0 is the one meant to be used... mmm, let me try this manually... OK, I get this error: Code:
abort: unknown revision 'version_0.4.0_v2.x'! edit on the 25th of April: The issue has been solved on swak4Foam's repo! OK, the following commands might solve the problem: Code:
cd $WM_THIRD_PARTY_DIR cd rpmBuild/BUILD/swak4Foam-0.4.0 ./Allwclean hg update --clean . hg checkout v0.4.1 ./Allwmake > log.make 2>&1 ./Allwmake > log.make.2nd 2>&1
If you then run: Code:
cat log.make.2nd Code:
Previously compiled for OpenFOAM (4.0) No file 'swakConfiguration'. Python etc won't work. See README for details Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems Checking swak4Foam-version and generating file Swak version is 0.4.1 Bison is version 2.7 Flex is version 2.6.0 (Minor version: 0) OpenFOAM-version: Major 4 Minor 0 Patch 0 (-1 == x / 0) Fork: extend No change to swak4FoamParsers/foamVersion4swak.H '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswak4FoamParsers.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libgroovyBC.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakFunctionObjects.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libsimpleSearchableSurfaces.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libsimpleSwakFunctionObjects.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakTopoSources.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakStateMachine.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakDynamicMesh.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakSourceFields.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakFiniteArea.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakDynamicMeshFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakMeshWaveFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakMRFFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakQuantileFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakRandomFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakShiftFieldFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakVelocityFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakFacSchemesFunctionPlugin.so' is up to date. '/home/ofuser/foam/ofuser-4.0/lib/linux64GccDPOpt/libswakCoalCloudAdaptor.so' is up to date. If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/calcNonUniformOffsetsForMapped' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/fieldReport' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkySetAreaFields' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkyDoCalc' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkySetBoundaryField' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkySetLagrangianField' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkySetFields' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/funkyWarpMesh' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/replayTransientBC' is up to date. make[1]: '/home/ofuser/foam/ofuser-4.0/applications/bin/linux64GccDPOpt/writeBoundarySubfields' is up to date. If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ofuser/foam/foam-extend-4.0/ThirdParty/tmp/swak4Foam/Libraries (most people will be fine without setting that variable) Last edited by wyldckat; April 25, 2019 at 13:33. Reason: see "edit:" |
|
April 24, 2019, 01:55 |
|
#8 |
New Member
govind
Join Date: Apr 2018
Posts: 8
Rep Power: 8 |
Thanks,
I will follow this to complete the installation. By the way I tried to run icoFoam it has run without any error. |
|
April 25, 2019, 08:43 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Yes, I didn't mention it, because from your post I had assumed you knew that everything had been built, except for swak4Foam.
The error you reported was just affecting swak4Foam, which is the last thing being built in the foam-extend stack. By the way, I've reported the issue regarding swak4Foam here: https://sourceforge.net/p/openfoam-e...swak4foam/246/
__________________
|
|
April 26, 2019, 08:51 |
|
#10 |
New Member
govind
Join Date: Apr 2018
Posts: 8
Rep Power: 8 |
Thanks for your quick replies. It helped me to understand subtle things about foam compilation issues.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |