|
[Sponsors] |
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2014, 18:37 |
swak4foam installation failed
|
#21 | |
New Member
Nick Krgs
Join Date: Jan 2014
Posts: 13
Rep Power: 12 |
Hi!
I am a new Openfoam user and i am trying to install swak4foam following the above steps ( i put the attached file into swak4foam folder etc) but it the problem hasn't been solved yet. what can i do to install it properly? some messages from allwmake: Making dependency list for source file fieldReport.C could not open file directMappedFvPatch.H for source file fieldReport.C could not open file directMappedWallFvPatch.H for source file fieldReport.C could not open file directMappedPointPatch.H for source file fieldReport.C could not open file FixedValuePointPatchField.H for source file fieldReport.C could not open file ZeroGradientPointPatchField.H for source file fieldReport.C could not open file CalculatedPointPatchField.H for source file fieldReport.C could not open file directMappedPatchBase.H for source file fieldReport.C make[1]: Entering directory `/home/nikos/OpenFOAM/swak4Foam/Utilities/fieldReport' could not open file directMappedFvPatch.H for source file swakRadiationModelPluginFunction.C could not open file directMappedWallFvPatch.H for source file swakRadiationModelPluginFunction.C could not open file directMappedPointPatch.H for source file swakRadiationModelPluginFunction.C could not open file FixedValuePointPatchField.H for source file swakRadiationModelPluginFunction.C could not open file ZeroGradientPointPatchField.H for source file swakRadiationModelPluginFunction.C could not open file CalculatedPointPatchField.H for source file swakRadiationModelPluginFunction.C could not open file basicPsiThermo.H for source file swakRadiationModelPluginFunction.C could not open file basicRhoThermo.H for source file swakRadiationModelPluginFunction.C SOURCE=swakRadiationModelPluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam222/src/meshTools/lnInclude -I/opt/openfoam222/src/finiteVolume/lnInclude -I/opt/openfoam222/src/sampling/lnInclude -I/opt/openfoam222/src/meshTools/lnInclude -I/opt/openfoam222/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam222/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam222/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam222/src/thermophysicalModels/radiationModels/lnInclude -IlnInclude -I. -I/opt/openfoam222/src/OpenFOAM/lnInclude -I/opt/openfoam222/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/swakRadiationModelPluginFunction.o '/home/nikos/OpenFOAM/nikos-2.2.2/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file coalCloudEnthalpySourcePluginFunction.C could not open file basicThermoCloud.H for source file coalCloudEnthalpySourcePluginFunction.C could not open file CoalCloud.H for source file coalCloudEnthalpySourcePluginFunction.C Making dependency list for source file coalCloudMassFractionPluginFunction.C could not open file basicThermoCloud.H for source file coalCloudMassFractionPluginFunction.C could not open file CoalCloud.H for source file coalCloudMassFractionPluginFunction.C Making dependency list for source file coalCloudMassSourcePluginFunction.C could not open file basicThermoCloud.H for source file coalCloudMassSourcePluginFunction.C could not open file CoalCloud.H for source file coalCloudMassSourcePluginFunction.C Making dependency list for source file coalCloudMomentumSourcePluginFunction.C could not open file basicThermoCloud.H for source file coalCloudMomentumSourcePluginFunction.C could not open file CoalCloud.H for source file coalCloudMomentumSourcePluginFunction.C Making dependency list for source file coalCloudRhoEffPluginFunction.C could not open file basicThermoCloud.H for source file coalCloudRhoEffPluginFunction.C could not open file CoalCloud.H for source file coalCloudRhoEffPluginFunction.C Making dependency list for source file coalCloudScatteringFactorPluginFunction.C could not open file basicThermoCloud.H for source file coalCloudScatteringFactorPluginFunction.C could not open file CoalCloud.H for source file coalCloudScatteringFactorPluginFunction.C Making dependency list for source file coalCloudSpeciesSourcePluginFunction.C could not open file basicThermoCloud.H for source file coalCloudSpeciesSourcePluginFunction.C could not open file CoalCloud.H for source file coalCloudSpeciesSourcePluginFunction.C Making dependency list for source file coalCloudVolumeFractionPluginFunction.C could not open file basicThermoCloud.H for source file coalCloudVolumeFractionPluginFunction.C could not open file CoalCloud.H for source file coalCloudVolumeFractionPluginFunction.C Making dependency list for source file makeCoalCloudProxys.C could not open file basicThermoCloud.H for source file makeCoalCloudProxys.C could not open file CoalCloud.H for source file makeCoalCloudProxys.C SOURCE=coalCloudEnthalpySourcePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../../../swak4FoamParsers/lnInclude -I thank you in advance. NK Quote:
|
||
January 28, 2014, 19:20 |
|
#22 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Are you really trying to compile swak 0.2.3 (as the thread title indicates)? If yes: do yourself a favour and try the recently released version 0.3.0. If you are already using that: why do you post in a thread that says otherwise?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
January 29, 2014, 17:31 |
|
#23 | |
New Member
Nick Krgs
Join Date: Jan 2014
Posts: 13
Rep Power: 12 |
Quote:
i finally compiled swak 0.2.4 succesfully. Thank you. |
||
April 7, 2014, 00:30 |
|
#24 |
New Member
IN
Join Date: Mar 2014
Posts: 9
Rep Power: 12 |
Hi Bruno,
I'm trying to install the swak4Foam in order to use the groovyBC, however I am running into issues when running the ./Allwmake. I have 2.2.x version of OpenFOAM and I am using 0.2.4 version of swak4Foam along with its patch patch_swak2Foam_024_OF22x_49808a1c. But I am getting these errors. Thanks, Rohit |
|
April 7, 2014, 17:00 |
|
#25 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
April 7, 2014, 17:08 |
|
#26 |
New Member
IN
Join Date: Mar 2014
Posts: 9
Rep Power: 12 |
Thank you, although I am getting errors even after applying suggested edit the groovyBC is working fine.
Rohit |
|
April 16, 2014, 05:32 |
|
#27 | |
Member
nadine moussa
Join Date: Mar 2012
Posts: 30
Rep Power: 14 |
Hello Bruno,
I followed your instructions to install swak4foam for openfoam201 on ubuntu: Quote:
I guess the patch is not working: patch -p1 < patch_swak2Foam_024_OF22x_49808a1c and honestly I dont know what this does!!! Code:
the makelog file gives the following msgs: No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Traceback (most recent call last): File "./maintainanceScripts/makeSwakVersionFile.py", line 8, in <module> output = Popen(["hg", "branch"], stdout=PIPE).communicate()[0] File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 0 Patch 1 (-1 == x) No change to swak4FoamParsers/foamVersion4swak.H '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. make[1]: Entering directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkyDoCalc' make[1]: `/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkyDoCalc' make[1]: Entering directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkySetBoundaryField' make[1]: `/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkySetFields' make[1]: `/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/funkySetFields' make[1]: Entering directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/replayTransientBC' make[1]: `/home/nadine/OpenFOAM/nadine-2.0.1/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Utilities/replayTransientBC' If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/nadine/OpenFOAM/nadine-2.0.1/swak4foam-OF20/Libraries (most people will be fine without setting that variable) I hope it is not a lot to ask, but can you pls help! Thank you, Nadine Last edited by wyldckat; April 16, 2014 at 16:10. Reason: Added [CODE][/CODE] and [QUOTE][/QUOTE] for clarity |
||
April 16, 2014, 16:14 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Nadine,
Uhm, those instructions are now really outdated. The current ones, which are up-to-date, are available here: http://openfoamwiki.net/index.php/In...ling_On/Ubuntu But still, from the output you've given, it seems that swak4Foam has been successfully been built. So you should be able to use groovyBC. So the questions are:
Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
[swak4Foam] installing funkySetFields | igo | OpenFOAM Community Contributions | 1 | November 20, 2012 21:16 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |