|
[Sponsors] |
[Swak4Foam] can not get Swak4Foam to compile correctly for FoamExtend-0.4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 29, 2021, 12:02 |
[Swak4Foam] can not get Swak4Foam to compile correctly for FoamExtend-0.4.0
|
#1 |
New Member
Christopher Roper
Join Date: May 2020
Posts: 5
Rep Power: 5 |
I am trying to get Swak4Foam working on FoamExtend-0.4.0. funkySetFields does not work. I have attached part of the results of running ./Allwmake
Code:
Current OpenFOAM version is 4.0. Previously compiled for OpenFOAM (4.0) /home/ofpc/foam/ofpc-4.0/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' Looking for Python 2 Found Python 2.7 Configuring Python 2.7 Using python2.7 at /usr/bin/python2.7-config for python2 Looking for Python 3 Using our own Lua at /home/ofpc/foam/ofpc-4.0/swak4Foam/privateRequirements Checking swak4Foam-version and generating file Swak version is 20xx.yy.0 hg info: b8e73355892c (develop) tip No 'bear' installed Bison: /home/ofpc/foam/ofpc-4.0/swak4Foam/privateRequirements/bin/bison Flex: /usr/bin/flex Bison at /home/ofpc/foam/ofpc-4.0/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4) Flex is version 2.6.4 (Minor version: 4) OpenFOAM-version: Major 4 Minor 0 Patch 0 (-1 == x / 0) Fork: extend No change to swak4FoamParsers/foamVersion4swak.H Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libswak4FoamParsers.so' is up to date. /usr/bin/ld: cannot find -lradiation collect2: error: ld returned 1 exit status /home/ofpc/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so' failed make: *** [/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so] Error 1 '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libgroovyBC.so' is up to date. '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libswakFunctionObjects.so' is up to date. /usr/bin/ld: cannot find -lincompressibleTurbulenceModel /usr/bin/ld: cannot find -lcompressibleTurbulenceModel /usr/bin/ld: cannot find -lradiation collect2: error: ld returned 1 exit status /home/ofpc/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so' failed make: *** [/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so] Error 1 /usr/bin/ld: cannot find -lradiation collect2: error: ld returned 1 exit status /home/ofpc/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target '/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so' failed make: *** [/home/ofpc/foam/ofpc-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so] Error 1 SOURCE=wrapperSearchableSurface.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DFOAM_DEV -I../swak4FoamParsers/lnInclude -I/home/ofpc/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/ofpc/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/ofpc/foam/foam-extend-4.0/src/triSurface/lnInclude -IlnInclude -I. -I/home/ofpc/foam/foam-extend-4.0/src/foam/lnInclude -I/home/ofpc/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/wrapperSearchableSurface.o /usr/bin/ld: cannot find -lfoam collect2: error: ld returned 1 exit status /home/ofpc/foam/foam-extend-4.0/wmake/Makefile:159: recipe for target '/home/ofpc/foam/ofpc-4.0/applications/bin/linux64GccDPOpt/makeAxialMesh' failed make: *** [/home/ofpc/foam/ofpc-4.0/applications/bin/linux64GccDPOpt/makeAxialMesh] Error 1 If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ofpc/foam/ofpc-4.0/swak4Foam/Libraries (most people will be fine without setting that variable) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot install swak4Foam correctly in cluster. Help! | zxw | OpenFOAM | 0 | September 15, 2018 10:37 |
[swak4Foam] Couldn't Compile swak4foam with OpenFOAM git | p0kerus | OpenFOAM Community Contributions | 4 | October 10, 2017 14:22 |
[swak4Foam] Error: Installing swak4Foam into OpenFOAM 2.3.0 on CentOS 7 | mushtime | OpenFOAM Community Contributions | 9 | July 23, 2017 15:27 |
[swak4Foam] something wrong when I compile swak4Foam | whyingwang | OpenFOAM Community Contributions | 1 | May 22, 2013 07:13 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |