Skip to content
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

try redirect python logs per rank to file excluding rank 0 #831

Open
PhilipDeegan opened this issue Apr 25, 2024 · 0 comments
Open

try redirect python logs per rank to file excluding rank 0 #831

PhilipDeegan opened this issue Apr 25, 2024 · 0 comments
Assignees

Comments

@PhilipDeegan
Copy link
Member

PhilipDeegan commented Apr 25, 2024

it can get pretty hectic in the command line with error messages from many ranks

so I suggest we do redirect most ranks (>0) to file, and if there's an earlier exit due to errors (on rank 0 or otherwise) we display a message like

Errors have been encountered, see files in $PWD/.log

logging the exit code might be an idea too

this is also good for docker, as if you detach from a docker container, and reattach later when the simulation is finished, you don't see any logs as the screen is cleared.

maybe there's some hdf5 (or similar) solution to minimize inodes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Do me  👋
Development

No branches or pull requests

1 participant