CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] complile v2006 with runTimePostProcessing functionality (https://www.cfd-online.com/Forums/openfoam-installation/228879-complile-v2006-runtimepostprocessing-functionality.html)

snak July 18, 2020 00:30

complile v2006 with runTimePostProcessing functionality
 
A runTimePostProcessing functionality is not available in precompiled packages of v1912 and v2006.

With OpenFOAM v1912 I successfully compiled the source code and the functionality works perfectly. What I did is here. [OS: Ubuntu 18.04]

I tried to compile v2006 with the same way as v1912. Compilation itself was finished without an error. However, the runTimePostProcessing function is not usable. What I did is explained in this link. [OS: Ubuntu 18.04]

The compilation creates the following three files for runTimePostProcessing library.
Code:

    librunTimePostProcessing.so
  librunTimePostProcessing.so.8
    librunTimePostProcessing.so.8.2.0

With v1912, these files are stored in `$WM_PROJECT_DIR/platforms/linux64GccDPInt32Opt/lib`.
With v2006, these files are stored in the one more deep depth directory `$WM_PROJECT_DIR/platforms/linux64GccDPInt32Opt/lib/lib`. There is an additional `lib`.

If I manually copy the three files into `$WM_PROJECT_DIR/platforms/linux64GccDPInt32Opt/lib`, runTimePostProcessing function works perfectly.

I would appreciate any advice to correctly compile the source code of v2006 with runTimePostProcess functionality enabled.

With v2006, `$WM_PROJECT_DIR/platforms/linux64GccDPInt32Opt/lib/lib`directories contains many files. I'm not sure these libraries works or not.

snak July 24, 2020 07:05

This problem is caused by "dash" used in Ubuntu. There are some related issues and solutions.

https://develop.openfoam.com/Develop.../-/issues/1782
https://develop.openfoam.com/Develop.../-/issues/1757
https://develop.openfoam.com/Develop.../-/issues/1541
https://develop.openfoam.com/Develop...on/-/issues/48
https://stackoverflow.com/questions/...m-makeparaview

snak August 1, 2020 08:08

Developers debugged the code with this commit.
https://develop.openfoam.com/modules...645ef0ffc90272


All times are GMT -4. The time now is 12:22.