OpenFOAM12 call doesn't seem to be correct

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenFOAM12 call doesn't seem to be correct

emefff
Hello again,

I tried to replicate this basic example:

https://www.featool.com/doc/Fluid_Dynamics_09_turbulent_flow1

When I call the OpenFOAM solver, this is what I get as an answer:

"FOAM FATAL ERROR:
Invalid option: -dry-run

FOAM exiting"

which seems odd, because this option really does NOT exist.
My FOAM installation (https://openfoam.org/download/12-ubuntu/) is working, a basic example is running.

If you need any additional info, please let me know,

thanks,

emefff.

screenshot
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

emefff
I forgot the following: when I press the EDIT button, I get a similar error:



Any help appreciated, sorry for the large image, there's nothing readable in between,

thanks,

emefff.
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

Precise Simulation
Administrator
In reply to this post by emefff
From https://featool.com/doc/openfoam#openfoam_installation_nx

For Linux systems, please follow the installation instructions and recommended distributions available from the ESI-OpenCFD website (the latest OpenFOAM Foundation distributions (openfoam.org) are not recommended as significant incompatible changes in solvers have been made). Pre-compiled packages are available for several Linux distributions such as Debian, Ubuntu, SUSE, RedHat etc. Alternatively, the solver binaries can also be compiled from source.
Please try using the distribution from openfoam.com (not openfoam.org)


P.S. Your screenshots are kind of too low resolution to read anything from.<quote author="emefff">
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

emefff
Ok, I will try that, thanks. I overread that.

There's no option in between UHD and 750 pixels. UHD seems large, TBH (2nd image).

thanks,

emefff.
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

emefff
This post was updated on .
That seems to work, but I ran into another error with glibc:

screenshot

My version of glibc on the system seems newer than both of these. The new installation of openfoam2406 is running.

What can I do, thanks,

emefff
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

Precise Simulation
Administrator
Unfortunately, the glibc symbols linked by the current (Matlab MCR) toolbox runtime does not seem to be forwards compatible with that required by your installed OpenFOAM version. For this to work out of the box we will have to re-compile, build, and re-package the toolbox, which will happen at the next release at earliest (as changing base compilation systems will likely render old systems incompatible instead which also isn't good).

Potential workarounds for the moment are:

- Run the toolbox in an older Linux or Windows VM.

- Manually compile OpenFOAM statically (which I don't think is supported by the OpenFOAM build system, so a lot of hacking will be required).

- Hack/relink the glibc symbols/library.
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

emefff
Hello,

when will the next release be?

Workarounds:
- Run the toolbox in an older Linux or Windows VM.
Does not make sense to me because it will slow down FEATool considerably. I tried importing larger .stp, which are already quite slow, graphically.

- Manually compile OpenFOAM statically
I have absolutly no idea how to do that, would an older version than 2406 work? I can live with that, if it works.

- Hack/relink the glibc symbols/library.
What would I have to do? Is it just a minor number of 'ln -s ...' or 50 or 100 links? Would it affect other software on the system? I think it wouldn't?

Thanks,

emefff
Reply | Threaded
Open this post in threaded view
|

Re: OpenFOAM12 call doesn't seem to be correct

Precise Simulation
Administrator
emefff wrote
a solution to get the basic example running was just to copy both

libstdc++.so.6
libstdc++.so.6.0.33

from the system into the Matlab_Runtime/sys/os folder.
Thanks for posting the workaround.