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

[swak4Foam] installation issues with foamextend3.2

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By khedar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2017, 18:39
Default installation issues with foamextend3.2
  #1
New Member
 
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 13
srivatta is on a distinguished road
Hello,
I am trying to install swak4foam with foamextend 3.2 using the instructions on this page .

https://openfoamwiki.net/index.php/I...end_3.0_to_3.2

When I run Allwmake, this is what I get in the install log

Previously compiled for OpenFOAM 3.2

/home/ragunath/foam/ragunath-3.2/swak4Foam/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/ragunath/foam/ragunath-3.2/swak4Foam' (.hg not found)!
Swak version is 0.4.0
Bison is version 2.7.12-4996
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 3 Minor 2 Patch 0 (-1 == x / 0) Fork: extend
No change to swak4FoamParsers/foamVersion4swak.H

"a lot of up to date lines that I have omitted"



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

"Again a lot of up to date lines"

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

Issues start from here, I suppose!

-lfiniteVolume -lfiniteArea -lmeshTools -L/home/ragunath/foam/ragunath-3.2/lib/linux64GccDPOpt -lswakFiniteArea -lswak4FoamParsers -lswakFunctionObjects -lfoam -liberty -ldl -lrt -lm -o /home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkySetAreaFields
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/calcNonUniformOffsetsForMapped] Error 1
make: *** [calcNonUniformOffsetsForMapped] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/fieldReport] Error 1
make: *** [fieldReport] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkyDoCalc] Error 1
make: *** [funkyDoCalc] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkySetBoundaryField] Error 1
make: *** [funkySetBoundaryField] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkyWarpMesh] Error 1
make: *** [funkyWarpMesh] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/ragunath/foam/foam-extend-3.2/src/cfdTools/lnInclude -DFOAM_DEV -I/home/ragunath/foam/foam-extend-3.2/src/cfdTools/general/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/finiteVolume/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/sampling/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/meshTools/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/fvOptions/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/dynamicFvMesh/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/dynamicMesh/dynamicFvMesh/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/ragunath/foam/foam-extend-3.2/src/foam/lnInclude -I/home/ragunath/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/replayTransientBC.o -L/home/ragunath/foam/foam-extend-3.2/lib/linux64GccDPOpt \
-lfiniteVolume -ldynamicFvMesh -lsampling -ltopoChangerFvMesh -ldynamicMesh -lmeshTools -lfoam -liberty -ldl -lrt -lm -o /home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/replayTransientBC
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkySetAreaFields] Error 1
/usr/bin/ld: cannot find -lfoam
make: *** [funkySetAreaFields] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkySetFields] Error 1
collect2: error: ld returned 1 exit status
make: *** [funkySetFields] Error 2
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/funkySetLagrangianField] Error 1
make: *** [funkySetLagrangianField] Error 2
/usr/bin/ld: cannot find -lfoam
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ragunath/foam/ragunath-3.2/applications/bin/linux64GccDPOpt/replayTransientBC] Error 1
make: *** [replayTransientBC] 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/ragunath/foam/ragunath-3.2/swak4Foam/Libraries (most people will be fine without setting that variable)

Any help is greatly appreciated.

Thank you,
Sri
srivatta is offline   Reply With Quote

Old   January 22, 2017, 11:40
Default
  #2
Senior Member
 
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 9
khedar is on a distinguished road
Quote:
Previously compiled for OpenFOAM 3.2
Are you updating from previous version? I would use wmake clean or ./Allwclean before running ./Allrun
or best download a fresh copy of swakfoam and then compile.
srivatta likes this.
khedar is offline   Reply With Quote

Old   January 22, 2017, 12:51
Default
  #3
New Member
 
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 13
srivatta is on a distinguished road
I tried everything possible.. wclean, wmake etc... Just would not work. On the other hand, I installed foam-extend 4.0, used the development version of swak4foam and that seems to work.

I don't remember having problems with swak4foam with earlier versions of OF... 1.6ext, 2.0 etc...Problems started with 2.2.2 I believe.
srivatta 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
Installation issues on Ubuntu 13.10 Jeggi enGrid 14 July 22, 2023 06:13
[foam-extend.org] issues with extend-3.2 installation on ubuntu CjjJoy OpenFOAM Installation 0 July 18, 2016 08:58
[Other] Installation issues with flex 2.6.0 and inelegant solution windscion OpenFOAM Installation 1 January 18, 2016 14:18
Installation issues for parallel computation Akash C SU2 Installation 1 June 21, 2013 05:26
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 01:48


All times are GMT -4. The time now is 17:59.