May 2, 2024, 14:19
|
|
#21
|
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10
|
Quote:
Originally Posted by dlahaye
It is hard for me to judge for me from a distance what is going on.
OpenFoam works with shared libraries https://en.wikipedia.org/wiki/Shared_library
It us therefore perfectly possible that the library compiles fine, but the executable (the solver) does not pick up the changes, simply because the solver continues to pick up the old (outdated, unmodified) libraries. This (in my very limited understanding) describe the scenario above.
My above suggestion is to find the executable, and to check which libraries are used to build the executable (the solver). The unix command ldd https://en.wikipedia.org/wiki/Ldd_(Unix) does precisely this.
An alternative approach might be to write a C++ program hello-world with a hello-master function in a library file. Not sure how this helps you (in case at all)?
Keep writing us here.
Good luck.
|
I'll put my solver here later...
|
|
|