|
[Sponsors] |
[swak4Foam] installation issues with foamextend3.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 21, 2017, 19:39 |
installation issues with foamextend3.2
|
#1 |
New Member
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 14 |
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 |
|
January 22, 2017, 12:40 |
|
#2 | |
Senior Member
khedar
Join Date: Oct 2016
Posts: 111
Rep Power: 10 |
Quote:
or best download a fresh copy of swakfoam and then compile. |
||
January 22, 2017, 13:51 |
|
#3 |
New Member
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 14 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation issues on Ubuntu 13.10 | Jeggi | enGrid | 14 | July 22, 2023 07:13 |
[foam-extend.org] issues with extend-3.2 installation on ubuntu | CjjJoy | OpenFOAM Installation | 0 | July 18, 2016 09:58 |
[Other] Installation issues with flex 2.6.0 and inelegant solution | windscion | OpenFOAM Installation | 1 | January 18, 2016 15:18 |
Installation issues for parallel computation | Akash C | SU2 Installation | 1 | June 21, 2013 06:26 |
OpenFOAM 15 and CentOS 52 installation issues | remrich | OpenFOAM Bugs | 9 | March 20, 2009 02:48 |