November 11, 2016, 06:16
|
[OpenFOAM] [2.3.1] Install swak4Foam in Ubuntu 16.04.01 with errors
|
#1
|
New Member
Join Date: Nov 2016
Posts: 16
Rep Power: 10
|
Dear all,
I'm trying to install swak4Foam in Ubuntu 16.04.01 (OpenFOAM version 2.3.1), then I get following error log:
Quote:
Previously compiled for OpenFOAM 2.3.1
/home/ycui/OpenFOAM/ycui-2.3.1/swak4Foam_2.x/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)
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
abort: no repository found in '/home/ycui/OpenFOAM/ycui-2.3.1/swak4Foam_2.x' (.hg not found)!
Swak version is 0.4.0
Bison is version 2.7.12-4996
Flex is version 2.6.0 (Minor version: 0)
OpenFOAM-version: Major 2 Minor 3 Patch 1 (-1 == x / 1) Fork: openfoam
No change to swak4FoamParsers/foamVersion4swak.H
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.
SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakMRFFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/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
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libsimpleCloudFunctionObjects.so' is up to date.
'/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/libswakCloudFunctionObjects.so' is up to date.
SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/fieldReport' is up to date.
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/basic/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/lagrangian/intermediate/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/basic/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/radiation/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/SLGThermo/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/reactionThermo/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/specie/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/surfaceFilmModels/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/regionModels/regionModel/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/compressible/lnInclude -I../../Libraries/swakLagrangianParser/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/ycui/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetLagrangianField.o -L/home/ycui/OpenFOAM/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -llagrangian -L/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib -lswakLagrangianParser -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkySetLagrangianField
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkyWarpMesh' is up to date.
make[1]: '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::UOPstream::writeQuoted(std::string const&, bool)'
/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::regExp::match(std::string const&) const'
/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so: undefined reference to `Foam::regExp::regExp(std::string const&, bool)'
collect2: error: ld returned 1 exit status
/home/ycui/OpenFOAM/OpenFOAM-2.3.1/wmake/Makefile:149: recipe for target '/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkySetLagrangianField' failed
make[1]: *** [/home/ycui/OpenFOAM/ycui-2.3.1/platforms/linux64GccDPOpt/bin/funkySetLagrangianField] Error 1
/home/ycui/OpenFOAM/OpenFOAM-2.3.1/wmake/MakefileApps:39: recipe for target 'funkySetLagrangianField' failed
make: *** [funkySetLagrangianField] Error 2
make: Target 'application' not remade because of errors.
If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ycui/OpenFOAM/ycui-2.3.1/swak4Foam_2.x/Libraries (most people will be fine without setting that variable)
|
Any idea for fixing this problem?
Best regards,
@ycui
Last edited by ycui; November 11, 2016 at 07:16.
|
|
|