CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04 (https://www.cfd-online.com/Forums/openfoam-community-contributions/189716-problems-installing-swak4foam-foam-extend-4-0-ubuntu-16-04-a.html)

jock June 17, 2017 01:45

Problems installing swak4Foam in foam-extend-4.0 on Ubuntu 16.04
 
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

wyldckat June 25, 2017 11:08

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.

jock June 25, 2017 11:27

Thank you very much ,wyldckat

artymk4 May 17, 2019 20:32

1 Attachment(s)
Quote:

Originally Posted by wyldckat (Post 654792)
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.

wyldckat May 18, 2019 11:08

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?

artymk4 May 19, 2019 11:22

Quote:

Originally Posted by wyldckat (Post 734058)
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 June 3, 2019 16:57

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"
);


dewey September 3, 2019 18:00

2 Attachment(s)
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.

gschaider September 4, 2019 04:16

Quote:

Originally Posted by dewey (Post 743752)
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)

dewey September 4, 2019 12:29

Hello ,


(I'm running in fe40)

I did what you said and i get this:

Create time

--> FOAM Warning :
From function dlLibraryTable::open(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)


gschaider September 4, 2019 16:01

Quote:

Originally Posted by dewey (Post 743849)
Hello ,


(I'm running in fe40)

I did what you said and i get this:

Create time

--> FOAM Warning :
From function dlLibraryTable::open(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

dewey September 5, 2019 17:00

Thank you very much.



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

gschaider September 6, 2019 03:27

Quote:

Originally Posted by dewey (Post 743985)
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


All times are GMT -4. The time now is 03:18.