Can you disable solver output?
Hi all,
I was wondering if anyone knows a way to disable solver output to the terminal or log file? On the cluster I am using, the file system manager is the bottle neck in my simulation run times, write operations seem to hang when under load. Therefore I want to write to the file system as infrequently as possible. Since the code is writing time step files once every half hour or so I think this is mostly due to the solver output stream. I though about > /dev/null but I think this still writes to the file system. Any input is appreciated. Thanks, Chris |
Hi,
You can do something like this: Code:
mkdir -p $HOME/.OpenFOAM/$WM_PROJECT_VERSION Code:
... Code:
... |
Thanks Alexey,
This is exactly what I was looking for. In version 2.2.0 SolverPerformance 0; doesn't exist but if other variables are set to 0 it will run quietly. Chris |
Just for the sake of completeness: /dev/null does not write to the file system. It's a "special file" where the kernel reports a successful write but doesn't actually touch the disk at all. So it's pretty fast.
- Anton Quote:
|
All times are GMT -4. The time now is 04:23. |