-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esm_tools output in std out. #1220
Comments
It is indeed weird, some time ago I coded a stream for observe that will get the output from observe compute, and only write it when the simulation is finished. Somehow, that's broken now? Thanks for reporting. |
This has been like this for quite a while for me. Maybe half a year or more. Does that fit timeline wise? |
I don't know, other than the workflow manager, I don't know of another thing it could have changed that. Do you see that for all versions of FESOM right? |
Not just FESOM, here is an example from a standlone oifs 48r1 simulation: |
I can confirm this, and I think I also know where it is happening. We migrated logging to the We need to reconsider this, in particular I would in general like to overhaul the logging to make it cleaner between all the various tools. I am not sure when @mandresm or I will have time for that, though. |
Good point @pgierz! The good news is that it's probably really easy to solve :) Before using That took care of writing all the stdout/err of My feeling is that we can remove https://github.com/esm-tools/esm_tools/blob/release/src/esm_runscripts/logfiles.py, but we will need to configure loguru so that for @pgierz, can you take this issue under your wing? If that's the case please have a look at https://github.com/esm-tools/esm_tools/blob/release/src/esm_runscripts/logfiles.py, maybe you get some ideas from there into how to implement a similar behavior with |
the entry point for all of this is in the https://github.com/esm-tools/esm_tools/blob/release/src/esm_runscripts/sim_objects.py#L124 There one calls The https://github.com/esm-tools/esm_tools/blob/release/src/esm_runscripts/sim_objects.py#L156 |
I'll look into this... |
For some time now I find, that esm_tools output is written into stdout at model startup. To me this makes debugging model crashes harder, as unrelated monitoring info is interspersed. I am under the impression, that this output used to go somewhere else.
Here is an example:
The text was updated successfully, but these errors were encountered: