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

Integrate ClimaComms logging updates #3532

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

nefrathenrici
Copy link
Member

@nefrathenrici nefrathenrici commented Jan 21, 2025

This PR tests out the latest logging features from ClimaComms, especially CliMA/ClimaComms.jl#104.

This adds a new config option log_to_file = true which will enable ClimaComms.FileLogger, a logger that outputs to stdout and saves logs to disk in output_active/output.log. As part of this, MPI simulations will have an additional folder output_active/logs storing the logs from each MPI process.

TODO: remove silence_non_root_processes, since this is also handled by ClimaComms now.

Logging.global_logger(logger)
end

if comms_ctx isa ClimaComms.SingletonCommsContext
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add device info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant