|
[Sponsors] |
[swak4Foam] swak4Foam compilation can't find -lOpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 4, 2015, 06:46 |
swak4Foam compilation can't find -lOpenFOAM
|
#1 |
New Member
Bob Roos
Join Date: Aug 2015
Posts: 3
Rep Power: 11 |
I'm trying to compile swak4Foam on OpenFoam 2.3 but after using ./Allwmake twice I get this output:
Code:
Previously compiled for OpenFOAM 2.3.0 ... No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file Swak version is 0.3.1 Bison is version 2.7.12-4996 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 3 Patch 0 (-1 == x / 0) No change to swak4FoamParsers/foamVersion4swak.H '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLagrangianParser.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libgroovyBC.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleSearchableSurfaces.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakTopoSources.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakSourceFields.so' is up to date. Compiling swakFvOptions '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFvOptions.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/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/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/cfdTools/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/cfdTools/general/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/calcNonUniformOffsetsForMapped.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/calcNonUniformOffsetsForMapped /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/calcNonUniformOffsetsForMapped] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' make: *** [calcNonUniformOffsetsForMapped] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/fieldReport' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/simpleFunctionObjects/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/fieldReport.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/fieldReport /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/fieldReport] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/fieldReport' make: *** [fieldReport] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyDoCalc' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/simpleFunctionObjects/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/funkyDoCalc.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyDoCalc /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyDoCalc] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyDoCalc' make: *** [funkyDoCalc] Error 2 SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetBoundaryField' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/funkySetBoundaryField.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetBoundaryField /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetBoundaryField] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetBoundaryField' make: *** [funkySetBoundaryField] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetFields' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/funkySetFields.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -lsampling -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetFields /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetFields] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetFields' make: *** [funkySetFields] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetLagrangianField' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/lagrangian/basic/lnInclude -I../../Libraries/swakLagrangianParser/lnInclude/ -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/funkySetLagrangianField.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -llagrangian -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswakLagrangianParser -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetLagrangianField /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetLagrangianField] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetLagrangianField' make: *** [funkySetLagrangianField] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyWarpMesh' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64Gcc49DPOpt -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/sampling/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/funkyWarpMesh.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyWarpMesh /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyWarpMesh] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyWarpMesh' make: *** [funkyWarpMesh] Error 2 make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/replayTransientBC' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/cfdTools/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/cfdTools/general/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/finiteVolume/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc49DPOpt/replayTransientBC.o -L/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/replayTransientBC /usr/bin/ld: cannot find -lOpenFOAM collect2: error: ld returned 1 exit status make[1]: *** [/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/replayTransientBC] Error 1 make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/replayTransientBC' 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/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Libraries (most people will be fine without setting that variable) |
|
August 4, 2015, 18:15 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Bob and welcome to the forum!
What does the following commands give you? Code:
ls -l $FOAM_LIBBIN/libOpenFOAM.so echo $FOAM_LIBBIN If the library cannot be found, then run: Code:
ldd $(which blockMesh) | grep libOpenFOAM As for the g++ version, please run the following command for confirming the version being used: Code:
g++ --version Best regards, Bruno
__________________
|
|
August 5, 2015, 05:21 |
|
#3 |
New Member
Bob Roos
Join Date: Aug 2015
Posts: 3
Rep Power: 11 |
Thanks for the reply Bruno, much appreciated. The first command yields:
Code:
ls: /home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib/libOpenFOAM.so: No such file or directory Code:
/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib ldd $(which blockMesh) | grep libOpenFOAM as I can't find it yields: Code:
Illegal variable name. Edit: I managed to find the file libOpenFOAM.so in some other folder and copied it to Code:
/home/navier01a/broos/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64Gcc49DPOpt/lib/ Code:
Previously compiled for OpenFOAM 2.3.0 /home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file abort: There is no Mercurial repository here (.hg not found)! Swak version is 0.3.1 Bison is version 2.7.12-4996 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 3 Patch 0 (-1 == x / 0) No change to swak4FoamParsers/foamVersion4swak.H '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLagrangianParser.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libgroovyBC.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleSearchableSurfaces.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakTopoSources.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakSourceFields.so' is up to date. Compiling swakFvOptions '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFvOptions.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. '/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/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/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/calcNonUniformOffsetsForMapped' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/calcNonUniformOffsetsForMapped' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/fieldReport' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/fieldReport' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/fieldReport' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyDoCalc' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyDoCalc' SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetBoundaryField' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetFields' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetFields' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetLagrangianField' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkySetLagrangianField' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkySetLagrangianField' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyWarpMesh' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/funkyWarpMesh' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/funkyWarpMesh' make[1]: Entering directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/replayTransientBC' make[1]: `/home/navier01a/broos/OpenFOAM/broos-2.3.0/platforms/linux64Gcc49DPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Utilities/replayTransientBC' If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/navier01a/broos/OpenFOAM/broos-2.3.0/userUtilities/swak4Foam/Libraries (most people will be fine without setting that variable) Last edited by BobR; August 5, 2015 at 11:22. Reason: Adding information |
|
August 5, 2015, 13:43 |
|
#4 |
New Member
Bob Roos
Join Date: Aug 2015
Posts: 3
Rep Power: 11 |
If I may ask a follow up question to this Bruno, how did you know that it was searching for the libOpenFOAM.so file, i.e., how do you translate the error that it's looking for -lOpenFOAM into the file you search for? If there's a general answer, it'd be very helpful if I get stuck with similar cases in the future (or for other readers I guess)
|
|
August 10, 2015, 15:49 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Bob,
Since you've asked, I've added this to the FAQ: http://openfoamwiki.net/index.php/FA...ume.27_mean.3F Best regards, Bruno |
|
Tags |
lopenfoam, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] 3.2 Installation in Debian 8.5 | jsm | OpenFOAM Installation | 2 | June 19, 2016 11:53 |
How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 10:18 |
[OpenFOAM.org] Compilation OpenFOAM 2.2.1 on BG/Q | vkeller | OpenFOAM Installation | 5 | October 31, 2015 08:06 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
Cannot find -lOpenFOAM in 1.7.x install | scott | OpenFOAM | 3 | November 14, 2012 10:29 |