CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] swak4foam 0.3.2 installation problem on Ubuntu 15.04 with OpenFOAM 2.4.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2016, 21:43
Default swak4foam 0.3.2 installation problem on Ubuntu 15.04 with OpenFOAM 2.4.0
  #1
New Member
 
bin xu
Join Date: Jan 2016
Posts: 5
Rep Power: 10
ptsxx is on a distinguished road
Hi,everyone!
I use ubuntu 15.04 with openfoam 2.4.0.when i tried to install swak4Foam, i met some problems.

Code:
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
中止: no repository found in '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam' (.hg not found)!
Swak version is 0.3.2
Bison is version 2.7.12-4996
Flex is version 2.5.39 (Minor version: 39)
OpenFOAM-version: Major 2 Minor 4 Patch 0 (-1 == x / 0)
No change to swak4FoamParsers/foamVersion4swak.H
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it

'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/home/xubin/OpenFOAM/xubin-2.4.0/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

make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/calcNonUniformOffsetsForMapped'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/calcNonUniformOffsetsForMapped'
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/fieldReport'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/fieldReport' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/fieldReport'
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkyDoCalc'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkyDoCalc' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkyDoCalc'

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled

make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetBoundaryField'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkySetBoundaryField' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetBoundaryField'
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetFields'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkySetFields' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetFields'
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetLagrangianField'
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/xubin/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/lagrangian/basic/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/lagrangian/intermediate/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/basic/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/radiation/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/SLGThermo/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/reactionThermo/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/specie/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/regionModels/surfaceFilmModels/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/regionModels/regionModel/lnInclude -I../../Libraries/swakLagrangianParser/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/xubin/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetLagrangianField.o -L/home/xubin/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume 	-lmeshTools 	-llagrangian 	-L/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib 	-lswakLagrangianParser 	-lswak4FoamParsers -lOpenFOAM -ldl   -lm -o /home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkySetLagrangianField
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::patchInjectionBase::patchInjectionBase(Foam::polyMesh const&, Foam::word const&)’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::patchInjectionBase::patchInjectionBase(Foam::patchInjectionBase const&)’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘typeinfo for Foam::reactingCloud’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘typeinfo for Foam::kinematicCloud’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::kinematicCloud::typeName’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::kinematicCloud::kinematicCloud()’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > >::typeName’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘typeinfo for Foam::patchInjectionBase’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::kinematicCloud::~kinematicCloud()’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘Foam::Cloud<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > >::typeName’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘typeinfo for Foam::reactingMultiphaseCloud’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::patchInjectionBase::setPositionAndCell(Foam::polyMesh const&, Foam::cachedRandom&, Foam::Vector<double>&, int&, int&, int&)’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::patchInjectionBase::updateMesh(Foam::polyMesh const&)’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/liblagrangianIntermediate.so:对‘Foam::patchInjectionBase::~patchInjectionBase()’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘Foam::Cloud<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > >::typeName’未定义的引用
/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/lib/libswakLagrangianParser.so:对‘typeinfo for Foam::thermoCloud’未定义的引用
collect2: error: ld returned 1 exit status
/home/xubin/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkySetLagrangianField' failed
make[1]: *** [/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkySetLagrangianField] Error 1
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkySetLagrangianField'
/home/xubin/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'funkySetLagrangianField' failed
make: *** [funkySetLagrangianField] Error 2
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkyWarpMesh'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/funkyWarpMesh' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/funkyWarpMesh'
make[1]: Entering directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/replayTransientBC'
make[1]: '/home/xubin/OpenFOAM/xubin-2.4.0/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: Leaving directory '/home/xubin/OpenFOAM/xubin-2.4.0/swak4Foam/Utilities/replayTransientBC'
make: Target 'application' not remade because of errors.



how can i fix these?
thanks a lot!
ptsxx is offline   Reply With Quote

Old   January 10, 2016, 17:48
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings ptsxx and welcome to the forum!

I'm having trouble reproducing this error that you are getting. A few questions:
  1. Which installation instructions did you follow for installing OpenFOAM 2.4.0?
  2. Do you have more than one OpenFOAM or foam-extend version installed?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Ubuntu 14.04 LTS OpenFoam 4.1 Installation Error behzad-cfd OpenFOAM Installation 2 March 5, 2017 02:44
[OpenFOAM.org] OpenFoam 3.0 installation on Ubuntu 14.04.3 tab2001ng OpenFOAM Installation 3 March 8, 2016 01:38
[OpenFOAM.org] OpenFOAM 2.4.x installation script for ubuntu p0kerus OpenFOAM Installation 0 June 1, 2015 15:52
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 Nait OpenFOAM Installation 2 December 12, 2012 10:20
Installation problem: openfoam 2.1.0 on opensuse 11.4 raphael7 OpenFOAM Installation 4 April 12, 2012 07:10


All times are GMT -4. The time now is 15:13.