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

[swak4Foam] Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By wyldckat
  • 2 Post By artymk4
  • 1 Post By dewey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2017, 01:45
Default Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04
  #1
New Member
 
Join Date: May 2017
Posts: 9
Rep Power: 8
jock is on a distinguished road
Hi
I installed foam-extend-4.0 for ubuntu-16.04, but swak4foam failed to install. What should I do to solve it?
I also refresh install it acordding to openfoamwki,but i failed again.
thank you
jack
jock is offline   Reply With Quote

Old   June 25, 2017, 11:08
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
Quick answer: Please do the following steps:
  1. Activate the foam-extend 4.0 environment (namely, "source foam-extend-4.0/etc/bashrc" the same way as you've done when installing foam-extend).
  2. Run the following commands:
    Code:
    cd $WM_THIRD_PARTY_DIR
    ./AllMake.stage5 > log.swak4Foam 2>&1
    gzip < log.swak4Foam > log.swak4Foam.gz
  3. Attach the file "log.swak4Foam.gz" to your next post.
xena likes this.
__________________
wyldckat is offline   Reply With Quote

Old   June 25, 2017, 11:27
Default
  #3
New Member
 
Join Date: May 2017
Posts: 9
Rep Power: 8
jock is on a distinguished road
Thank you very much ,wyldckat
jock is offline   Reply With Quote

Old   May 17, 2019, 20:32
Default
  #4
Member
 
Martin
Join Date: Aug 2018
Posts: 33
Rep Power: 7
artymk4 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: Please do the following steps:
  1. Activate the foam-extend 4.0 environment (namely, "source foam-extend-4.0/etc/bashrc" the same way as you've done when installing foam-extend).
  2. Run the following commands:
    Code:
    cd $WM_THIRD_PARTY_DIR
    ./AllMake.stage5 > log.swak4Foam 2>&1
    gzip < log.swak4Foam > log.swak4Foam.gz
  3. Attach the file "log.swak4Foam.gz" to your next post.
I tried those steps and many other suggestions but I still can't get swak4foam working with foam-extend-4.0 on my new computer.
I'm attaching log.swak4foam file. Help would be greatly appreciated.
Attached Files
File Type: gz log.swak4Foam.gz (3.9 KB, 17 views)
artymk4 is offline   Reply With Quote

Old   May 18, 2019, 11:08
Default
  #5
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
Quick questions:
  1. Which Linux Distribution or other Operating System are you using? And which version?
  2. Which GCC version are you using? If you don't know, run:
    Code:
    g++ --version
    gcc --version
  3. Which installation instructions did you follow to install foam-extend 4.0?
__________________
wyldckat is offline   Reply With Quote

Old   May 19, 2019, 11:22
Default
  #6
Member
 
Martin
Join Date: Aug 2018
Posts: 33
Rep Power: 7
artymk4 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick questions:
  1. Which Linux Distribution or other Operating System are you using? And which version?
  2. Which GCC version are you using? If you don't know, run:
    Code:
    g++ --version
    gcc --version
  3. Which installation instructions did you follow to install foam-extend 4.0?
Ubuntu 18.04.2 LTS
g++ (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
gcc (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0
I followed these instructions and I ended up with foam-extend in Home folder. When I ran "source etc/bashrc" I had errors because Terminal was searching for bashrc in /opt instead of Home. I tried changing many things but I wasn't able to direct it to correct folder. So I moved foam-extend-4.0 folder to /opt. After that, installation of foam-extend went well. I tried running one simulation from tutorials and it finished successfully.
If the problem is that I manually moved foam-extend folder to /opt and then install it there, do I need to unistall foam-extend first? How do I do that?
artymk4 is offline   Reply With Quote

Old   June 3, 2019, 16:57
Default
  #7
Member
 
Martin
Join Date: Aug 2018
Posts: 33
Rep Power: 7
artymk4 is on a distinguished road
I solved my problem. I'm not exactly sure what fixed the problem but one thing I changed is that I added alias for OpenFOAM 6 as well.
In .bashrc file I had alias fe40 only for foam-extend but for OpenFOAM 6 I had without alias. So it seems that Terminal was trying to source OF6's /etc/bashrc all the time.
So my .bashrc now contains:
Code:
alias of6='source /opt/openfoam6/etc/bashrc'
alias fe40='source /opt/foam-extend-4.0/etc/bashrc'
#comment: you may have foam-extend in other folder. Commonly that would be
Code:
alias fe40='source $HOME/foam/foam-extend-4.0/etc/bashrc'
What I did next is - I opened terminal inside the folder where I had swak4Foam downloaded according to instructions here (I downloaded swak according to 2.1. hg clone...)
Then I ran next 5 commands one after another:
Code:
fe40
./maintainanceScripts/compileRequirements.sh
./Allwclean
./Allwmake | tee log_Allwmake_firstRun
./Allwmake | tee log_Allwmake_secondRun
Lastly don't forget to put this at the top of your controlDict file for every foam-extend case where you want to use swak4Foam:
Code:
libs
(
	"libsimpleSwakFunctionObjects.so"
);
wyldckat and anaspauzi like this.
artymk4 is offline   Reply With Quote

Old   September 3, 2019, 18:00
Default
  #8
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 117
Rep Power: 10
dewey is on a distinguished road
I am trying to simulate mi case using fe40 and swak4Foam and I get this error:


--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type groovyBC)
on patch inlet of field U in file "/home/mapache/Documentos/aneurisma/coarse/0/U"
You are probably trying to solve for a field with a generic boundary condition.





those are my U and controlDict files


Somebody can help me please.
Attached Files
File Type: txt controlDict.txt (1.4 KB, 9 views)
File Type: txt U.txt (1.5 KB, 6 views)
dewey is offline   Reply With Quote

Old   September 4, 2019, 04:16
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by dewey View Post
I am trying to simulate mi case using fe40 and swak4Foam and I get this error:


--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type groovyBC)
on patch inlet of field U in file "/home/mapache/Documentos/aneurisma/coarse/0/U"
You are probably trying to solve for a field with a generic boundary condition.





those are my U and controlDict files


Somebody can help me please.

The libs-entry should be on the root-level of controlDict (not inside of functions)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   September 4, 2019, 12:29
Default
  #10
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 117
Rep Power: 10
dewey is on a distinguished road
Hello ,


(I'm running in fe40)

I did what you said and i get this:

Create time

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 124
could not load libgroovyBC.so: cannot open shared object file: No such file or directory
Create mesh for time = 0



And when I check mi log.make I got this:

Code:
Current OpenFOAM version is 4.0.
Previously compiled for OpenFOAM (4.0)

/home/mapache/foam/mapache-4.0/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
Swak version is 0.4.2
hg info: f71cfc465c71
Bison: /home/mapache/foam/mapache-4.0/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison is version 3.0.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/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswak4FoamParsers.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so' is up to date.
SOURCE=groovyBCFvPatchFields.C ;  g++-5 -m64 -Dlinux64 -DWM_DP -Wall  -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3   -DNoRepository -ftemplate-depth-200 -IMake/linux64GccDPOpt      -DFOAM_DEV          -I/home/mapache/foam/foam-extend-4.0/src/finiteVolume/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/surfMesh/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/sampling/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/meshTools/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/immersedBoundary/immersedBoundary/lnInclude      -I../swak4FoamParsers/lnInclude/ -IlnInclude -I.  -I/home/mapache/foam/foam-extend-4.0/src/foam/lnInclude  -I/home/mapache/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude    -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCFvPatchFields.o
In file included from groovyBCFvPatchFields.H:35:0,
                 from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.H:144:27: error: ‘>>’ should be ‘> >’ within a nested template argument list
     virtual tmp<Field<Type>> patchNeighbourField() const;
                           ^
In file included from groovyBCFvPatchField.H:166:0,
                 from groovyBCFvPatchFields.H:35,
                 from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.C:223:15: error: ‘>>’ should be ‘> >’ within a nested template argument list
 tmp<Field<Type>> groovyBCFvPatchField<Type>::patchNeighbourField() const
               ^
groovyBCFvPatchFields.dep:694: recipe for target 'Make/linux64GccDPOpt/groovyBCFvPatchFields.o' failed
make: *** [Make/linux64GccDPOpt/groovyBCFvPatchFields.o] Error 1
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSearchableSurfaces.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSwakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTopoSources.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMesh.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSourceFields.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFiniteArea.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakStateMachine.so' is up to date.
/usr/bin/ld: no se puede encontrar -lgroovyBC
collect2: error: ld returned 1 exit status
/home/mapache/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target   '/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so'  failed
make: *** [/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so] Error 1
No file 'swakConfiguration' in the top directory of the swak-sources. Language integrations probably won't work
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakGeneralLanguageIntegration.so' is up to date.

SWAK_PYTHON2_INCLUDE not defined .... no Python2-Integration. Most people are fine without it


SWAK_PYTHON3_INCLUDE not defined .... no Python3-Integration. Most people are fine without it


SWAK_LUA_LINK not defined .... no Lua-Integration. Most people are fine without it

'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakScriptableLagrangian.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMRFFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakQuantileFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRandomFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakShiftFieldFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakVelocityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFacSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/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


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

make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/calcNonUniformOffsetsForMapped' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/fieldReport' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyDoCalc' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetAreaFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetBoundaryField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetLagrangianField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyWarpMesh' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/replayTransientBC' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/writeBoundarySubfields' está actualizado.


 If you want to use swakCoded-function object or compile software based  on swak set the environment variable SWAK4FOAM_SRC to  /home/mapache/foam/mapache-4.0/swak4Foam/Libraries (most people will be  fine without setting that variable)
dewey is offline   Reply With Quote

Old   September 4, 2019, 16:01
Default
  #11
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by dewey View Post
Hello ,


(I'm running in fe40)

I did what you said and i get this:

Create time

--> FOAM Warning :
From function dlLibraryTable:pen(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 124
could not load libgroovyBC.so: cannot open shared object file: No such file or directory
Create mesh for time = 0



And when I check mi log.make I got this:

Code:
Current OpenFOAM version is 4.0.
Previously compiled for OpenFOAM (4.0)

/home/mapache/foam/mapache-4.0/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
Swak version is 0.4.2
hg info: f71cfc465c71
Bison: /home/mapache/foam/mapache-4.0/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison is version 3.0.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/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswak4FoamParsers.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianParser.so' is up to date.
SOURCE=groovyBCFvPatchFields.C ;  g++-5 -m64 -Dlinux64 -DWM_DP -Wall  -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3   -DNoRepository -ftemplate-depth-200 -IMake/linux64GccDPOpt      -DFOAM_DEV          -I/home/mapache/foam/foam-extend-4.0/src/finiteVolume/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/surfMesh/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/sampling/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/meshTools/lnInclude      -I/home/mapache/foam/foam-extend-4.0/src/immersedBoundary/immersedBoundary/lnInclude      -I../swak4FoamParsers/lnInclude/ -IlnInclude -I.  -I/home/mapache/foam/foam-extend-4.0/src/foam/lnInclude  -I/home/mapache/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude    -fPIC -c $SOURCE -o Make/linux64GccDPOpt/groovyBCFvPatchFields.o
In file included from groovyBCFvPatchFields.H:35:0,
                 from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.H:144:27: error: ‘>>’ should be ‘> >’ within a nested template argument list
     virtual tmp<Field<Type>> patchNeighbourField() const;
                           ^
In file included from groovyBCFvPatchField.H:166:0,
                 from groovyBCFvPatchFields.H:35,
                 from groovyBCFvPatchFields.C:34:
groovyBCFvPatchField.C:223:15: error: ‘>>’ should be ‘> >’ within a nested template argument list
 tmp<Field<Type>> groovyBCFvPatchField<Type>::patchNeighbourField() const
               ^
groovyBCFvPatchFields.dep:694: recipe for target 'Make/linux64GccDPOpt/groovyBCFvPatchFields.o' failed
make: *** [Make/linux64GccDPOpt/groovyBCFvPatchFields.o] Error 1
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSearchableSurfaces.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libsimpleSwakFunctionObjects.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTopoSources.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMesh.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSourceFields.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFiniteArea.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakStateMachine.so' is up to date.
/usr/bin/ld: no se puede encontrar -lgroovyBC
collect2: error: ld returned 1 exit status
/home/mapache/foam/foam-extend-4.0/wmake/Makefile:186: recipe for target   '/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so'  failed
make: *** [/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libgroovyStandardBCs.so] Error 1
No file 'swakConfiguration' in the top directory of the swak-sources. Language integrations probably won't work
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakGeneralLanguageIntegration.so' is up to date.

SWAK_PYTHON2_INCLUDE not defined .... no Python2-Integration. Most people are fine without it


SWAK_PYTHON3_INCLUDE not defined .... no Python3-Integration. Most people are fine without it


SWAK_LUA_LINK not defined .... no Lua-Integration. Most people are fine without it

'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakScriptableLagrangian.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakMRFFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakQuantileFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakRandomFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakShiftFieldFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakTransportTurbFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakVelocityFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/libswakFacSchemesFunctionPlugin.so' is up to date.
'/home/mapache/foam/mapache-4.0/lib/linux64GccDPOpt/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


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

make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/calcNonUniformOffsetsForMapped' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/fieldReport' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyDoCalc' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetAreaFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetBoundaryField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetLagrangianField' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkySetFields' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/funkyWarpMesh' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/replayTransientBC' está actualizado.
make[1]: '/home/mapache/foam/mapache-4.0/applications/bin/linux64GccDPOpt/writeBoundarySubfields' está actualizado.


 If you want to use swakCoded-function object or compile software based  on swak set the environment variable SWAK4FOAM_SRC to  /home/mapache/foam/mapache-4.0/swak4Foam/Libraries (most people will be  fine without setting that variable)

This is a problem with an older compiler. Those have problems with the >> at the end of a nested template (because this might be mistaken with the input-stream-operator). Do as the compiler message suggests: go to line 144 in groovyBCFvPatchField.H and insert a space between the >
Hope that fixes it
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   September 5, 2019, 17:00
Default
  #12
Senior Member
 
alberto
Join Date: Apr 2016
Location: Mexico
Posts: 117
Rep Power: 10
dewey is on a distinguished road
Thank you very much.



Modifying the groovyBCFvPatchField.H line 144 and groovyBCFvPatchField.C line 223 ">>" into "> >" solves the problem.
gschaider likes this.
dewey is offline   Reply With Quote

Old   September 6, 2019, 03:27
Default
  #13
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by dewey View Post
Thank you very much.



Modifying the groovyBCFvPatchField.H line 144 and groovyBCFvPatchField.C line 223 ">>" into "> >" solves the problem.

I will make the change in the development version
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
NO Moving Probes for Moving Mesh in Foam Extend 4.0 alia OpenFOAM Running, Solving & CFD 6 June 25, 2018 09:24
[foam-extend.org] Foam Extend 4.0 on MAC simone.rowing OpenFOAM Installation 1 July 2, 2017 15:23
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 07:08.